Commit d5bd637f authored by GILLES Sebastien's avatar GILLES Sebastien

#1365 - #1342 Docker: replace cmake by the Python script.

parent 1a03a279
......@@ -41,7 +41,7 @@ WORKDIR MoReFEM
# ================================================================================================================
RUN mkdir build
WORKDIR build
RUN cmake -G Ninja -C ../cmake/PreCache/linux_gcc.cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug -DLIBRARY_TYPE=SHARED -DBUILD_MOREFEM_UNIQUE_LIBRARY=False -DMOREFEM_THIRD_PARTY_LIBRARIES_DIR=/opt ..
RUN python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux_gcc.cmake --cmake_args="-G Ninja" --install_directory=/opt/MoReFEM --third_party_directory=/opt --morefem_as_single_library=False --mode="Debug"
RUN ninja -j 4
......
......@@ -41,7 +41,8 @@ WORKDIR MoReFEM
# ================================================================================================================
RUN mkdir build
WORKDIR build
RUN cmake -G Ninja -C ../cmake/PreCache/linux_gcc.cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Release -DLIBRARY_TYPE=SHARED -DBUILD_MOREFEM_UNIQUE_LIBRARY=False -DMOREFEM_THIRD_PARTY_LIBRARIES_DIR=/opt ..
RUN python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux_gcc.cmake --cmake_args="-G Ninja" --install_directory=/opt/MoReFEM --third_party_directory=/opt --morefem_as_single_library=False --mode="Release"
RUN ninja -j 4
......
......@@ -41,7 +41,7 @@ WORKDIR MoReFEM
# ================================================================================================================
RUN mkdir build
WORKDIR build
RUN cmake -G Ninja -C ../cmake/PreCache/linux_gcc.cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug -DLIBRARY_TYPE=SHARED -DBUILD_MOREFEM_UNIQUE_LIBRARY=False -DMOREFEM_THIRD_PARTY_LIBRARIES_DIR=/opt ..
RUN python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux_gcc.cmake --cmake_args="-G Ninja" --install_directory=/opt/MoReFEM --third_party_directory=/opt --morefem_as_single_library=False --mode="Debug"
RUN ninja -j 4
......
......@@ -41,7 +41,7 @@ WORKDIR MoReFEM
# ================================================================================================================
RUN mkdir build
WORKDIR build
RUN cmake -G Ninja -C ../cmake/PreCache/linux_gcc.cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Release -DLIBRARY_TYPE=SHARED -DBUILD_MOREFEM_UNIQUE_LIBRARY=False -DMOREFEM_THIRD_PARTY_LIBRARIES_DIR=/opt ..
RUN python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux_gcc.cmake --cmake_args="-G Ninja" --install_directory=/opt/MoReFEM --third_party_directory=/opt --morefem_as_single_library=False --mode="Release"
RUN ninja -j 4
......
......@@ -40,7 +40,8 @@ WORKDIR MoReFEM
# ================================================================================================================
RUN mkdir build
WORKDIR build
RUN cmake -G Ninja -C ../cmake/PreCache/linux_gcc.cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug -DLIBRARY_TYPE=SHARED -DBUILD_MOREFEM_UNIQUE_LIBRARY=False -DMOREFEM_THIRD_PARTY_LIBRARIES_DIR=/opt ..
RUN python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux_gcc.cmake --cmake_args="-G Ninja" --install_directory=/opt/MoReFEM --third_party_directory=/opt --morefem_as_single_library=False --mode="Debug"
RUN ninja -j 4
......
......@@ -41,7 +41,7 @@ WORKDIR MoReFEM
# ================================================================================================================
RUN mkdir build
WORKDIR build
RUN cmake -G Ninja -C ../cmake/PreCache/linux_gcc.cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Release -DLIBRARY_TYPE=SHARED -DBUILD_MOREFEM_UNIQUE_LIBRARY=False -DMOREFEM_THIRD_PARTY_LIBRARIES_DIR=/opt ..
RUN python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux_gcc.cmake --cmake_args="-G Ninja" --install_directory=/opt/MoReFEM --third_party_directory=/opt --morefem_as_single_library=False --mode="Release"
RUN ninja -j 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment