Create xmake.lua (#755)

pull/757/head
ruki 3 years ago committed by GitHub
parent 0402113f4f
commit a4a21b7298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      packages/s/simde/xmake.lua

@ -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…
Cancel
Save