Skip to content

Commit 1a847a2

Browse files
pcaspersjenkins
authored andcommitted
fix dockerfile ore
1 parent 20d11f1 commit 1a847a2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Docker/Dockerfile-ORE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN cd /ore \
2828
&& find -regex ".*\.\(sh\|in\|ac\|am\)" -exec dos2unix {} ';' \
2929
&& cp Docker/CMakeLists_ORE.txt CMakeLists.txt \
3030
&& mkdir -p build.ore && cd build.ore \
31-
&& cmake .. -DQL_USE_PCH=ON -DORE_BUILD_DOC=OFF -DCMAKE_BUILD_TYPE=${cmake_build_type} -DCMAKE_CXX_FLAGS="-mavx2" -DORE_ENABLE_PARALLEL_UNIT_TEST_RUNNER=ON -DORE_USE_ZLIB=ON -D ORE_ENABLE_OPENCL=ON
31+
&& cmake .. -DQL_USE_PCH=OFF -DORE_BUILD_DOC=OFF -DCMAKE_BUILD_TYPE=${cmake_build_type} -DCMAKE_CXX_FLAGS="-mavx2" -DORE_ENABLE_PARALLEL_UNIT_TEST_RUNNER=ON -DORE_USE_ZLIB=ON -D ORE_ENABLE_OPENCL=ON
3232

3333
WORKDIR /ore/build.ore
3434
RUN --mount=type=cache,target=/ccache/ ccache -z \

Docker/Dockerfile-QuantLib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ RUN apt-get update \
2121

2222
ENV PATH="/usr/lib/ccache:$PATH"
2323
ENV CCACHE_DIR="/ccache"
24-
#ENV CCACHE_SLOPPINESS="pch_defines,time_macros,pch_defines,time_macros,include_file_mtime,include_file_ctim"
2524
ENV CCACHE_MAXSIZE="10G"
25+
# needed if QL_USE_PCH is ON
26+
#ENV CCACHE_SLOPPINESS="pch_defines,time_macros,pch_defines,time_macros,include_file_mtime,include_file_ctim"
2627

2728
# - Need the dos2unix all if building from Windows because the shell
2829
# scripts fail if there are CRLF present in the files

0 commit comments

Comments
 (0)