add numactl (#578)
* update eigen * improve meson * update libxml2 * improve glfw * improve attr * add numactlpull/580/head
parent
df6cad5cf5
commit
5ff67da583
6 changed files with 44 additions and 17 deletions
@ -0,0 +1,18 @@ |
||||
package("numactl") |
||||
|
||||
set_homepage("https://github.com/numactl/numactl") |
||||
set_description("NUMA support for Linux") |
||||
set_license("LGPL-2.1") |
||||
|
||||
add_urls("https://github.com/numactl/numactl/releases/download/v$(version)/numactl-$(version).tar.gz") |
||||
add_versions("2.0.14", "826bd148c1b6231e1284e42a4db510207747484b112aee25ed6b1078756bcff6") |
||||
|
||||
on_install("linux", function (package) |
||||
import("package.tools.autoconf").install(package) |
||||
package:addenv("PATH", "bin") |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
os.vrun("numactl -H") |
||||
assert(package:has_cfuncs("numa_available", {includes = "numa.h"})) |
||||
end) |
Loading…
Reference in new issue