Skip to content
Permalink
Browse files

build image with RelWithDebIndo type to benefit from cache

  • Loading branch information
3nids committed Nov 18, 2018
1 parent bd2f9f9 commit d23f2ada76952e83d50c08d3ee6e208012782fe4
Showing with 5 additions and 3 deletions.
  1. +1 −1 .ci/travis/linux/docker-build-test.sh
  2. +4 −2 .docker/qgis.dockerfile
@@ -6,7 +6,7 @@ set -e
# Setup ccache
##############
export CCACHE_TEMPDIR=/tmp
ccache -M 1G
ccache -M 2G

# Temporarily uncomment to debug ccache issues
# export CCACHE_LOGFILE=/tmp/cache.debug
@@ -16,16 +16,18 @@ ENV LANG=C.UTF-8

COPY . /usr/src/QGIS

WORKDIR /tmp
ENV CCACHE_TEMPDIR=/tmp
ENV CCACHE_DIR=/usr/src/QGIS/.ccache
RUN ccache -M 1G
RUN ccache -M 2G
RUN ccache -s

WORKDIR /usr/src/QGIS/build

RUN cmake \
-GNinja \
-DUSE_CCACHE=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DESKTOP=ON \
-DWITH_SERVER=ON \

0 comments on commit d23f2ad

Please sign in to comment.
You can’t perform that action at this time.