Przeglądaj źródła

add bght (#3465)

* add bght

* do not use cmake

* make it pass
Hoildkv 1 rok temu
rodzic
commit
d5814ee6e1
1 zmienionych plików z 17 dodań i 0 usunięć
  1. 17 0
      packages/b/bght/xmake.lua

+ 17 - 0
packages/b/bght/xmake.lua

@@ -0,0 +1,17 @@
+package("bght")
+
+    set_kind("library", {headeronly = true})
+    set_homepage("https://owensgroup.github.io/BGHT/")
+    set_description("BGHT: Better GPU Hash Tables")
+    set_license("Apache-2.0")
+
+    add_urls("https://github.com/owensgroup/BGHT.git")
+    add_versions("2024.03.06", "fd58966b20f76c7cd1aa1bdae58e28f6e3a7d242")
+
+    on_install(function (package)
+        os.cp("include/bght", package:installdir("include"))
+    end)
+
+    on_test(function (package)
+        assert(os.isfile(path.join(package:installdir("include"), "bght", "bcht.hpp")))
+    end)