Skip to content

Commit

Permalink
Updated cuda-api-wrappers recipe:
Browse files Browse the repository at this point in the history
* Removed 0.7 beta versions
* Added versions 0.7.0, 0.7.1 and 0.8.0
* fixed a mistype in the test package `CMakeLists.txt`
  • Loading branch information
eyalroz committed Dec 24, 2024
1 parent 4622ac8 commit 8f8353e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
15 changes: 9 additions & 6 deletions recipes/cuda-api-wrappers/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
sources:
"0.7.0-b2":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.7.0-b2.tar.gz"
sha256: "9439cb2250dd3045a05d43c4ca66b5d49535eeba123b05a2e49169354fdb3123"
"0.7-b1":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/0.7b1.tar.gz"
sha256: "1ed5912d8f602ccd176865b824de17f462cb57142eb2a685d7cc034831e54a71"
"0.8.0":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.8.0.tar.gz"
sha256: "16c68e450e553d2839f00503a44e85b32c4f4e08f154e9f7c85f706bc5c79bf3"
"0.7.1":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.7.1.tar.gz"
sha256: "fa30c9fe43a62f5a3fd82a5deb477838fbf0bf455c73a2d2bb5ab6284184900b"
"0.7.0":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.7.0.tar.gz"
sha256: "a47d11607ffa0c41cfffe689840a14125520da3f4bb504267e9d232ebb846457"
"0.6.8":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.6.8.tar.gz"
sha256: "a0d1b062dbe41c99d06df4ae7885a053c2ae3815d6fe12df0458bc5277d08ed7"
Expand Down
4 changes: 2 additions & 2 deletions recipes/cuda-api-wrappers/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.25)
project(test_package LANGUAGES CXX)

find_package(cuda-api-wrappers REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE cuda-api-wrappers::cuda-api-wrappers)
target_link_libraries(${PROJECT_NAME} PRIVATE cuda-api-wrappers::runtime-and-driver)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11)
target_compile_definitions(${PROJECT_NAME} PRIVATE
CUDA_API_WRAPPERS_VERSION=\"${cuda-api-wrappers_VERSION_STRING}\")
4 changes: 4 additions & 0 deletions recipes/cuda-api-wrappers/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
versions:
"0.8.0":
folder: all
"0.7.1":
folder: all
"0.7.0-b2":
folder: all
"0.7-b1":
Expand Down

0 comments on commit 8f8353e

Please sign in to comment.