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 May 20, 2022
1 parent 6acf226 commit b405154
Show file tree
Hide file tree
Showing 10 changed files with 108 additions and 39 deletions.
8 changes: 8 additions & 0 deletions conda/recipes/cudf/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c_compiler_version:
- 9

cxx_compiler_version:
- 9

sysroot_version:
- "2.17"
44 changes: 23 additions & 21 deletions conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,46 @@ build:
script_env:
- VERSION_SUFFIX
- PARALLEL_LEVEL
- CC
- CXX
- CUDAHOSTCXX
# libcudf's run_exports pinning is looser than we would like
ignore_run_exports:
- libcudf

requirements:
build:
- protobuf
- python
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- cudatoolkit {{ cuda_version }}.*
- cython >=0.29,<0.30
- setuptools
- numba >=0.54
- dlpack>=0.5,<0.6.0a0
- pyarrow 7.0.0 *cuda
- libcudf {{ version }}
- rmm {{ minor_version }}
- cudatoolkit {{ cuda_version }}
run:
- numba >=0.54
- protobuf
- pyarrow 7.0.0 *cuda
- python
- typing_extensions
- pandas >=1.0,<1.5.0dev0
- rmm {{ minor_version }}
- setuptools
run:
- cachetools
- cuda-python >=11.5,<12.0
- cupy >=9.5.0,<11.0.0a0
- numba >=0.54
- numpy
- {{ pin_compatible('pyarrow', max_pin='x.x.x') }} *cuda
- libcudf {{ version }}
- fastavro >=0.22.0
- {{ pin_compatible('rmm', max_pin='x.x') }}
- fsspec>=0.6.0
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
- libcudf {{ version }}
- numba >=0.54
- numpy
- nvtx >=0.2.1
- packaging
- cachetools
- pandas >=1.0,<1.5.0dev0
- protobuf
- ptxcompiler # [linux64] # CUDA enhanced compatibility. See https://github.com/rapidsai/ptxcompiler
- cuda-python >=11.5,<12.0
- python
- typing_extensions
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
- {{ pin_compatible('pyarrow', max_pin='x.x.x') }} *cuda
- {{ pin_compatible('rmm', max_pin='x.x') }}
test: # [linux64]
requires: # [linux64]
- cudatoolkit {{ cuda_version }}.* # [linux64]
Expand Down
8 changes: 8 additions & 0 deletions conda/recipes/cudf_kafka/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c_compiler_version:
- 9

cxx_compiler_version:
- 9

sysroot_version:
- "2.17"
17 changes: 9 additions & 8 deletions conda/recipes/cudf_kafka/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,27 @@ build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: py{{ py_version_numeric }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL
- VERSION_SUFFIX

requirements:
build:
- cmake >=3.20.1,!=3.23.0
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- python
- cudf {{ version }}.*
- cython >=0.29,<0.30
- cudf {{ version }}
- libcudf_kafka {{ version }}
- libcudf_kafka {{ version }}.*
- python
- setuptools
run:
- python
- libcudf_kafka {{ version }}
- libcudf_kafka {{ version }}.*
- python-confluent-kafka >=1.7.0,<1.8.0a0
- cudf {{ version }}
- cudf {{ version }}.*

test: # [linux64]
requires: # [linux64]
Expand Down
8 changes: 8 additions & 0 deletions conda/recipes/custreamz/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c_compiler_version:
- 9

cxx_compiler_version:
- 9

sysroot_version:
- "2.17"
10 changes: 6 additions & 4 deletions conda/recipes/custreamz/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ build:
script_env:
- VERSION_SUFFIX
- PARALLEL_LEVEL
- CC
- CXX
- CUDAHOSTCXX

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- cudf_kafka {{ version }}
- python
- python-confluent-kafka >=1.7.0,<1.8.0a0
- cudf_kafka {{ version }}
run:
- python
- streamz
Expand Down
8 changes: 8 additions & 0 deletions conda/recipes/dask-cudf/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c_compiler_version:
- 9

cxx_compiler_version:
- 9

sysroot_version:
- "2.17"
8 changes: 5 additions & 3 deletions conda/recipes/dask-cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ build:
script_env:
- VERSION_SUFFIX
- PARALLEL_LEVEL
- CC
- CXX
- CUDAHOSTCXX

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- python
- cudf {{ version }}
Expand Down
12 changes: 12 additions & 0 deletions conda/recipes/libcudf/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
c_compiler_version:
- 9

cxx_compiler_version:
- 9

cuda_compiler:
- nvcc

sysroot_version:
- "2.17"

cmake_version:
- ">=3.20.1,!=3.23.0"

Expand Down
24 changes: 21 additions & 3 deletions conda/recipes/libcudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ source:

build:
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL
- CMAKE_GENERATOR
- CMAKE_C_COMPILER_LAUNCHER
Expand All @@ -31,6 +28,11 @@ build:
requirements:
build:
- cmake {{ cmake_version }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} {{ cuda_version }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- librmm {{ minor_version }}.*
- cudatoolkit {{ cuda_version }}.*
Expand All @@ -48,6 +50,9 @@ outputs:
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
run_exports:
- {{ pin_subpackage("libcudf", max_pin="x.x") }}
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
requirements:
build:
- cmake {{ cmake_version }}
Expand Down Expand Up @@ -287,6 +292,9 @@ outputs:
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: {{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
requirements:
build:
- cmake {{ cmake_version }}
Expand All @@ -308,9 +316,16 @@ outputs:
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: {{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
requirements:
build:
- cmake {{ cmake_version }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- {{ pin_subpackage('libcudf', exact=True) }}
run:
Expand All @@ -327,6 +342,9 @@ outputs:
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
requirements:
build:
- cmake {{ cmake_version }}
Expand Down

0 comments on commit b405154

Please sign in to comment.