Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
CI: Disable AVX instructions in libzstd ccache dependency (#17842)
Browse files Browse the repository at this point in the history
Caching the source-compiled variants of libzstd1 and libb2 via our Docker cache can lead to "Illegal instruction" errors when deploying the docker image on an older machines.
  • Loading branch information
leezu authored Mar 16, 2020
1 parent ea2daba commit bd6b80e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/docker/install/deb_ubuntu_ccache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ cd ccache
# ccache 4 contains fixes for caching nvcc output: https://github.com/ccache/ccache/pull/381
git checkout 2e7154e67a5dd56852dae29d4c418d4ddc07c230


export CFLAGS="-mno-avx"
export CXXFLAGS="-mno-avx"
./autogen.sh
./configure --disable-man --with-libzstd-from-internet --with-libb2-from-internet
make -j$(nproc)
Expand Down

0 comments on commit bd6b80e

Please sign in to comment.