Skip to content

Build Python without build SCIp #4369

Discussion options

You must be logged in to vote

By default it is not supported, to make a standalone python package we have to ship with SCIP embedded to follow PEP 513..
ref: https://peps.python.org/pep-0513/#the-manylinux1-policy

Here BUILD_DEPS is forced to ON if any BUILD_<LANG> is enable.

or-tools/CMakeLists.txt

Lines 163 to 164 in f676293

if(BUILD_PYTHON OR BUILD_JAVA OR BUILD_DOTNET)
option(BUILD_DEPS "Build all dependencies" ON)

or-tools/CMakeLists.txt

Lines 283 to 287 in f676293

if(USE_SCIP)
CMAKE_DEPENDENT_OPTION(BUILD_SCIP "Build the SCIP dependency Library" OFF
"NOT BUILD_DEPS" ON)
message(STATUS "Build SCIP: ${BUILD_SCIP}")
endif()

Forced to ON (last param) if ex…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cvancrae
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants