Skip to content

Commit

Permalink
Limit the platform to Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahahbenny committed Sep 22, 2024
1 parent 77d658b commit c49e45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/l/lapack/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package("lapack")

add_links("cblas", "blas", "lapack", "lapacke")

on_install(function (package)
on_install("linux", function (package)
local configs = {"-DLAPACKE=ON", "-DBUILD_TESTING=OFF", "-DCBLAS=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
Expand Down

0 comments on commit c49e45c

Please sign in to comment.