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.
 
 
 

21 lines
723 B

package("meowhash")
set_kind("library", {headeronly = true})
set_homepage("https://mollyrocket.com/meowhash")
set_description("Official version of the Meow hash, an extremely fast level 1 hash")
add_urls("https://github.com/cmuratori/meow_hash.git")
add_versions("1.0.0", "b080caa7e51576fe3151c8976110df7966fa6a38")
if is_plat("linux", "macosx", "bsd") then
add_cxflags("-maes", "-mpclmul", "-mssse3")
end
on_install("macosx", "windows", "linux", "bsd", function (package)
os.cp("meow_hash_x64_aesni.h", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cfuncs("MeowHash", {includes = "meow_hash_x64_aesni.h"}))
end)