Skip to content

Commit a12f870

Browse files
committed
cmake: system_deps build googletest
have to built it to have string_view support
1 parent 6b73f44 commit a12f870

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

cmake/docker/system_deps/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN pacman -Syu --noconfirm \
1212
coin-or-cbc coin-or-clp \
1313
glpk \
1414
scip \
15-
gtest benchmark
15+
benchmark
1616

1717
ENTRYPOINT ["/bin/bash", "-c"]
1818
CMD [ "/bin/bash" ]

cmake/docker/system_deps/cpp.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
1111
-DUSE_COINOR=ON \
1212
-DUSE_GLPK=ON \
1313
-DUSE_HIGHS=OFF \
14-
-DUSE_SCIP=ON
14+
-DUSE_SCIP=ON \
15+
-DBUILD_googletest=ON
1516
RUN cmake --build build --target all -v
1617
RUN cmake --build build --target install
1718

cmake/docker/system_deps/dotnet.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
1515
-DUSE_HIGHS=OFF \
1616
-DUSE_SCIP=ON \
1717
-DBUILD_DOTNET=ON \
18-
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
18+
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF \
19+
-DBUILD_googletest=ON
1920
RUN cmake --build build --target all -v
2021
RUN cmake --build build --target install
2122

cmake/docker/system_deps/java.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
1414
-DUSE_HIGHS=OFF \
1515
-DUSE_SCIP=ON \
1616
-DBUILD_JAVA=ON -DSKIP_GPG=ON \
17-
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
17+
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF \
18+
-DBUILD_googletest=ON
1819
RUN cmake --build build --target all -v
1920
RUN cmake --build build --target install
2021

cmake/docker/system_deps/python.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
2323
-DUSE_HIGHS=OFF \
2424
-DUSE_SCIP=ON \
2525
-DBUILD_PYTHON=ON \
26-
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
26+
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF \
27+
-DBUILD_googletest=ON
2728
RUN cmake --build build --target all -v
2829
RUN cmake --build build --target install
2930

0 commit comments

Comments
 (0)