aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>2021-04-24 06:26:16 +0800
committerGitHub <noreply@github.com>2021-04-23 15:26:16 -0700
commitbb0b48e4ce3bc0dbb01f849e4d491ec1e2d751fd (patch)
treee51e116530eb05891a616df0ac4e05816209abd2 /ports
parent99987d007a5f43ce1d67d0c94c146df195297ee6 (diff)
downloadvcpkg-bb0b48e4ce3bc0dbb01f849e4d491ec1e2d751fd.tar.gz
vcpkg-bb0b48e4ce3bc0dbb01f849e4d491ec1e2d751fd.zip
[cub] update to 1.12.0 (#17355)
* [cub] update to 1.12.0 * update version
Diffstat (limited to 'ports')
-rw-r--r--ports/cub/CONTROL4
-rw-r--r--ports/cub/portfile.cmake6
-rw-r--r--ports/cub/vcpkg.json9
3 files changed, 12 insertions, 7 deletions
diff --git a/ports/cub/CONTROL b/ports/cub/CONTROL
deleted file mode 100644
index eb708a84a..000000000
--- a/ports/cub/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: cub
-Version: 1.8.0-1
-Description: CUB is a flexible library of cooperative threadblock primitives and other utilities for CUDA kernel programming
-Build-Depends: cuda
diff --git a/ports/cub/portfile.cmake b/ports/cub/portfile.cmake
index 9d9416f27..d15c623f8 100644
--- a/ports/cub/portfile.cmake
+++ b/ports/cub/portfile.cmake
@@ -1,11 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO NVlabs/cub
- REF v1.8.0
- SHA512 c4ba51ca4e369c8ef87bc411aa011470478fcc2526b667f088e9ac8c62e6532dc2368e869f5147b56f22b3e8718c7276434c3294d9d67cb3a92c700d163e8fa7
+ REF 7cdf6dfc7ed60e4f44d025b84ea8260755f298e6 #v1.12.0
+ SHA512 aff3ba375a33844efdc57f8ba190e8880db6247bc1245340b2fe87f8933d3abfcbc7dcdffffd45cf00db4981cd2e37029061fca7161554a4c7c779a7d414aada
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/cub/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/cub)
-configure_file(${SOURCE_PATH}/LICENSE.TXT ${CURRENT_PACKAGES_DIR}/share/cub/copyright COPYONLY)
+configure_file(${SOURCE_PATH}/LICENSE.TXT ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
diff --git a/ports/cub/vcpkg.json b/ports/cub/vcpkg.json
new file mode 100644
index 000000000..85f29e6fb
--- /dev/null
+++ b/ports/cub/vcpkg.json
@@ -0,0 +1,9 @@
+{
+ "name": "cub",
+ "version": "1.12.0",
+ "description": "CUB is a flexible library of cooperative threadblock primitives and other utilities for CUDA kernel programming",
+ "homepage": "https://github.com/NVIDIA/cub",
+ "dependencies": [
+ "cuda"
+ ]
+}