or-tools: enable SCIP support#435899
Conversation
|
Thanks for removing the unnecessary argument from |
|
GaetanLepage
left a comment
There was a problem hiding this comment.
This breaks openroad.
|
|
I rebased this on top of master, and there were lots of regressions due to the CMake bump. I fixed everything up to
@GaetanLepage does this ring a bell for you? |
|
Yes, sounds like it... I don't have much more insight here. |
We don't use fetchzip anywhere.
|
It was indeed a wrong argument that SCIP passed to ctest - see scipopt/scip#169. I also took a closer look at the |
|
|
Is it ok we deal with this in a followup PR? |
Sure! |
This adds a new argument, withScip, defaulting to true, which will configure or-tools with SCIP support. or-tools usually is built with SCIP support, and only tested like this, see google/or-tools#4745. However, SCIP only was introduced to nixpkgs March 2025, that's probably why or-tools in nixpkgs came without it so far. If built with SCIP support, we need to propagate scip itself, otherwise downstream cmake consumers need to set SCIP_ROOT explicitly.
GaetanLepage
left a comment
There was a problem hiding this comment.
All good, thanks @flokli
This adds a new argument, withScip, defaulting to true, which will
configure or-tools with SCIP support.
or-tools usually is built with SCIP support, and only tested like this,
considering google/or-tools#4745.
However, SCIP only was introduced to nixpkgs March 2025, that's probably why or-tools in nixpkgs came without it so far.
I successfully built both variants on aarch64-linux and x86_64-linux.
cc @FettGoenner
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.