package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
862 B

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.8.2", "59068edc3420e75c5ff85ecfd80a77196fb3a151227a666cc20abb313a5360bf")
add_versions("0.7.2", "544c8aac764f0e24e444b1a7842d0314fa0231802d3b1b2020a03677b5be6142")
on_install("windows|x86", "windows|x64", "macosx", "linux", "mingw", "iphoneos", "bsd", "wasm", 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)