File tree Expand file tree Collapse file tree 9 files changed +12
-14
lines changed
docker_file_wheelbuilder_linux_mpi
docker_file_wheelbuilder_linux
docker_file_wheelbuilder_windows Expand file tree Collapse file tree 9 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ echo "Kratos build type is ${KRATOS_BUILD_TYPE}"
3636cmake -H" ${KRATOS_SOURCE} " -B" ${KRATOS_BUILD} /${KRATOS_BUILD_TYPE} " \
3737${KRATOS_CMAKE_OPTIONS_FLAGS} \
3838-DUSE_MPI=ON \
39+ -DBOOST_ROOT=" /workspace/boost/boost_1_87_0" \
3940-DCMAKE_CXX_FLAGS=" ${KRATOS_CMAKE_CXX_FLAGS} -O0 -Wall" \
4041-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
4142-DTRILINOS_INCLUDE_DIR=" /usr/include/trilinos" \
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ echo "Kratos build type is ${KRATOS_BUILD_TYPE}"
3939cmake -H" ${KRATOS_SOURCE} " -B" ${KRATOS_BUILD} /${KRATOS_BUILD_TYPE} " \
4040${KRATOS_CMAKE_OPTIONS_FLAGS} \
4141-DUSE_MPI=ON \
42+ -DBOOST_ROOT=" /workspace/boost/boost_1_87_0" \
4243-DEXCLUDE_KRATOS_CORE=ON \
4344-DEXCLUDE_AUTOMATIC_DEPENDENCIES=ON \
4445-DREMOVE_INSTALL_DIRECTORIES=OFF \
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ echo "Kratos build type is ${KRATOS_BUILD_TYPE}"
4040cmake -H" ${KRATOS_SOURCE} " -B" ${KRATOS_BUILD} /${KRATOS_BUILD_TYPE} " \
4141${KRATOS_CMAKE_OPTIONS_FLAGS} \
4242-DUSE_MPI=ON \
43+ -DBOOST_ROOT=" /workspace/boost/boost_1_87_0" \
4344-DEXCLUDE_KRATOS_CORE=ON \
4445-DEXCLUDE_AUTOMATIC_DEPENDENCIES=ON \
4546-DREMOVE_INSTALL_DIRECTORIES=OFF \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ echo "Kratos build type is ${KRATOS_BUILD_TYPE}"
5454cmake -H" ${KRATOS_SOURCE} " -B" ${KRATOS_BUILD} /${KRATOS_BUILD_TYPE} " \
5555${KRATOS_CMAKE_OPTIONS_FLAGS} \
5656-DUSE_MPI=ON \
57+ -DBOOST_ROOT=" /workspace/boost/boost_1_87_0" \
5758-DEXCLUDE_KRATOS_CORE=ON \
5859-DEXCLUDE_AUTOMATIC_DEPENDENCIES=ON \
5960-DREMOVE_INSTALL_DIRECTORIES=OFF \
Original file line number Diff line number Diff line change @@ -14,13 +14,10 @@ RUN mkdir -p /workspace/scripts; \
1414 mkdir -p /workspace/kratos; \
1515 mkdir -p /workspace/boost
1616
17- # Install Boost (from source)
18- # RUN git clone -b 'boost-1.74.0' --depth 1 --recurse-submodules -j24 https://github.com/boostorg/boost.git /workspace/boost/boost_1_74_0
19-
2017# Install Boost (form zip)
21- RUN wget -P /workspace/boost https://archives.boost.io/release/1.74 .0/source/boost_1_74_0 .tar.gz; \
18+ RUN wget -P /workspace/boost https://archives.boost.io/release/1.87 .0/source/boost_1_87_0 .tar.gz; \
2219 tar -C /workspace/boost -xzf /workspace/boost/boost_1_74_0.tar.gz; \
23- rm /workspace/boost/boost_1_74_0 .tar.gz
20+ rm /workspace/boost/boost_1_87_0 .tar.gz
2421
2522# Install MMG 5.5.1
2623# Note ( upgraded from 5.4.1 because of https://github.com/MmgTools/mmg/issues/85)
Original file line number Diff line number Diff line change @@ -14,13 +14,10 @@ RUN mkdir -p /workspace/scripts; \
1414 mkdir -p /workspace/kratos; \
1515 mkdir -p /workspace/boost
1616
17- # Install Boost (from source)
18- # RUN git clone -b 'boost-1.74.0' --depth 1 --recurse-submodules -j24 https://github.com/boostorg/boost.git /workspace/boost/boost_1_74_0
19-
2017# Install Boost (form zip)
21- RUN wget -P /workspace/boost https://archives.boost.io/release/1.74 .0/source/boost_1_74_0 .tar.gz; \
22- tar -C /workspace/boost -xzf /workspace/boost/boost_1_74_0 .tar.gz; \
23- rm /workspace/boost/boost_1_74_0 .tar.gz
18+ RUN wget -P /workspace/boost https://archives.boost.io/release/1.87 .0/source/boost_1_87_0 .tar.gz; \
19+ tar -C /workspace/boost -xzf /workspace/boost/boost_1_87_0 .tar.gz; \
20+ rm /workspace/boost/boost_1_87_0 .tar.gz
2421
2522# Install MMG 5.5.1
2623# Note ( upgraded from 5.4.1 because of https://github.com/MmgTools/mmg/issues/85)
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN powershell.exe -Command \
4141# download and extract boost
4242RUN powershell.exe -Command \
4343 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
44- wget https://archives.boost.io/release/1.74 .0/source/boost_1_74_0 .zip -OutFile c:\T EMP\b oost.zip; \
44+ wget https://archives.boost.io/release/1.87 .0/source/boost_1_87_0 .zip -OutFile c:\T EMP\b oost.zip; \
4545 mkdir c:\b oost; \
4646 7z x c:\T EMP\b oost.zip -o"c:\b oost"
4747
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ cmake -H"${KRATOS_SOURCE}" -B"${KRATOS_BUILD}/${KRATOS_BUILD_TYPE}" \
6969-DCMAKE_CXX_COMPILER=/opt/rh/devtoolset-8/root/usr/bin/g++ \
7070-DCMAKE_CXX_FLAGS=" -msse3 -std=c++11 " \
7171-DCMAKE_C_FLAGS=" -msse3" \
72- -DBOOST_ROOT=" /workspace/boost/boost_1_74_0 " \
72+ -DBOOST_ROOT=" /workspace/boost/boost_1_87_0 " \
7373-DLAPACK_LIBRARIES=" /usr/lib64/liblapack.so.3" \
7474-DBLAS_LIBRARIES=" /usr/lib64/libblas.so.3" \
7575-DINCLUDE_MMG=ON \
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ cmake -H"${KRATOS_SOURCE}" -B"${KRATOS_BUILD}/${KRATOS_BUILD_TYPE}" \
7474-DCMAKE_CXX_COMPILER=g++ \
7575-DCMAKE_CXX_FLAGS=" -msse3 -std=c++11 " \
7676-DCMAKE_C_FLAGS=" -msse3" \
77- -DBOOST_ROOT=" /workspace/boost/boost_1_74_0 " \
77+ -DBOOST_ROOT=" /workspace/boost/boost_1_87_0 " \
7878-DINCLUDE_MMG=ON \
7979-DMMG_ROOT=" /workspace/external_libraries/mmg/mmg_5_5_1" \
8080-DKRATOS_BUILD_TESTING=OFF \
You can’t perform that action at this time.
0 commit comments