Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Mar 6, 2024
1 parent 09d0ee5 commit d225df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/g/ginkgo/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package("ginkgo")
-- TODO: add hip and sycl
end)

on_install("windows|!x86", "macosx", "linux", function (package)
on_install("windows|x64", "windows|arm64", "macosx", "linux", function (package)
local configs = {"-DGINKGO_BUILD_TESTS=OFF", "-DGINKGO_BUILD_EXAMPLES=OFF", "-DGINKGO_BUILD_BENCHMARKS=OFF", "-DGINKGO_BUILD_REFERENCE=ON", "-DGINKGO_BUILD_MPI=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
Expand Down

0 comments on commit d225df1

Please sign in to comment.