mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[cuda-api-wrappers] Update to 0.6.7 (#36145)
* [cuda-api-wrappers] Update to 0.6.7 * remove vcpkg_fixup_pkgconfig()
This commit is contained in:
parent
c268e9fc37
commit
67e366d850
@ -2,28 +2,17 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO eyalroz/cuda-api-wrappers
|
||||
REF "v${VERSION}"
|
||||
SHA512 4bc095513ed1a40f7239810abf7f6edcfde5471a89de8cf27a76038f6a54f6234542693bb606cc5e389403f3d12cb186b5a9cfb31c2bf3e437c112d215fb872d
|
||||
SHA512 71170b59a116a886c319f6409204d610636a16148754a9811a8c608912b14c09f5f9037b9366c2d0a012c3fd88b5c90d289ce3da692663f1a86f3c3f2bbd7b02
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# head only library
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
|
||||
# cuda toolkit check
|
||||
vcpkg_find_cuda(OUT_CUDA_TOOLKIT_ROOT CUDA_TOOLKIT_ROOT)
|
||||
message(STATUS "CUDA_TOOLKIT_ROOT ${CUDA_TOOLKIT_ROOT}")
|
||||
|
||||
# nvcc compiler path
|
||||
set(CMAKE_CUDA_COMPILER "${CUDA_TOOLKIT_ROOT}/bin/nvcc${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
||||
|
||||
set(CUDA_ARCHITECTURES "native")
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCAW_BUILD_EXAMPLES=OFF
|
||||
"-DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCHITECTURES}"
|
||||
"-DCMAKE_CUDA_COMPILER=${CMAKE_CUDA_COMPILER}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
@ -34,5 +23,3 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "cuda-api-wrappers",
|
||||
"version": "0.6.6",
|
||||
"version": "0.6.7",
|
||||
"description": "header-only library of integrated wrappers around the core parts of NVIDIA's CUDA execution ecosystem",
|
||||
"homepage": "https://github.com/eyalroz/cuda-api-wrappers",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
"cuda",
|
||||
|
@ -2025,7 +2025,7 @@
|
||||
"port-version": 13
|
||||
},
|
||||
"cuda-api-wrappers": {
|
||||
"baseline": "0.6.6",
|
||||
"baseline": "0.6.7",
|
||||
"port-version": 0
|
||||
},
|
||||
"cudnn": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7a504ca0e13729c26c4df96ba5b7a321069219be",
|
||||
"version": "0.6.7",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "f31ca06768d00b72f8387dce98f3a8d2d867cfcb",
|
||||
"version": "0.6.6",
|
||||
|
Loading…
x
Reference in New Issue
Block a user