Create xmake.lua (#755)
parent
0402113f4f
commit
a4a21b7298
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
package("simde") |
||||
|
||||
set_kind("library", {headeronly = true}) |
||||
set_homepage("simd-everywhere.github.io/blog/") |
||||
set_description("Implementations of SIMD instruction sets for systems which don't natively support them.") |
||||
|
||||
set_urls("https://github.com/simd-everywhere/simde/releases/download/v$(version)/simde-amalgamated-$(version).tar.xz") |
||||
|
||||
add_versions("0.7.2", "544c8aac764f0e24e444b1a7842d0314fa0231802d3b1b2020a03677b5be6142") |
||||
|
||||
on_install(function (package) |
||||
os.cp("*", package:installdir("include")) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_cincludes("x86/sse.h")) |
||||
assert(package:has_cincludes("arm/neon.h")) |
||||
end) |
Loading…
Reference in new issue