Skip to content

Commit

Permalink
Use conda compilers
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Mar 2, 2022
1 parent 7436a04 commit f81c62a
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 38 deletions.
18 changes: 11 additions & 7 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,29 @@ build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL

requirements:
build:
- python x.x
- {{ compiler('c') }} 9
- {{ compiler('cxx') }} 9
- sysroot_linux-64 2.17 # [linux64]
- sysroot_linux-aarch64 2.17 # [aarch64]
- nvcc_linux-64 {{ cuda_version }} # [linux64]
- nvcc_linux-aarch64 {{ cuda_version }} # [aarch64]
host:
- python
- cython>=0.29,<0.30
- libcugraph={{ version }}
- libraft-headers {{ minor_version }}
- pyraft {{ minor_version }}
- cudf={{ minor_version }}
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- cudatoolkit {{ cuda_version }}.*
- cudatoolkit {{ cuda_version }}
- libraft-headers {{ minor_version }}
run:
- python x.x
- python
- libcugraph={{ version }}
- libraft-headers {{ minor_version }}
- pyraft {{ minor_version }}
Expand All @@ -53,7 +57,7 @@ requirements:

tests: # [linux64]
requirements: # [linux64]
- cudatoolkit {{ cuda_version }}.* # [linux64]
- cudatoolkit {{ cuda_version }} # [linux64]
imports: # [linux64]
- cugraph # [linux64]

Expand Down
30 changes: 17 additions & 13 deletions conda/recipes/libcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,46 @@ build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL
- VERSION_SUFFIX
- CMAKE_GENERATOR
- CMAKE_C_COMPILER_LAUNCHER
- CMAKE_CXX_COMPILER_LAUNCHER
- CMAKE_CUDA_COMPILER_LAUNCHER
- SCCACHE_S3_KEY_PREFIX=libcugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-linux64 # [linux64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-aarch64-conda-comp # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-linux64-conda-comp # [linux64]
- SCCACHE_BUCKET=rapids-sccache
- SCCACHE_REGION=us-west-2
- SCCACHE_IDLE_TIMEOUT=32768
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]

requirements:
build:
- cmake>=3.20.1
- doxygen>=1.8.11
- cudatoolkit {{ cuda_version }}.*
- {{ compiler('c') }} 9
- {{ compiler('cxx') }} 9
- nvcc_linux-64 {{ cuda_version }} # [linux64]
- nvcc_linux-aarch64 {{ cuda_version }} # [aarch64]
- sysroot_linux-64 2.17 # [linux64]
- sysroot_linux-aarch64 2.17 # [aarch64]
host:
- cudatoolkit {{ cuda_version }}
- libraft-headers {{ minor_version }}
- libcugraphops {{ minor_version }}.*
- librmm {{ minor_version }}.*
- cudf {{ minor_version }}.*
- libcugraphops {{ minor_version }}
- librmm {{ minor_version }}
- cudf {{ minor_version }}
- boost-cpp>=1.66
- nccl>=2.9.9
- ucx-proc=*=gpu
- gtest
- gmock
run:
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
- libraft-headers {{ minor_version }}
- librmm {{ minor_version }}
- nccl>=2.9.9
- ucx-proc=*=gpu
- libcugraphops {{ minor_version }}.*
- libcugraphops {{ minor_version }}
- libcusolver>=11.2.1

about:
Expand Down
24 changes: 14 additions & 10 deletions conda/recipes/libcugraph_etl/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,14 @@ build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL
- VERSION_SUFFIX
- CMAKE_GENERATOR
- CMAKE_C_COMPILER_LAUNCHER
- CMAKE_CXX_COMPILER_LAUNCHER
- CMAKE_CUDA_COMPILER_LAUNCHER
- SCCACHE_S3_KEY_PREFIX=libcugraph-etl-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-etl-linux64 # [linux64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-etl-aarch64-conda-comp # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-etl-linux64-conda-comp # [linux64]
- SCCACHE_BUCKET=rapids-sccache
- SCCACHE_REGION=us-west-2
- SCCACHE_IDLE_TIMEOUT=32768
Expand All @@ -36,14 +33,21 @@ requirements:
build:
- cmake>=3.20.1
- doxygen>=1.8.11
- cudatoolkit {{ cuda_version }}.*
- libcudf {{ minor_version }}.*
- libcugraph {{ minor_version }}.*
- {{ compiler('c') }} 9
- {{ compiler('cxx') }} 9
- nvcc_linux-64 {{ cuda_version }} # [linux64]
- nvcc_linux-aarch64 {{ cuda_version }} # [aarch64]
- sysroot_linux-64 2.17 # [linux64]
- sysroot_linux-aarch64 2.17 # [aarch64]
host:
- cudatoolkit {{ cuda_version }}
- libcudf {{ minor_version }}
- libcugraph {{ minor_version }}
- libraft-headers {{ minor_version }}
run:
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
- libcudf {{ minor_version }}.*
- libcugraph {{ minor_version }}.*
- libcudf {{ minor_version }}
- libcugraph {{ minor_version }}
- libraft-headers {{ minor_version }}
- librmm {{ minor_version }}

Expand Down
23 changes: 15 additions & 8 deletions conda/recipes/pylibcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,37 @@ build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]

requirements:
build:
- python x.x
- {{ compiler('c') }} 9
- {{ compiler('cxx') }} 9
- sysroot_linux-64 2.17 # [linux64]
- sysroot_linux-aarch64 2.17 # [aarch64]
- nvcc_linux-64 {{ cuda_version }} # [linux64]
- nvcc_linux-aarch64 {{ cuda_version }} # [aarch64]
host:
- python
- cython>=0.29,<0.30
- libcugraph={{ version }}
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- cudatoolkit {{ cuda_version }}.*
- rmm {{ minor_version }}.*
- cudatoolkit {{ cuda_version }}
- rmm {{ minor_version }}
- libraft-headers {{ minor_version }}
run:
- python x.x
- python
- libraft-headers {{ minor_version }}
- libcugraph={{ version }}
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}

tests: # [linux64]
requirements: # [linux64]
- cudatoolkit {{ cuda_version }}.* # [linux64]
- cudatoolkit {{ cuda_version }} # [linux64]
imports: # [linux64]
- pylibcugraph # [linux64]

Expand Down

0 comments on commit f81c62a

Please sign in to comment.