Skip to content

Commit

Permalink
Fix duplicate cudatoolkit pinning issue (#11070)
Browse files Browse the repository at this point in the history
This PR fixes a duplicate `cudatoolkit` pinning issue we are seeing in `cudf` packages:
<img width="1091" alt="Screen Shot 2022-06-07 at 1 23 35 PM" src="https://user-images.githubusercontent.com/11664259/172457994-d78b8113-567b-467d-ac62-5f8cfd1aec3e.png">

This leads to following conda error:
```bash
Encountered problems while solving:
  - package cudf-22.08.00a220606-cuda_11_py39_g4d7595fb3f_113 requires cudatoolkit >=11.5,<12, but none of the providers can be installed
```

This PR also removes `CC` & `CXX` invocations, since we have switched to conda compilers: rapidsai/gpuci-build-environment#265

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - https://github.com/jakirkham
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #11070
  • Loading branch information
galipremsagar authored Jun 8, 2022
1 parent aec9007 commit a00cca6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
3 changes: 1 addition & 2 deletions ci/benchmark/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ pip install "git+https://github.com/python-streamz/streamz.git@master" --upgrade

logger "Check versions..."
python --version
$CC --version
$CXX --version

conda info
conda config --show-sources
conda list --show-channel-urls
Expand Down
2 changes: 0 additions & 2 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ fi

gpuci_logger "Check compiler versions"
python --version
$CC --version
$CXX --version

gpuci_logger "Check conda environment"
conda info
Expand Down
5 changes: 2 additions & 3 deletions ci/docs/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2020, NVIDIA CORPORATION.
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
#################################
# cuDF Docs build script for CI #
#################################
Expand Down Expand Up @@ -29,8 +29,7 @@ conda activate rapids

gpuci_logger "Check versions..."
python --version
$CC --version
$CXX --version

conda info
conda config --show-sources
conda list --show-channel-urls
Expand Down
2 changes: 0 additions & 2 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ conda list --show-channel-urls

gpuci_logger "Check compiler versions"
python --version
$CC --version
$CXX --version

function install_dask {
# Install the conda-forge or nightly version of dask and distributed
Expand Down
3 changes: 1 addition & 2 deletions ci/gpu/java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ conda activate rapids

gpuci_logger "Check compiler versions"
python --version
$CC --version
$CXX --version


gpuci_logger "Check conda environment"
conda info
Expand Down
2 changes: 2 additions & 0 deletions conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ build:
# libcudf's run_exports pinning is looser than we would like
ignore_run_exports:
- libcudf
ignore_run_exports_from:
- {{ compiler('cuda') }}

requirements:
build:
Expand Down

0 comments on commit a00cca6

Please sign in to comment.