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 authored and lazka committed Dec 27, 2024
1 parent de65aa5 commit e31b1b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccache/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=ccache
pkgver=4.10.2
pkgrel=3
pkgrel=4
pkgdesc="A compiler cache (mingw-w64)"
arch=('i686' 'x86_64')
url="https://ccache.samba.org/"
Expand Down 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 e31b1b9

Please sign in to comment.