Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defaults:
shell: bash -l {0}
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout xsimd
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-rvv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
GCC_VERSION: "12"
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
name: 'RISC-V RVV${{ matrix.vector_bits }}'
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-sve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ concurrency:
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: 'Arm SVE${{ matrix.vector_bits }}'
strategy:
matrix:
Expand Down
20 changes: 1 addition & 19 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,8 @@ jobs:
- { platform: 'arm', arch: 'armv7-a', dir: 'arm-linux-gnueabihf', flags: '-mfpu=vfpv3-d16', full: 'OFF' } # no neon
- { platform: 'aarch64', arch: 'armv8-a', dir: 'aarch64-linux-gnu', flags: '', full: 'ON' }
sys:
- { compiler: 'gcc', version: '9' }
# - { compiler: 'clang', version: '17' }
- { compiler: 'gcc', version: '10' }
steps:
- name: Setup compiler
if: ${{ matrix.sys.compiler == 'clang' }}
run: |
LLVM_VERSION=${{ matrix.sys.version }}
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
if [[ $LLVM_VERSION -eq 'latest' ]]; then
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main" || exit 1
else
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-$LLVM_VERSION main" || exit 1
fi
sudo apt-get update || exit 1
if [[ $LLVM_VERSION -eq 'latest' ]]; then
sudo apt-get --no-install-suggests --no-install-recommends install clang || exit 1
else
sudo apt-get --no-install-suggests --no-install-recommends install clang-$LLVM_VERSION || exit 1
fi
sudo apt-get --no-install-suggests --no-install-recommends install g++-9-${{ matrix.target.dir }} g++-9-multilib || exit 1
- name: Setup compiler
if: ${{ matrix.sys.compiler == 'gcc' }}
run: |
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/emulated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ defaults:
shell: bash -l {0}
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: '${{ matrix.sys.compiler }} ${{ matrix.sys.version }} - emulated'
strategy:
matrix:
sys:
- { compiler: 'gcc', version: '7'}
- { compiler: 'clang', version: '8'}
- { compiler: 'gcc', version: '12'}
- { compiler: 'clang', version: '16'}
steps:
- name: Setup compiler
if: ${{ matrix.sys.compiler == 'gcc' }}
Expand All @@ -32,12 +32,9 @@ jobs:
if: ${{ matrix.sys.compiler == 'clang' }}
run: |
LLVM_VERSION=${{ matrix.sys.version }}
#sudo add-apt-repository ppa:ubuntu-toolchain-r/test || exit 1
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main" || exit 1
sudo apt-get update || exit 1
sudo apt-get --no-install-suggests --no-install-recommends install clang-$LLVM_VERSION || exit 1
sudo apt-get --no-install-suggests --no-install-recommends install g++-9 g++-9-multilib || exit 1
sudo apt-get --no-install-suggests --no-install-recommends install g++ g++-multilib || exit 1
sudo ln -s /usr/include/asm-generic /usr/include/asm
CC=clang-$LLVM_VERSION
echo "CC=$CC" >> $GITHUB_ENV
Expand Down
57 changes: 22 additions & 35 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,36 @@ defaults:
shell: bash -l {0}
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: '${{ matrix.sys.compiler }} ${{ matrix.sys.version }} - ${{ matrix.sys.flags }}'
strategy:
matrix:
sys:
- { compiler: 'gcc', version: '7', flags: 'force_no_instr_set' }
- { compiler: 'gcc', version: '8', flags: 'enable_xtl_complex' }
- { compiler: 'gcc', version: '9', flags: 'avx' }
#- { compiler: 'gcc', version: '10', flags: 'avx512' } buggy
- { compiler: 'gcc', version: '11', flags: 'avx512' }
- { compiler: 'gcc', version: '11', flags: 'i386' }
- { compiler: 'gcc', version: '11', flags: 'avx512pf' }
- { compiler: 'gcc', version: '11', flags: 'avx512vbmi' }
- { compiler: 'gcc', version: '11', flags: 'avx512vbmi2' }
- { compiler: 'gcc', version: '11', flags: 'avx512vnni' }
- { compiler: 'clang', version: '8', flags: 'force_no_instr_set' }
- { compiler: 'clang', version: '10', flags: 'enable_xtl_complex' }
- { compiler: 'clang', version: '12', flags: 'avx' }
- { compiler: 'clang', version: '13', flags: 'sse3' }
- { compiler: 'clang', version: '14', flags: 'avx512' }
- { compiler: 'gcc', version: '12', flags: 'force_no_instr_set' }
- { compiler: 'gcc', version: '13', flags: 'enable_xtl_complex' }
- { compiler: 'gcc', version: '14', flags: 'avx' }
- { compiler: 'gcc', version: '13', flags: 'avx512' }
- { compiler: 'gcc', version: '12', flags: 'i386' }
- { compiler: 'gcc', version: '13', flags: 'avx512pf' }
- { compiler: 'gcc', version: '13', flags: 'avx512vbmi' }
- { compiler: 'gcc', version: '14', flags: 'avx512vbmi2' }
- { compiler: 'gcc', version: '13', flags: 'avx512vnni' }
- { compiler: 'clang', version: '16', flags: 'force_no_instr_set' }
- { compiler: 'clang', version: '16', flags: 'enable_xtl_complex' }
- { compiler: 'clang', version: '17', flags: 'avx' }
- { compiler: 'clang', version: '17', flags: 'sse3' }
- { compiler: 'clang', version: '18', flags: 'avx512' }
steps:
- name: Setup compiler
if: ${{ matrix.sys.compiler == 'gcc' }}
run: |
GCC_VERSION=${{ matrix.sys.version }}
if [[ $GCC_VERSION == '6' || $GCC_VERSION == '7' || $GCC_VERSION == '8' ]]; then
#sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get --no-install-suggests --no-install-recommends install g++-$GCC_VERSION
fi
if [[ '${{ matrix.sys.flags }}' -eq 'i386' ]]; then
sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get --no-install-suggests --no-install-recommends install gcc-$GCC_VERSION-multilib g++-$GCC_VERSION-multilib linux-libc-dev:i386
fi
sudo apt-get update
sudo apt-get --no-install-suggests --no-install-recommends install g++-$GCC_VERSION
sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get --no-install-suggests --no-install-recommends install gcc-$GCC_VERSION-multilib g++-$GCC_VERSION-multilib linux-libc-dev:i386
CC=gcc-$GCC_VERSION
echo "CC=$CC" >> $GITHUB_ENV
CXX=g++-$GCC_VERSION
Expand All @@ -52,16 +46,9 @@ jobs:
if: ${{ matrix.sys.compiler == 'clang' }}
run: |
LLVM_VERSION=${{ matrix.sys.version }}
#sudo add-apt-repository ppa:ubuntu-toolchain-r/test || exit 1
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
if [[ $LLVM_VERSION -ge 13 ]]; then
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-$LLVM_VERSION main" || exit 1
else
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main" || exit 1
fi || exit 1
sudo apt-get update || exit 1
sudo apt-get --no-install-suggests --no-install-recommends install clang-$LLVM_VERSION || exit 1
sudo apt-get --no-install-suggests --no-install-recommends install g++-9 g++-9-multilib || exit 1
sudo apt-get --no-install-suggests --no-install-recommends install g++ g++-multilib || exit 1
sudo ln -s /usr/include/asm-generic /usr/include/asm
CC=clang-$LLVM_VERSION
echo "CC=$CC" >> $GITHUB_ENV
Expand Down