Skip to content

Commit

Permalink
Updating build to work with new packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemoret-nv committed Aug 16, 2024
1 parent 472f0b9 commit 03ee92a
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 18 deletions.
6 changes: 3 additions & 3 deletions ci/conda/recipes/morpheus/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
# limitations under the License.

c_compiler_version:
- 11.2
- 12.1

cxx_compiler_version:
- 11.2
- 12.1

cuda_compiler:
- cuda-nvcc

cuda_compiler_version:
- 12.1
- 12.5

python:
- 3.10
Expand Down
4 changes: 2 additions & 2 deletions ci/conda/recipes/morpheus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ outputs:
- libtool # Needed for DOCA build
- ninja =1.11
- pkg-config =0.29 # for mrc cmake
- sysroot_linux-64 =2.17
- sysroot_linux-64 =2.28
host:
# CUDA dependencies
- cuda-cudart-dev {{ cuda_compiler_version }}.*
Expand All @@ -68,7 +68,7 @@ outputs:
# Non-CUDA dependencies
- cudf {{ rapids_version }}
- cython 3.0.*
- glog 0.6.*
- glog >=0.7.1,<8
- libcudf {{ rapids_version }}
- librdkafka >=1.9.2,<1.10.0a0
- mrc {{ minor_version }}
Expand Down
6 changes: 3 additions & 3 deletions conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ dependencies:
- exhale=0.3.6
- feedparser=6.0
- flake8
- gcc_linux-64=11.2
- git-lfs
- glog>=0.7.1,<0.8
- grpcio
- grpcio-status
- gxx_linux-64=11.2
- gtest=1.14
- gxx=12.1
- huggingface_hub=0.20.2
- include-what-you-use=0.20
- ipython
Expand Down Expand Up @@ -105,7 +105,7 @@ dependencies:
- sphinx
- sphinx_rtd_theme
- sqlalchemy<2.0
- sysroot_linux-64=2.17
- sysroot_linux-64>=2.28
- tqdm=4
- transformers=4.36.2
- tritonclient=2.34
Expand Down
6 changes: 3 additions & 3 deletions conda/environments/dev_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ dependencies:
- exhale=0.3.6
- feedparser=6.0
- flake8
- gcc_linux-64=11.2
- git-lfs
- glog>=0.7.1,<0.8
- grpcio
- grpcio-status
- gxx_linux-64=11.2
- gtest=1.14
- gxx=12.1
- include-what-you-use=0.20
- ipython
- isort
Expand Down Expand Up @@ -86,7 +86,7 @@ dependencies:
- sphinx
- sphinx_rtd_theme
- sqlalchemy<2.0
- sysroot_linux-64=2.17
- sysroot_linux-64>=2.28
- tqdm=4
- tritonclient=2.34
- typing_utils=0.1
Expand Down
8 changes: 4 additions & 4 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ dependencies:
# Compilers
- cuda-nvcc=12.5
- cxx-compiler
- gcc_linux-64=11.2
- gxx_linux-64=11.2
- gxx=12.1

# Non-Compiler Dependencies
- automake=1.16.5 # Needed for DOCA build
Expand All @@ -242,7 +241,7 @@ dependencies:
- libtool # Needed for DOCA build
- ninja=1.11
- pkg-config=0.29 # for mrc cmake
- sysroot_linux-64=2.17
- sysroot_linux-64>=2.28

# Build dependencies for Morpheus on the host arch. Mirrors the `host` section in
# ci/conda/recipes/morpheus/meta.yaml
Expand All @@ -254,16 +253,17 @@ dependencies:
- cudf=24.06
- cython=3.0
- glog>=0.7.1,<0.8
- gtest=1.14
- libcudf=24.06
- librdkafka>=1.9.2,<1.10.0a0
- libzlib >=1.3.1,<2
- mrc=24.10
- nlohmann_json=3.11
- pybind11-stubgen=0.10.5
- rapidjson=1.1.0
- rdma-core>=48 # Needed for DOCA.
- scikit-build=0.17.6
- versioneer-518
- libzlib >=1.3.1,<2

checks:
common:
Expand Down
3 changes: 2 additions & 1 deletion python/morpheus/morpheus/_lib/cmake/libmorpheus.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ target_link_libraries(morpheus
$<$<CONFIG:Debug>:ZLIB::ZLIB>
PUBLIC
$<TARGET_NAME_IF_EXISTS:conda_env>
cudf::cudf
CUDA::nvtx3
cudf::cudf
glog::glog
mrc::pymrc
RDKAFKA::RDKAFKA
TritonClient::httpclient_static
Expand Down
1 change: 1 addition & 0 deletions python/morpheus/morpheus/_lib/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ add_executable(test_cuda

target_link_libraries(test_cuda
PRIVATE
glog::glog
GTest::gtest
GTest::gtest_main
matx::matx
Expand Down
1 change: 0 additions & 1 deletion tests/_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import numpy as np
import pytest

from morpheus.io.deserializers import read_file_to_df

from .test_directories import TestDirectories
Expand Down

0 comments on commit 03ee92a

Please sign in to comment.