Skip to content

Commit a076b51

Browse files
authored
Use GCC 13 in CUDA 12 conda builds. (#108)
conda-forge is using GCC 13 for CUDA 12 builds. This PR updates CUDA 12 conda builds to use GCC 13, for alignment. These PRs should be merged in a specific order, see rapidsai/build-planning#129 for details. Authors: - Bradley Dice (https://github.com/bdice) - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - James Lamb (https://github.com/jameslamb) URL: #108
1 parent d38b832 commit a076b51

8 files changed

+34
-40
lines changed

conda/environments/all_cuda-121_arch-x86_64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
- dask-cudf==25.2.*,>=0.0.0a0
2323
- dglteam/label/th23_cu121::dgl>=2.4.0.th23.cu*
2424
- doxygen
25-
- gcc_linux-64=11.*
25+
- gcc_linux-64=13.*
2626
- graphviz
2727
- ipython
2828
- libcublas-dev

conda/environments/all_cuda-124_arch-x86_64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
- dask-cudf==25.2.*,>=0.0.0a0
2323
- dglteam/label/th23_cu121::dgl>=2.4.0.th23.cu*
2424
- doxygen
25-
- gcc_linux-64=11.*
25+
- gcc_linux-64=13.*
2626
- graphviz
2727
- ipython
2828
- libcublas-dev

conda/recipes/cugraph-pyg/conda_build_config.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Copyright (c) 2022, NVIDIA CORPORATION.
22

33
c_compiler_version:
4-
- 11
4+
- 13 # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
5+
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
56

67
cxx_compiler_version:
7-
- 11
8+
- 13 # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
9+
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
810

911
cuda_compiler:
1012
- nvcc
@@ -16,4 +18,4 @@ c_stdlib:
1618
- sysroot
1719

1820
c_stdlib_version:
19-
- "2.17"
21+
- "2.28"
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
c_compiler_version:
2-
- 11
2+
- 13 # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
3+
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
34

45
cxx_compiler_version:
5-
- 11
6+
- 13 # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
7+
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
68

79
cuda_compiler:
8-
- cuda-nvcc
9-
10-
cuda11_compiler:
11-
- nvcc
10+
- cuda-nvcc # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
11+
- nvcc # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
1212

1313
cmake_version:
1414
- ">=3.26.4,!=3.30.0"
@@ -23,4 +23,4 @@ c_stdlib:
2323
- sysroot
2424

2525
c_stdlib_version:
26-
- "2.17"
26+
- "2.28"

conda/recipes/libwholegraph/meta.yaml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2019-2024, NVIDIA CORPORATION.
1+
# Copyright (c) 2019-2025, NVIDIA CORPORATION.
22

33
{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') + environ.get('VERSION_SUFFIX', '') %}
44
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
@@ -42,7 +42,7 @@ requirements:
4242
- {{ compiler('c') }}
4343
- {{ compiler('cxx') }}
4444
{% if cuda_major == "11" %}
45-
- {{ compiler('cuda11') }} ={{ cuda_version }}
45+
- {{ compiler('cuda') }} ={{ cuda_version }}
4646
{% else %}
4747
- {{ compiler('cuda') }}
4848
{% endif %}
@@ -74,10 +74,8 @@ outputs:
7474
number: {{ GIT_DESCRIBE_NUMBER }}
7575
string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
7676
ignore_run_exports_from:
77-
{% if cuda_major == "11" %}
78-
- {{ compiler('cuda11') }}
79-
{% else %}
8077
- {{ compiler('cuda') }}
78+
{% if cuda_major != "11" %}
8179
- cuda-cudart-dev
8280
{% endif %}
8381
requirements:
@@ -110,10 +108,8 @@ outputs:
110108
number: {{ GIT_DESCRIBE_NUMBER }}
111109
string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
112110
ignore_run_exports_from:
113-
{% if cuda_major == "11" %}
114-
- {{ compiler('cuda11') }}
115-
{% else %}
116111
- {{ compiler('cuda') }}
112+
{% if cuda_major != "11" %}
117113
- cuda-cudart-dev
118114
{% endif %}
119115
requirements:
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
c_compiler_version:
2-
- 11
2+
- 13 # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
3+
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
34

45
cxx_compiler_version:
5-
- 11
6+
- 13 # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
7+
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
68

79
cuda_compiler:
8-
- cuda-nvcc
9-
10-
cuda11_compiler:
11-
- nvcc
10+
- cuda-nvcc # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
11+
- nvcc # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
1212

1313
cmake_version:
1414
- ">=3.26.4,!=3.30.0"
@@ -20,4 +20,4 @@ c_stdlib:
2020
- sysroot
2121

2222
c_stdlib_version:
23-
- "2.17"
23+
- "2.28"

conda/recipes/pylibwholegraph/meta.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,14 @@ build:
3535
- SCCACHE_S3_USE_SSL
3636
- SCCACHE_S3_NO_CREDENTIALS
3737
ignore_run_exports_from:
38-
{% if cuda_major == "11" %}
39-
- {{ compiler('cuda11') }}
40-
{% else %}
4138
- {{ compiler('cuda') }}
42-
{% endif %}
4339

4440
requirements:
4541
build:
4642
- {{ compiler('c') }}
4743
- {{ compiler('cxx') }}
4844
{% if cuda_major == "11" %}
49-
- {{ compiler('cuda11') }} ={{ cuda_version }}
45+
- {{ compiler('cuda') }} ={{ cuda_version }}
5046
{% else %}
5147
- {{ compiler('cuda') }}
5248
{% endif %}

dependencies.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -260,27 +260,27 @@ dependencies:
260260
matrices:
261261
- matrix:
262262
arch: x86_64
263+
cuda: "11.8"
263264
packages:
264265
- gcc_linux-64=11.*
266+
- nvcc_linux-64=11.8
265267
- matrix:
266268
arch: aarch64
269+
cuda: "11.8"
267270
packages:
268271
- gcc_linux-aarch64=11.*
269-
- output_types: [conda]
270-
matrices:
272+
- nvcc_linux-aarch64=11.8
271273
- matrix:
272274
arch: x86_64
273-
cuda: "11.8"
275+
cuda: "12.*"
274276
packages:
275-
- nvcc_linux-64=11.8
277+
- gcc_linux-64=13.*
278+
- cuda-nvcc
276279
- matrix:
277280
arch: aarch64
278-
cuda: "11.8"
279-
packages:
280-
- nvcc_linux-aarch64=11.8
281-
- matrix:
282281
cuda: "12.*"
283282
packages:
283+
- gcc_linux-aarch64=13.*
284284
- cuda-nvcc
285285

286286
docs:

0 commit comments

Comments
 (0)