Skip to content

Commit

Permalink
try fix oracle python3
Browse files Browse the repository at this point in the history
  • Loading branch information
sgatto committed Aug 22, 2024
1 parent 285d17c commit 70e672a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if (NOT DEFINED ortools_REF)
message(FATAL_ERROR "ortools_REF is not defined")
endif ()
find_package (Python REQUIRED)
message("found PYTHON interpreter ${Python_EXECUTABLE} = " ${Python_EXECUTABLE})
FetchContent_Declare(ortools
GIT_REPOSITORY ${ortools_REPO}
GIT_TAG ${ortools_REF}
Expand All @@ -21,7 +22,7 @@ FetchContent_Declare(ortools
${CMAKE_CURRENT_SOURCE_DIR}/patch_utils.py
${CMAKE_CURRENT_SOURCE_DIR}/ortools
${CMAKE_CURRENT_SOURCE_DIR}/patchs
. && ${PYTHON_EXECUTABLE} patch.py
. && ${Python_EXECUTABLE} patch.py
OVERRIDE_FIND_PACKAGE ON
)
message("BUILD_DEPS: " ${BUILD_DEPS})
Expand Down
2 changes: 1 addition & 1 deletion docker/centos.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ FROM base AS devel
ARG SIRIUS=OFF
ARG SHARED=ON
ARG BUILD_EXAMPLES=OFF
ARG OR_REPO="https://github.com/rte-france/or-tools.git"
ARG OR_REPO="https://github.com/google/or-tools.git"
ARG OR_REF="stable"
WORKDIR /home/project
COPY . .
Expand Down

0 comments on commit 70e672a

Please sign in to comment.