aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libcuckoo
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libcuckoo
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libcuckoo')
-rw-r--r--vcpkg/ports/libcuckoo/portfile.cmake26
-rw-r--r--vcpkg/ports/libcuckoo/vcpkg.json17
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/libcuckoo/portfile.cmake b/vcpkg/ports/libcuckoo/portfile.cmake
new file mode 100644
index 0000000..0d4e987
--- /dev/null
+++ b/vcpkg/ports/libcuckoo/portfile.cmake
@@ -0,0 +1,26 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO efficient/libcuckoo
+ REF ea8c36c65bf9cf83aaf6b0db971248c6ae3686cf
+ SHA512 5c36ebf6047afb3fa980049dc2e38b8e34443d40cff7ba9b7ee1fa8b78ff3dd92b2d0a346667a71eec6d0bfc917b3080c883146f97681f20f71ce618eac3f37f
+ HEAD_REF master
+)
+
+# header-only library
+set(VCPKG_BUILD_TYPE release)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_EXAMPLES=OFF
+ -DBUILD_TESTS=OFF
+ -DBUILD_STRESS_TESTS=OFF
+ -DBUILD_UNIT_TESTS=OFF
+ -DBUILD_UNIVERSAL_BENCHMARK=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/${PORT})
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/libcuckoo/vcpkg.json b/vcpkg/ports/libcuckoo/vcpkg.json
new file mode 100644
index 0000000..bdec461
--- /dev/null
+++ b/vcpkg/ports/libcuckoo/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "libcuckoo",
+ "version": "0.3.1",
+ "description": "A high-performance, concurrent hash table",
+ "homepage": "https://github.com/efficient/libcuckoo",
+ "license": "Apache-2.0",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}