diff --git a/conda/recipes/cudf/conda_build_config.yaml b/conda/recipes/cudf/conda_build_config.yaml new file mode 100644 index 00000000000..c049d21fd91 --- /dev/null +++ b/conda/recipes/cudf/conda_build_config.yaml @@ -0,0 +1,8 @@ +c_compiler_version: + - 9 + +cxx_compiler_version: + - 9 + +sysroot_version: + - "2.17" diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index a88eea949e9..b890c34f06a 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -19,15 +19,16 @@ 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_{{ target_platform }} {{ sysroot_version }} + host: - protobuf - python - cython >=0.29,<0.30 diff --git a/conda/recipes/cudf_kafka/conda_build_config.yaml b/conda/recipes/cudf_kafka/conda_build_config.yaml new file mode 100644 index 00000000000..c049d21fd91 --- /dev/null +++ b/conda/recipes/cudf_kafka/conda_build_config.yaml @@ -0,0 +1,8 @@ +c_compiler_version: + - 9 + +cxx_compiler_version: + - 9 + +sysroot_version: + - "2.17" diff --git a/conda/recipes/cudf_kafka/meta.yaml b/conda/recipes/cudf_kafka/meta.yaml index 7d7b5d65cce..5f8317f7a60 100644 --- a/conda/recipes/cudf_kafka/meta.yaml +++ b/conda/recipes/cudf_kafka/meta.yaml @@ -17,15 +17,15 @@ 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_{{ target_platform }} {{ sysroot_version }} host: - python - cython >=0.29,<0.30 diff --git a/conda/recipes/custreamz/meta.yaml b/conda/recipes/custreamz/meta.yaml index a067ff210c9..794b97e1c34 100644 --- a/conda/recipes/custreamz/meta.yaml +++ b/conda/recipes/custreamz/meta.yaml @@ -19,9 +19,6 @@ build: script_env: - VERSION_SUFFIX - PARALLEL_LEVEL - - CC - - CXX - - CUDAHOSTCXX requirements: host: diff --git a/conda/recipes/dask-cudf/meta.yaml b/conda/recipes/dask-cudf/meta.yaml index 97d2249b63b..9f84b794500 100644 --- a/conda/recipes/dask-cudf/meta.yaml +++ b/conda/recipes/dask-cudf/meta.yaml @@ -19,9 +19,6 @@ build: script_env: - VERSION_SUFFIX - PARALLEL_LEVEL - - CC - - CXX - - CUDAHOSTCXX requirements: host: diff --git a/conda/recipes/libcudf/conda_build_config.yaml b/conda/recipes/libcudf/conda_build_config.yaml index b598a157196..986b7e5c32e 100644 --- a/conda/recipes/libcudf/conda_build_config.yaml +++ b/conda/recipes/libcudf/conda_build_config.yaml @@ -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" diff --git a/conda/recipes/libcudf/meta.yaml b/conda/recipes/libcudf/meta.yaml index 3cc0c14e16c..e946a24bfeb 100644 --- a/conda/recipes/libcudf/meta.yaml +++ b/conda/recipes/libcudf/meta.yaml @@ -14,9 +14,6 @@ source: build: script_env: - - CC - - CXX - - CUDAHOSTCXX - PARALLEL_LEVEL - CMAKE_GENERATOR - CMAKE_C_COMPILER_LAUNCHER @@ -31,6 +28,10 @@ build: requirements: build: - cmake {{ cmake_version }} + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - {{ compiler('cuda') }} {{ cuda_version }} + - sysroot_{{ target_platform }} {{ sysroot_version }} host: - librmm {{ minor_version }}.* - cudatoolkit {{ cuda_version }}.* @@ -48,6 +49,8 @@ outputs: string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} run_exports: - {{ pin_subpackage("libcudf", max_pin="x.x") }} + ignore_run_exports_from: + - {{ compiler('cuda') }} requirements: build: - cmake {{ cmake_version }} @@ -287,6 +290,8 @@ outputs: build: number: {{ GIT_DESCRIBE_NUMBER }} string: {{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} + ignore_run_exports_from: + - {{ compiler('cuda') }} requirements: build: - cmake {{ cmake_version }} @@ -308,9 +313,14 @@ outputs: build: number: {{ GIT_DESCRIBE_NUMBER }} string: {{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} + ignore_run_exports_from: + - {{ compiler('cuda') }} requirements: build: - cmake {{ cmake_version }} + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - sysroot_{{ target_platform }} {{ sysroot_version }} host: - {{ pin_subpackage('libcudf', exact=True) }} run: @@ -327,6 +337,8 @@ outputs: build: number: {{ GIT_DESCRIBE_NUMBER }} string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} + ignore_run_exports_from: + - {{ compiler('cuda') }} requirements: build: - cmake {{ cmake_version }}