diff options
| author | Phil Christensen <philc@microsoft.com> | 2018-11-14 14:42:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-14 14:42:57 -0800 |
| commit | 1fe90f532630d6e24fa6fa435d9bb4ff9e377782 (patch) | |
| tree | 0c1fea8f99c97490eaae3c2207006affafe06998 | |
| parent | 0b5854ad07261eb32e295f475fd471753ad9d8ce (diff) | |
| parent | caa3f2c36f2cdff6aedec25136415afc61771821 (diff) | |
| download | vcpkg-1fe90f532630d6e24fa6fa435d9bb4ff9e377782.tar.gz vcpkg-1fe90f532630d6e24fa6fa435d9bb4ff9e377782.zip | |
Merge pull request #4697 from MarkIanHolland/cub
[cub] Initial port
| -rw-r--r-- | ports/cub/CONTROL | 4 | ||||
| -rw-r--r-- | ports/cub/portfile.cmake | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ports/cub/CONTROL b/ports/cub/CONTROL new file mode 100644 index 000000000..7c62c25a2 --- /dev/null +++ b/ports/cub/CONTROL @@ -0,0 +1,4 @@ +Source: cub +Version: 1.8.0 +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 new file mode 100644 index 000000000..302bfb706 --- /dev/null +++ b/ports/cub/portfile.cmake @@ -0,0 +1,12 @@ +include(vcpkg_common_functions) +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO NVlabs/cub + REF v1.8.0 + SHA512 c4ba51ca4e369c8ef87bc411aa011470478fcc2526b667f088e9ac8c62e6532dc2368e869f5147b56f22b3e8718c7276434c3294d9d67cb3a92c700d163e8fa7 + 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) |
