Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d23f2ad

Browse files
committedNov 18, 2018
build image with RelWithDebIndo type to benefit from cache
1 parent bd2f9f9 commit d23f2ad

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎.ci/travis/linux/docker-build-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66
# Setup ccache
77
##############
88
export CCACHE_TEMPDIR=/tmp
9-
ccache -M 1G
9+
ccache -M 2G
1010

1111
# Temporarily uncomment to debug ccache issues
1212
# export CCACHE_LOGFILE=/tmp/cache.debug

‎.docker/qgis.dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ ENV LANG=C.UTF-8
1616

1717
COPY . /usr/src/QGIS
1818

19+
WORKDIR /tmp
20+
ENV CCACHE_TEMPDIR=/tmp
1921
ENV CCACHE_DIR=/usr/src/QGIS/.ccache
20-
RUN ccache -M 1G
22+
RUN ccache -M 2G
2123
RUN ccache -s
2224

2325
WORKDIR /usr/src/QGIS/build
2426

2527
RUN cmake \
2628
-GNinja \
2729
-DUSE_CCACHE=OFF \
28-
-DCMAKE_BUILD_TYPE=Release \
30+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2931
-DCMAKE_INSTALL_PREFIX=/usr \
3032
-DWITH_DESKTOP=ON \
3133
-DWITH_SERVER=ON \

0 commit comments

Comments
 (0)
Please sign in to comment.