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

Use conda compilers #10275

Merged
merged 3 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
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
vyasr marked this conversation as resolved.
Show resolved Hide resolved

sysroot_version:
- "2.17"
8 changes: 5 additions & 3 deletions conda/recipes/cudf/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
# libcudf's run_exports pinning is looser than we would like
ignore_run_exports:
- libcudf

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
host:
- protobuf
- python
- cython >=0.29,<0.30
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"
7 changes: 4 additions & 3 deletions conda/recipes/cudf_kafka/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ 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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
host:
- python
- cython >=0.29,<0.30
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"
8 changes: 5 additions & 3 deletions conda/recipes/custreamz/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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
host:
- python
- python-confluent-kafka >=1.7.0,<1.8.0a0
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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
requirements:
build:
- cmake {{ cmake_version }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
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]
jjacobelli marked this conversation as resolved.
Show resolved Hide resolved
requirements:
build:
- cmake {{ cmake_version }}
Expand Down