[gimp/wip/Jehan/gitlab-ci-win-32-bit] build: bring back ccache!
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/gitlab-ci-win-32-bit] build: bring back ccache!
- Date: Sun, 9 May 2021 17:13:06 +0000 (UTC)
commit 6cc4fd8318128fef492af559f28b330611398e7a
Author: Jehan <jehan girinstud io>
Date: Sun May 9 19:12:54 2021 +0200
build: bring back ccache!
build/windows/gitlab-ci/build-gimp-msys2.sh | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/build/windows/gitlab-ci/build-gimp-msys2.sh b/build/windows/gitlab-ci/build-gimp-msys2.sh
index 2d61699647..050e046158 100644
--- a/build/windows/gitlab-ci/build-gimp-msys2.sh
+++ b/build/windows/gitlab-ci/build-gimp-msys2.sh
@@ -37,6 +37,7 @@ pacman --noconfirm -Suy
pacman --noconfirm -S --needed \
base-devel \
mingw-w64-$MSYS2_ARCH-toolchain \
+ mingw-w64-$MSYS2_ARCH-ccache \
\
mingw-w64-$MSYS2_ARCH-appstream-glib \
mingw-w64-$MSYS2_ARCH-atk \
@@ -87,13 +88,13 @@ export LD_LIBRARY_PATH="${GIMP_PREFIX}/lib:${LD_LIBRARY_PATH}"
export ACLOCAL_FLAGS="-I/c/msys64/mingw32/share/aclocal"
export XDG_DATA_DIRS="${GIMP_PREFIX}/share:/mingw64/share/"
-#mkdir -p _ccache
-#export CCACHE_BASEDIR="$(pwd)"
-#export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
-#export CC="ccache gcc"
+mkdir -p _ccache
+export CCACHE_BASEDIR="$(pwd)"
+export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
+export CC="ccache gcc"
-#ccache --zero-stats
-#ccache --show-stats
+ccache --zero-stats
+ccache --show-stats
mkdir _build
cd _build
@@ -102,7 +103,7 @@ make -j4
make install
cd ..
-#ccache --show-stats
+ccache --show-stats
# XXX Moving back the prefix to be used as artifacts.
mv "${GIMP_PREFIX}" .
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]