Skip to content

Commit

Permalink
disable arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Sep 28, 2024
1 parent dcc357b commit ddded60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/s/superlu/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ package("superlu")

add_configs("blas", {description = "Choose BLAS library to use.", default = "openblas", type = "string", values = {"mkl", "openblas"}})

on_load("windows", "linux", "macosx", function (package)
on_load("windows|!arm64", "linux", "macosx", function (package)
package:add("deps", package:config("blas"))
end)

on_install("windows", "linux", "macosx", function (package)
on_install("windows|!arm64", "linux", "macosx", function (package)
os.cd("SRC")
if package:version():ge("7.0.0") then
io.replace("superlu_config.h", "#define HAVE_METIS TRUE", "", {plain = true})
Expand Down

0 comments on commit ddded60

Please sign in to comment.