aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Penant <matthieu.penant@seika.ca>2021-08-11 22:42:01 -0400
committerGitHub <noreply@github.com>2021-08-11 19:42:01 -0700
commit5dc6a9d2da386605ffea3a5c6a03c86b5b2ff0b4 (patch)
treea7e87c309bc4669386216cbdd96efd68b886b4c4
parent9b545e20a021bfb6b966a72642433fca80b11546 (diff)
downloadvcpkg-5dc6a9d2da386605ffea3a5c6a03c86b5b2ff0b4.tar.gz
vcpkg-5dc6a9d2da386605ffea3a5c6a03c86b5b2ff0b4.zip
[bshoshany-thread-pool] add a new port (1.9) (#19470)
* [bshoshany-thread-pool] new port * formatting vcpkg.json * update version file * baseline update based on bot comments * Update ports/bshoshany-thread-pool/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/bshoshany-thread-pool/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update bshoshany-thread-pool.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
-rw-r--r--ports/bshoshany-thread-pool/portfile.cmake19
-rw-r--r--ports/bshoshany-thread-pool/vcpkg.json6
-rw-r--r--versions/b-/bshoshany-thread-pool.json9
-rw-r--r--versions/baseline.json4
4 files changed, 38 insertions, 0 deletions
diff --git a/ports/bshoshany-thread-pool/portfile.cmake b/ports/bshoshany-thread-pool/portfile.cmake
new file mode 100644
index 000000000..4c45e8f9c
--- /dev/null
+++ b/ports/bshoshany-thread-pool/portfile.cmake
@@ -0,0 +1,19 @@
+#header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO bshoshany/thread-pool
+ REF v1.9
+ SHA512 d87c67218a5373181332caa53aa611b79345df56fe2ba1452dbd552ef43fdeecbf2f6347f86c4730423c1545b4dc45524a4737949359cdda5ff911ce647eb8f4
+ HEAD_REF master
+)
+
+# Install headers (header-only):
+file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/*.hpp")
+file(INSTALL
+ "${HEADER_FILES}"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include"
+
+)
+
+# Handle copyright
+file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/bshoshany-thread-pool/vcpkg.json b/ports/bshoshany-thread-pool/vcpkg.json
new file mode 100644
index 000000000..4982a910c
--- /dev/null
+++ b/ports/bshoshany-thread-pool/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "bshoshany-thread-pool",
+ "version": "1.9",
+ "description": "A C++17 Thread Pool for High-Performance Scientific Computing",
+ "homepage": "https://github.com/bshoshany/thread-pool"
+}
diff --git a/versions/b-/bshoshany-thread-pool.json b/versions/b-/bshoshany-thread-pool.json
new file mode 100644
index 000000000..6c5ef150c
--- /dev/null
+++ b/versions/b-/bshoshany-thread-pool.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "4ec35ab1086df444d30b05ff49cf2a66c21ebd52",
+ "version": "1.9",
+ "port-version": 0
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index f083492c0..02fa424c7 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -1076,6 +1076,10 @@
"baseline": "1.11.0",
"port-version": 0
},
+ "bshoshany-thread-pool": {
+ "baseline": "1.9",
+ "port-version": 0
+ },
"bsio": {
"baseline": "1.0.0",
"port-version": 0