Skip to content

Commit

Permalink
Update to GCC 11 (#1309)
Browse files Browse the repository at this point in the history
This PR updates builds to use GCC 11.

Authors:
  - Bradley Dice (https://github.com/bdice)
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Jordan Jacobelli (https://github.com/jjacobelli)
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #1309
  • Loading branch information
bdice authored Mar 6, 2023
1 parent 004f508 commit e7f0268
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ci/docs/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
#################################
# RAFT docs build script for CI #
#################################
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
- distributed>=2023.1.1
- doxygen>=1.8.20
- faiss-proc=*=cuda
- gcc_linux-64=9
- gcc_linux-64=11.*
- graphviz
- ipython
- libcublas-dev=11.11.3.6
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/libraft/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
c_compiler_version:
- 9
- 11

cxx_compiler_version:
- 9
- 11

cuda_compiler:
- nvcc
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/pylibraft/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
c_compiler_version:
- 9
- 11

cxx_compiler_version:
- 9
- 11

cuda_compiler:
- nvcc
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/raft-dask/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
c_compiler_version:
- 9
- 11

cxx_compiler_version:
- 9
- 11

cuda_compiler:
- nvcc
Expand Down
4 changes: 3 additions & 1 deletion cpp/include/raft/matrix/detail/select_radix.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, NVIDIA CORPORATION.
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -16,6 +16,8 @@

#pragma once

#include <optional>

#include <raft/core/cudart_utils.hpp>
#include <raft/core/detail/macros.hpp>
#include <raft/core/logger.hpp>
Expand Down
4 changes: 2 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ dependencies:
- matrix:
arch: x86_64
packages:
- gcc_linux-64=9
- gcc_linux-64=11.*
- sysroot_linux-64==2.17
- matrix:
arch: aarch64
packages:
- gcc_linux-aarch64=9
- gcc_linux-aarch64=11.*
- sysroot_linux-aarch64==2.17
checks:
common:
Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/pylibraft/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.

[isort]
line_length=79
Expand Down
2 changes: 1 addition & 1 deletion python/raft-dask/raft_dask/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
# Copyright (c) 2020-2023, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.

[flake8]
filename = *.py, *.pyx, *.pxd, *.pxi
Expand Down

0 comments on commit e7f0268

Please sign in to comment.