Skip to content

Commit

Permalink
ccache: unset CI env variable before running cmake
Browse files Browse the repository at this point in the history
ccache's cmake files will turn on a "dev mode" if CI is set in the environment, turning on -Werror among other things.  This was causing the build on i686 to fail due to a warning with fmt 11.  We don't really want ccache's dev mode, so unset it explicitly.
  • Loading branch information
jeremyd2019 committed Dec 27, 2024
1 parent de65aa5 commit fdc8bf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ccache/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ build() {
[[ -d build-${CHOST} ]] && rm -rf build-${CHOST}
mkdir -p build-${CHOST} && cd build-${CHOST}

unset CI
/usr/bin/cmake \
-GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
Expand Down

0 comments on commit fdc8bf3

Please sign in to comment.