aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/atomic-queue
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/atomic-queue
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/atomic-queue')
-rw-r--r--vcpkg/ports/atomic-queue/portfile.cmake22
-rw-r--r--vcpkg/ports/atomic-queue/vcpkg.json7
2 files changed, 29 insertions, 0 deletions
diff --git a/vcpkg/ports/atomic-queue/portfile.cmake b/vcpkg/ports/atomic-queue/portfile.cmake
new file mode 100644
index 0000000..e22d8da
--- /dev/null
+++ b/vcpkg/ports/atomic-queue/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO max0x7ba/atomic_queue
+ REF "v${VERSION}"
+ SHA512 94dcb32fa812b684e1d713b860e5f22f053a3e9f39aa619ca217cfbc0b88643b0ccf87c0a6016eb929f5766d3bf2d046c6d4dbeb128d96f7e29437a95331301c
+ HEAD_REF master
+)
+
+set(VCPKG_BUILD_TYPE release) # header-only port
+
+file(
+ COPY
+ "${SOURCE_PATH}/include/atomic_queue/atomic_queue.h"
+ "${SOURCE_PATH}/include/atomic_queue/atomic_queue_mutex.h"
+ "${SOURCE_PATH}/include/atomic_queue/barrier.h"
+ "${SOURCE_PATH}/include/atomic_queue/defs.h"
+ "${SOURCE_PATH}/include/atomic_queue/spinlock.h"
+ DESTINATION
+ "${CURRENT_PACKAGES_DIR}/include/atomic_queue"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/atomic-queue/vcpkg.json b/vcpkg/ports/atomic-queue/vcpkg.json
new file mode 100644
index 0000000..aec7b40
--- /dev/null
+++ b/vcpkg/ports/atomic-queue/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "atomic-queue",
+ "version": "1.7.1",
+ "description": "Minimalistic header-only thread-safe ultra-low-latency multiple-producer-multiple-consumer lockless queues based on circular buffer with std::atomic.",
+ "homepage": "https://github.com/max0x7ba/atomic_queue",
+ "license": "MIT"
+}