Skip to content

Commit

Permalink
Add cuda and cudf to link targets
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Jun 28, 2024
1 parent 59109fe commit 4d35c0f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/developer_guide/3_simple_cpp_stage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mark_as_advanced(MORPHEUS_CACHE_DIR)
list(PREPEND CMAKE_PREFIX_PATH "$ENV{CONDA_PREFIX}")

project(3_simple_cpp_stage
VERSION 24.03.00
VERSION 24.06.00
LANGUAGES C CXX
)

Expand All @@ -48,6 +48,7 @@ rapids_cpm_init()
morpheus_utils_python_configure()

rapids_find_package(CUDAToolkit REQUIRED)
rapids_find_package(cudf REQUIRED)

set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ morpheus_add_pybind11_module(pass_thru_cpp
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
LINK_TARGETS
morpheus
CUDA::nvtx3
cudf::cudf
)

list(POP_BACK CMAKE_MESSAGE_CONTEXT)
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ list(PREPEND CMAKE_PREFIX_PATH "$ENV{CONDA_PREFIX}")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

project(4_rabbitmq_cpp_stage
VERSION 24.03.00
VERSION 24.06.00
LANGUAGES C CXX
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
list(APPEND CMAKE_MESSAGE_CONTEXT "dep")

rapids_find_package(CUDAToolkit REQUIRED)
rapids_find_package(cudf REQUIRED)

set(RABBITMQ_VERSION "0.12.0" CACHE STRING "Version of RabbitMQ-C to use")
include(Configure_rabbitmq)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ morpheus_add_pybind11_module(rabbitmq_cpp_stage
${SimpleAmqpClient_SOURCE_DIR}/src
LINK_TARGETS
morpheus
CUDA::nvtx3
cudf::cudf
rabbitmq
SimpleAmqpClient
)
Expand Down

0 comments on commit 4d35c0f

Please sign in to comment.