Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cuda and cudf to link targets for C++ examples #1777

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading