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

Gcc 14 in CI #260

Merged
Show file tree
Hide file tree
Changes from all 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
36 changes: 18 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
topology:
type: string
machine:
image: ubuntu-2204:2023.10.1
image: ubuntu-2404:edge
resource_class: arm.medium
environment:
CC: gcc-13
CXX: g++-13
CC: gcc-14
CXX: g++-14
steps:
- checkout
- run: |
sudo apt-add-repository -y 'ppa:ubuntu-toolchain-r/test'
sudo apt-get install -y gcc-13 g++-13
sudo apt-add-repository -y universe
sudo apt-get install -y gcc-14 g++-14
sudo apt-get install -y autoconf automake libtool
sudo apt-get install -y hwloc libhwloc-dev
- run: |
Expand All @@ -36,16 +36,16 @@ jobs:
topology:
type: string
machine:
image: ubuntu-2204:2023.10.1
image: ubuntu-2404:edge
resource_class: arm.medium
environment:
CC: clang-18
CXX: clang++-18
steps:
- checkout
- run: |
sudo apt-add-repository -y 'ppa:ubuntu-toolchain-r/test'
sudo apt-get install -y gcc-13 g++-13
sudo apt-add-repository -y universe
sudo apt-get install -y gcc-14 g++-14
sudo apt-get install -y autoconf automake libtool
sudo apt-get install -y hwloc libhwloc-dev
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand All @@ -68,7 +68,7 @@ jobs:
sanitizer:
type: string
machine:
image: ubuntu-2204:2023.10.1
image: ubuntu-2404:edge
resource_class: arm.medium
environment:
CC: clang-18
Expand All @@ -81,8 +81,8 @@ jobs:
steps:
- checkout
- run: |
sudo apt-add-repository -y 'ppa:ubuntu-toolchain-r/test'
sudo apt-get install -y gcc-13 g++-13
sudo apt-add-repository -y universe
sudo apt-get install -y gcc-14 g++-14
sudo apt-get install -y autoconf automake libtool
sudo apt-get install -y hwloc libhwloc-dev
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand All @@ -103,7 +103,7 @@ jobs:
topology:
type: string
machine:
image: ubuntu-2204:2023.10.1
image: ubuntu-2204:2024.04.4
resource_class: arm.medium
environment:
CC: armclang
Expand All @@ -114,22 +114,22 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y autoconf automake libtool
sudo apt-get install -y hwloc libhwloc-dev
wget -O acfl.tar https://developer.arm.com/-/media/Files/downloads/hpc/arm-compiler-for-linux/23-10/arm-compiler-for-linux_23.10_Ubuntu-22.04_aarch64.tar
wget -O acfl.tar https://developer.arm.com/-/media/Files/downloads/hpc/arm-compiler-for-linux/24-04/arm-compiler-for-linux_24.04_Ubuntu-22.04_aarch64.tar
tar -vxf acfl.tar
./arm-compiler-for-linux_23.10_Ubuntu-22.04/arm-compiler-for-linux_23.10_Ubuntu-22.04.sh -a -f -s acfl
./arm-compiler-for-linux_24.04_Ubuntu-22.04/arm-compiler-for-linux_24.04_Ubuntu-22.04.sh -a -f -s acfl
rm acfl.tar
sudo apt install -y ./acfl/gcc-12.2.0_Ubuntu-22.04.deb ./acfl/arm-linux-compiler-23.10_Ubuntu-22.04.deb
sudo apt install -y ./acfl/gcc-13.2.0_Ubuntu-22.04.deb ./acfl/arm-linux-compiler-24.04_Ubuntu-22.04.deb
rm -rf acfl
export PATH=$PATH:/opt/arm/arm-linux-compiler-23.10_Ubuntu-22.04/bin
export PATH=$PATH:/opt/arm/arm-linux-compiler-24.04_Ubuntu-22.04/bin
armclang -v
- run: |
export PATH=$PATH:/opt/arm/arm-linux-compiler-23.10_Ubuntu-22.04/bin
export PATH=$PATH:/opt/arm/arm-linux-compiler-24.04_Ubuntu-22.04/bin
./autogen.sh
./configure --enable-picky --with-scheduler=<< parameters.scheduler >> -with-topology=<< parameters.topology >>
make -j2
- run:
command: |
export PATH=$PATH:/opt/arm/arm-linux-compiler-23.10_Ubuntu-22.04/bin
export PATH=$PATH:/opt/arm/arm-linux-compiler-24.04_Ubuntu-22.04/bin
timeout --foreground -k 10s 4m make check
no_output_timeout: 60s

Expand Down
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ freebsd_task:

arm_linux_task:
arm_container:
image: gcc:13-bookworm
image: gcc:14-bookworm
timeout_in: 5m
matrix:
env:
Expand Down Expand Up @@ -76,7 +76,7 @@ arm_linux_task:

arm_linux_clang_task:
arm_container:
image: gcc:13-bookworm
image: gcc:14-bookworm
timeout_in: 5m
matrix:
env:
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ jobs:
continue-on-error: true
strategy:
matrix:
gcc_version: [9, 10, 11, 12]
gcc_version: [9, 10, 11, 12, 13]
scheduler: [nemesis, sherwood, distrib]
topology: [hwloc, binders, no]
env:
CC: gcc-${{ matrix.gcc_version }}
CXX: g++-${{ matrix.gcc_version }}
steps:
- uses: actions/checkout@v3
- if: ${{ matrix.gcc_version == '13' }}
run: sudo apt-add-repository 'ppa:ubuntu-toolchain-r/test' && break || sleep 1
- name: install compiler
run: sudo apt-get install gcc-${{ matrix.gcc_version }} g++-${{ matrix.gcc_version }}
- if: ${{ matrix.topology != 'no' }}
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
CXX: clang++-${{ matrix.clang_version }}
steps:
- uses: actions/checkout@v3
- if: ${{ matrix.clang_version == '16' || matrix.clang_version == '17' }}
- if: ${{ matrix.clang_version == '16' || matrix.clang_version == '17' || matrix.clang_version == '18' }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && break || sleep 1
sudo apt-add-repository 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-${{ matrix.clang_version }} main' && break || sleep 1
Expand Down Expand Up @@ -106,7 +108,7 @@ jobs:
run: |
wget -O - https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | sudo apt-key add - && break || sleep 1
sudo apt-add-repository 'deb https://apt.repos.intel.com/oneapi all main' && break || sleep 1
sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2023.2.1
sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2023.2.4
source /opt/intel/oneapi/setvars.sh
icx -v
- name: build qthreads
Expand Down Expand Up @@ -225,7 +227,7 @@ jobs:
timeout-minutes: 9

sanitizers:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand All @@ -245,8 +247,8 @@ jobs:
- uses: actions/checkout@v3
- if: ${{ ! matrix.use_libcxx }}
run: |
sudo apt-add-repository 'ppa:ubuntu-toolchain-r/test' && break || sleep 1
sudo apt-get install gcc-13 g++-13
sudo apt-add-repository universe && break || sleep 1
sudo apt-get install gcc-14 g++-14
- name: install compiler
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && break || sleep 1
Expand All @@ -268,7 +270,7 @@ jobs:
timeout-minutes: 9

linux-thorough:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand All @@ -281,15 +283,15 @@ jobs:
- compiler: gcc
use_libcxx: true
env:
CC: ${{ matrix.compiler == 'gcc' && 'gcc-13' || 'clang-18' }}
CXX: ${{ matrix.compiler == 'gcc' && 'g++-13' || 'clang++-18' }}
CC: ${{ matrix.compiler == 'gcc' && 'gcc-14' || 'clang-18' }}
CXX: ${{ matrix.compiler == 'gcc' && 'g++-14' || 'clang++-18' }}
CXXFLAGS: ${{ matrix.use_libcxx && '-stdlib=libc++' || '' }}
QTHREADS_ENABLE_ASSERTS: ${{ matrix.use_asserts && '--enable-asserts' || '' }}
steps:
- uses: actions/checkout@v3
- run: |
sudo apt-add-repository 'ppa:ubuntu-toolchain-r/test' && break || sleep 1
sudo apt-get install gcc-13 g++-13
sudo apt-add-repository universe && break || sleep 1
sudo apt-get install gcc-14 g++-14
- if: ${{ matrix.compiler == 'clang' }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && break || sleep 1
Expand Down
Loading