Skip to content

Commit

Permalink
This branch requires C++23 now
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Dec 25, 2024
1 parent 582441f commit 51a4496
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 184 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,6 @@ jobs:
matrix:
include:

- clang_ver: '12'
build_type: 'Release'
flags: '-std=c++20 -Werror -msse2'
ubuntu_ver: '22.04'

- clang_ver: '13'
build_type: 'Release'
flags: '-std=c++20 -Werror -msse2'
ubuntu_ver: '22.04'

- clang_ver: '14'
build_type: 'Release'
flags: '-std=c++20 -Werror -msse2'
ubuntu_ver: '22.04'

- clang_ver: '15'
build_type: 'Release'
flags: '-std=c++20 -Werror -msse2'
ubuntu_ver: '22.04'

- clang_ver: '16'
build_type: 'Release'
flags: '-std=c++20 -Werror -msse2'
ubuntu_ver: '24.04'

# stl_pair.h:410:35: error: no matching function for call to 'get'
# - clang_ver: '17'
# build_type: 'Release'
# flags: '-std=c++23 -Werror -msse2'
# ubuntu_ver: '24.04'

# libcxx_test_merge_array_0_modifiers_erase_iter_iter
# - clang_ver: '18'
# build_type: 'Release'
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,6 @@ jobs:
matrix:
include:

- gcc_ver: '10'
build_type: 'Release'
flags: '-std=c++20 -msse2'
ubuntu_ver: '22.04'

- gcc_ver: '11'
build_type: 'Release'
flags: '-std=c++23 -msse2'
ubuntu_ver: '22.04'

- gcc_ver: '12'
build_type: 'Release'
flags: '-std=c++23 -msse2'
ubuntu_ver: '22.04'

- gcc_ver: '13'
build_type: 'Release'
flags: '-std=c++23 -Werror -msse2'
ubuntu_ver: '24.04'

- gcc_ver: '14'
build_type: 'Release'
flags: '-std=c++23 -Werror -msse2'
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/intel.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/macos_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ jobs:
matrix:
include:

- clang_ver: '19'
- clang_ver: '18'
build_type: 'Release'
flags: '-std=c++23 -Werror -msse2'
path_prefix: '/usr/local'
macos_ver: '13'

# macOS-14-arm64
- clang_ver: '17'
- clang_ver: '19'
build_type: 'Release'
flags: '-std=c++23 -Werror'
path_prefix: '/opt/homebrew'
macos_ver: '14'
flags: '-std=c++23 -Werror -msse2'
path_prefix: '/usr/local'
macos_ver: '13'

# macOS-14-arm64
- clang_ver: '18'
build_type: 'Release'
flags: '-std=c++23 -Werror'
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/macos_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,6 @@ jobs:
macos_ver: '13'

# macOS-14-arm64
- gcc_ver: '11'
build_type: 'Release'
flags: '-std=c++23 -Wno-psabi'
path_prefix: '/opt/homebrew'
macos_ver: '14'

- gcc_ver: '12'
build_type: 'Release'
flags: '-std=c++23 -Wno-psabi'
path_prefix: '/opt/homebrew'
macos_ver: '14'

- gcc_ver: '13'
build_type: 'Release'
flags: '-std=c++23 -Wno-psabi'
path_prefix: '/opt/homebrew'
macos_ver: '14'

- gcc_ver: '14'
build_type: 'Release'
flags: '-std=c++23 -Werror -Wno-psabi'
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/mingw.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ jobs:
matrix:
include:

# Visual Studio 2019
- toolset: '14.2'
arch: 'x64'
build_type: 'Release'
flags: '/std:c++20 /WX /wd4702'
win_ver: '2022'

# Visual Studio 2022
- toolset: '14.4'
arch: 'x64'
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/msvc_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ jobs:
matrix:
include:

# Clang 12.0.0 with MSVC-like command-line
- win_ver: '2019'
build_type: 'Release'
flags: '/std:c++20 -msse2'

- win_ver: '2022'
build_type: 'Release'
flags: '/std:c++latest -msse2'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/perf_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
include:

- type: 'unordered_map'
clang_ver: '15'
clang_ver: '18'

- type: 'unordered_map_open'
clang_ver: '15'
clang_ver: '18'

- type: 'map'
clang_ver: '15'
clang_ver: '18'

- type: 'data_table_static'
clang_ver: '15'
clang_ver: '18'

runs-on: ubuntu-24.04

Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
clang++-${{ matrix.clang_ver }} -Imomo_v3_5 -O3 -DNDEBUG -march=native -std=c++17 -o build/momo_${{ matrix.type }}_2 src/momo_${{ matrix.type }}.cc
clang++-${{ matrix.clang_ver }} -Imomo_v3_7 -O3 -DNDEBUG -march=native -std=c++17 -o build/momo_${{ matrix.type }}_3 src/momo_${{ matrix.type }}.cc
clang++-${{ matrix.clang_ver }} -Imomo_v3_10/include -O3 -DNDEBUG -march=native -std=c++17 -o build/momo_${{ matrix.type }}_4 src/momo_${{ matrix.type }}.cc
clang++-${{ matrix.clang_ver }} -Imomo_cur/include -O3 -DNDEBUG -march=native -std=c++20 -o build/momo_${{ matrix.type }}_0 src/momo_${{ matrix.type }}.cc
clang++-${{ matrix.clang_ver }} -Imomo_cur/include -O3 -DNDEBUG -march=native -std=c++23 -o build/momo_${{ matrix.type }}_0 src/momo_${{ matrix.type }}.cc
- name: Test
run: |
sudo nice -n-20 ionice -c1 -n0 sudo -u $USER python3 momo_${{ matrix.type }}.py
2 changes: 1 addition & 1 deletion .github/workflows/perf_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
g++-${{ matrix.gcc_ver }} -Imomo_v3_5 -O3 -DNDEBUG -march=native -std=c++17 -o build/momo_${{ matrix.type }}_2 src/momo_${{ matrix.type }}.cc
g++-${{ matrix.gcc_ver }} -Imomo_v3_7 -O3 -DNDEBUG -march=native -std=c++17 -o build/momo_${{ matrix.type }}_3 src/momo_${{ matrix.type }}.cc
g++-${{ matrix.gcc_ver }} -Imomo_v3_10/include -O3 -DNDEBUG -march=native -std=c++17 -o build/momo_${{ matrix.type }}_4 src/momo_${{ matrix.type }}.cc
g++-${{ matrix.gcc_ver }} -Imomo_cur/include -O3 -DNDEBUG -march=native -std=c++20 -o build/momo_${{ matrix.type }}_0 src/momo_${{ matrix.type }}.cc
g++-${{ matrix.gcc_ver }} -Imomo_cur/include -O3 -DNDEBUG -march=native -std=c++23 -o build/momo_${{ matrix.type }}_0 src/momo_${{ matrix.type }}.cc
- name: Test
run: |
sudo nice -n-20 ionice -c1 -n0 sudo -u $USER python3 momo_${{ matrix.type }}.py

0 comments on commit 51a4496

Please sign in to comment.