Merge branch 'master' of github.com:google/or-tools
This commit is contained in:
@@ -5,7 +5,7 @@ LABEL maintainer="corentinl@google.com"
|
||||
# Install system build dependencies
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -yq git wget libssl-dev build-essential \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq git wget libssl-dev build-essential \
|
||||
ninja-build python3 pkgconf libglib2.0-dev \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
@@ -5,7 +5,7 @@ LABEL maintainer="corentinl@google.com"
|
||||
# Install system build dependencies
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -yq git wget libssl-dev build-essential \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq git wget libssl-dev build-essential \
|
||||
ninja-build python3 pkgconf libglib2.0-dev \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
@@ -5,7 +5,7 @@ LABEL maintainer="corentinl@google.com"
|
||||
# Install system build dependencies
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -yq git wget libssl-dev build-essential \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq git wget libssl-dev build-essential \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM ortools/cmake:ubuntu_swig AS env
|
||||
ENV PATH=/root/.local/bin:$PATH
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -yq python3-dev python3-pip python3-venv \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq python3-dev python3-pip python3-venv \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
|
||||
@@ -106,17 +106,17 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.18")
|
||||
FetchContent_Declare(
|
||||
protobuf
|
||||
GIT_REPOSITORY "https://github.com/protocolbuffers/protobuf.git"
|
||||
GIT_TAG "v3.15.8"
|
||||
GIT_TAG "v3.17.3"
|
||||
GIT_SUBMODULES ""
|
||||
PATCH_COMMAND git apply "${CMAKE_CURRENT_LIST_DIR}/../../../patches/protobuf-v3.15.8.patch"
|
||||
PATCH_COMMAND git apply "${CMAKE_CURRENT_LIST_DIR}/../../../patches/protobuf-v3.17.3.patch"
|
||||
SOURCE_SUBDIR cmake)
|
||||
FetchContent_MakeAvailable(protobuf)
|
||||
else()
|
||||
fetch_git_dependency(
|
||||
NAME Protobuf
|
||||
REPOSITORY "https://github.com/protocolbuffers/protobuf.git"
|
||||
TAG "v3.15.8"
|
||||
PATCH_COMMAND "git apply \"${CMAKE_CURRENT_LIST_DIR}/../../../patches/protobuf-v3.15.8.patch\""
|
||||
TAG "v3.17.3"
|
||||
PATCH_COMMAND "git apply \"${CMAKE_CURRENT_LIST_DIR}/../../../patches/protobuf-v3.17.3.patch\""
|
||||
SOURCE_SUBDIR cmake)
|
||||
endif()
|
||||
list(POP_BACK CMAKE_MESSAGE_INDENT)
|
||||
|
||||
Reference in New Issue
Block a user