Skip to content

or-tools: enable SCIP support#435899

Merged
GaetanLepage merged 4 commits intoNixOS:masterfrom
flokli:or-tools-scip
Oct 8, 2025
Merged

or-tools: enable SCIP support#435899
GaetanLepage merged 4 commits intoNixOS:masterfrom
flokli:or-tools-scip

Conversation

@flokli
Copy link
Member

@flokli flokli commented Aug 22, 2025

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

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@flokli flokli requested review from GaetanLepage and andersk August 22, 2025 14:47
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Aug 22, 2025
@pmeinhold
Copy link
Contributor

Thanks for removing the unnecessary argument from scipopt-scip! :)
Looks good to me!

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 22, 2025
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 435899
Commit: 9b9bc57f7dc36387c662833d400fa0b454de86a8


x86_64-linux

❌ 1 package failed to build:
  • openroad
✅ 3 packages built:
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)

Error logs: `x86_64-linux`
openroad
-- TCL readline library: /nix/store/4caxmwz4yph7b55i6x83dd3an99wf2xz-tclreadline-2.4.1/lib/libtclreadline.so
-- TCL readline header: /nix/store/4caxmwz4yph7b55i6x83dd3an99wf2xz-tclreadline-2.4.1/include/tclreadline.h
-- CUDD library: /nix/store/pxnva0qn5dwhn714wlvgjc3ilpn76bnz-cudd-3.0.0/lib/libcudd.a
-- CUDD header: /nix/store/pxnva0qn5dwhn714wlvgjc3ilpn76bnz-cudd-3.0.0/include/cudd.h
-- SSTA: 0
-- Found SWIG: /nix/store/l365s6fwm2i0hq1bvm0crf149z6lskjd-swig-4.3.1/bin/swig (found suitable version "4.3.1", minimum required is "3.0")
-- STA executable: /build/source/src/sta/app/sta
-- Found Protobuf: /nix/store/b882rkpp80z0yqkwriayml6ggc7zbych-protobuf-29.5/lib/libprotobuf.so (found version "5.29.5")
-- Found re2: /nix/store/03rs4nbqnh9pk9ys4a0v8fdld5prxy8l-re2-2024-07-02-dev/lib/cmake/re2/re2Config.cmake (found version "11.0.0")
-- Found GLPK: /nix/store/xhlj1ndvz6bxpipzwld6kzcvdjaavmcc-glpk-5.0/lib/libglpk.so
-- SCIP_ROOT: 
CMake Error at /nix/store/ff3wm1ixdr1d6n0krcdaplpaxw3k36xl-or-tools-9.12/lib/cmake/ortools/modules/FindSCIP.cmake:67 (message):
  SCIP_ROOT: not found
Call Stack (most recent call first):
  /nix/store/a3w3ka2d796ghlhf31il839c0658m5ih-cmake-3.31.7/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /nix/store/ff3wm1ixdr1d6n0krcdaplpaxw3k36xl-or-tools-9.12/lib/cmake/ortools/ortoolsConfig.cmake:84 (find_dependency)
  src/gpl/CMakeLists.txt:44 (find_package)

-- Configuring incomplete, errors occurred!

Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks openroad.

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 435899

Logs: https://github.com/GaetanLepage/nixpkgs-review-gha/actions/runs/17166832138


x86_64-linux

❌ 1 package failed to build:
  • openroad
✅ 3 packages built:
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)

Error logs: `x86_64-linux`
openroad
-- TCL readline library: /nix/store/4caxmwz4yph7b55i6x83dd3an99wf2xz-tclreadline-2.4.1/lib/libtclreadline.so
-- TCL readline header: /nix/store/4caxmwz4yph7b55i6x83dd3an99wf2xz-tclreadline-2.4.1/include/tclreadline.h
-- CUDD library: /nix/store/pxnva0qn5dwhn714wlvgjc3ilpn76bnz-cudd-3.0.0/lib/libcudd.a
-- CUDD header: /nix/store/pxnva0qn5dwhn714wlvgjc3ilpn76bnz-cudd-3.0.0/include/cudd.h
-- SSTA: 0
-- Found SWIG: /nix/store/l365s6fwm2i0hq1bvm0crf149z6lskjd-swig-4.3.1/bin/swig (found suitable version "4.3.1", minimum required is "3.0")
-- STA executable: /build/source/src/sta/app/sta
-- Found Protobuf: /nix/store/b882rkpp80z0yqkwriayml6ggc7zbych-protobuf-29.5/lib/libprotobuf.so (found version "5.29.5")
-- Found re2: /nix/store/03rs4nbqnh9pk9ys4a0v8fdld5prxy8l-re2-2024-07-02-dev/lib/cmake/re2/re2Config.cmake (found version "11.0.0")
-- Found GLPK: /nix/store/xhlj1ndvz6bxpipzwld6kzcvdjaavmcc-glpk-5.0/lib/libglpk.so
-- SCIP_ROOT: 
CMake Error at /nix/store/ff3wm1ixdr1d6n0krcdaplpaxw3k36xl-or-tools-9.12/lib/cmake/ortools/modules/FindSCIP.cmake:67 (message):
  SCIP_ROOT: not found
Call Stack (most recent call first):
  /nix/store/a3w3ka2d796ghlhf31il839c0658m5ih-cmake-3.31.7/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /nix/store/ff3wm1ixdr1d6n0krcdaplpaxw3k36xl-or-tools-9.12/lib/cmake/ortools/ortoolsConfig.cmake:84 (find_dependency)
  src/gpl/CMakeLists.txt:44 (find_package)

-- Configuring incomplete, errors occurred!


aarch64-linux

❌ 1 package failed to build:
  • openroad
✅ 3 packages built:
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)

Error logs: `aarch64-linux`
openroad
-- TCL readline library: /nix/store/5xx71819pssbyvm10gkcrmj9rld5kmkw-tclreadline-2.4.1/lib/libtclreadline.so
-- TCL readline header: /nix/store/5xx71819pssbyvm10gkcrmj9rld5kmkw-tclreadline-2.4.1/include/tclreadline.h
-- CUDD library: /nix/store/d9lp152qicqnk15c1zx21p8zbq3d4w5p-cudd-3.0.0/lib/libcudd.a
-- CUDD header: /nix/store/d9lp152qicqnk15c1zx21p8zbq3d4w5p-cudd-3.0.0/include/cudd.h
-- SSTA: 0
-- Found SWIG: /nix/store/xqf8v3kxjq8p798lp01ddrwrvxhxmb88-swig-4.3.1/bin/swig (found suitable version "4.3.1", minimum required is "3.0")
-- STA executable: /build/source/src/sta/app/sta
-- Found Protobuf: /nix/store/85jnqlw2gq66wdlz4mypnlj2yrxnxkyn-protobuf-29.5/lib/libprotobuf.so (found version "5.29.5")
-- Found re2: /nix/store/i63vakgidmfk5d2vhzs2akpgsm27p7hs-re2-2024-07-02-dev/lib/cmake/re2/re2Config.cmake (found version "11.0.0")
-- Found GLPK: /nix/store/ppccsy9rlk3f2l4b451d3lnsbmlicrcz-glpk-5.0/lib/libglpk.so
-- SCIP_ROOT: 
CMake Error at /nix/store/x6g229g5x7jv97jhdbr3yv67ncvkb6xm-or-tools-9.12/lib/cmake/ortools/modules/FindSCIP.cmake:67 (message):
  SCIP_ROOT: not found
Call Stack (most recent call first):
  /nix/store/2pbjx4gij8dvgs4cmh01dny1727jy5mi-cmake-3.31.7/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /nix/store/x6g229g5x7jv97jhdbr3yv67ncvkb6xm-or-tools-9.12/lib/cmake/ortools/ortoolsConfig.cmake:84 (find_dependency)
  src/gpl/CMakeLists.txt:44 (find_package)

-- Configuring incomplete, errors occurred!


x86_64-darwin (sandbox = true)

❌ 4 packages failed to build:
  • openroad
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)

aarch64-darwin (sandbox = true)

❌ 4 packages failed to build:
  • openroad
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. and removed 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Oct 6, 2025
@nix-owners nix-owners bot requested a review from trepetti October 6, 2025 07:01
@flokli
Copy link
Member Author

flokli commented Oct 6, 2025

I rebased this on top of master, and there were lots of regressions due to the CMake bump. I fixed everything up to scipopt-scip itself, which seems to build fine, but then fail building the tests:

make[3]: Leaving directory '/build/source/build'
make  -f src/CMakeFiles/scip.dir/build.make src/CMakeFiles/scip.dir/build
make[3]: Entering directory '/build/source/build'
[  0%] Building C object src/CMakeFiles/scip.dir/scip/scipgithash.c.o
cd /build/source/build/src && /nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/gcc -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DSCIP_STATIC_DEFINE -I/build/source/build -I/build/source/src -I/build/source/src/amplmp/include -I/build/source/src/nauty -I/nix/store/hgjan9mjl8mpw5av6vbzzz6qv08yfvrj-ipopt-3.14.19/include/coin-or -O3 -DNDEBUG -std=c99 -ffp-contract=off -pedantic -Wall -W -Wpointer-arith -Wcast-align -Wwrite-strings -Wshadow -Wredundant-decls -Wdisabled-optimization -Wno-long-long -Wno-unknown-pragmas -Wno-unused-parameter -Wsign-compare -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wno-override-init -Wno-uninitialized -Wno-maybe-uninitialized -D_XOPEN_SOURCE=600 -Wno-shadow -MD -MT src/CMakeFiles/scip.dir/scip/scipgithash.c.o -MF CMakeFiles/scip.dir/scip/scipgithash.c.o.d -o CMakeFiles/scip.dir/scip/scipgithash.c.o -c /build/source/src/scip/scipgithash.c
[  0%] Linking CXX executable ../bin/scip
cd /build/source/build/src && /nix/store/2lrbixyw95bjg0x1aav648r0h0zsj2jl-cmake-4.1.1/bin/cmake -E cmake_link_script CMakeFiles/scip.dir/link.txt --verbose=y
/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/g++ -O3 -DNDEBUG -Wl,--dependency-file=CMakeFiles/scip.dir/link.d CMakeFiles/scip.dir/main.c.o CMakeFiles/scip.dir/__/scipbuildflag.c.o CMakeFiles/scip.dir/blockmemshell/memory.c.o CMakeFiles/scip.dir/scip/message.c.o CMakeFiles/scip.dir/scip/bitencode.c.o CMakeFiles/scip.dir/scip/bandit.c.o CMakeFiles/scip.dir/scip/bandit_epsgreedy.c.o CMakeFiles/scip.dir/scip/bandit_exp3.c.o CMakeFiles/scip.dir/scip/bandit_exp3ix.c.o CMakeFiles/scip.dir/scip/bandit_ucb.c.o CMakeFiles/scip.dir/scip/branch_allfullstrong.c.o CMakeFiles/scip.dir/scip/branch_cloud.c.o CMakeFiles/scip.dir/scip/branch_distribution.c.o CMakeFiles/scip.dir/scip/branch_fullstrong.c.o CMakeFiles/scip.dir/scip/branch_gomory.c.o CMakeFiles/scip.dir/scip/branch_inference.c.o CMakeFiles/scip.dir/scip/branch_leastinf.c.o CMakeFiles/scip.dir/scip/branch_lookahead.c.o CMakeFiles/scip.dir/scip/branch_mostinf.c.o CMakeFiles/scip.dir/scip/branch_multaggr.c.o CMakeFiles/scip.dir/scip/branch_nodereopt.c.o CMakeFiles/scip.dir/scip/branch_pscost.c.o CMakeFiles/scip.dir/scip/branch_random.c.o CMakeFiles/scip.dir/scip/branch_relpscost.c.o CMakeFiles/scip.dir/scip/branch_vanillafullstrong.c.o CMakeFiles/scip.dir/scip/compr_largestrepr.c.o CMakeFiles/scip.dir/scip/compr_weakcompr.c.o CMakeFiles/scip.dir/scip/concsolver_scip.c.o CMakeFiles/scip.dir/scip/cons_abspower.c.o CMakeFiles/scip.dir/scip/cons_and.c.o CMakeFiles/scip.dir/scip/cons_benders.c.o CMakeFiles/scip.dir/scip/cons_benderslp.c.o CMakeFiles/scip.dir/scip/cons_bounddisjunction.c.o CMakeFiles/scip.dir/scip/cons_cardinality.c.o CMakeFiles/scip.dir/scip/cons_components.c.o CMakeFiles/scip.dir/scip/cons_conjunction.c.o CMakeFiles/scip.dir/scip/cons_countsols.c.o CMakeFiles/scip.dir/scip/cons_cumulative.c.o CMakeFiles/scip.dir/scip/cons_disjunction.c.o CMakeFiles/scip.dir/scip/cons_fixedvar.c.o CMakeFiles/scip.dir/scip/cons_indicator.c.o CMakeFiles/scip.dir/scip/cons_integral.c.o CMakeFiles/scip.dir/scip/cons_knapsack.c.o CMakeFiles/scip.dir/scip/cons_linear.c.o CMakeFiles/scip.dir/scip/cons_linking.c.o CMakeFiles/scip.dir/scip/cons_logicor.c.o CMakeFiles/scip.dir/scip/cons_nonlinear.c.o CMakeFiles/scip.dir/scip/cons_or.c.o CMakeFiles/scip.dir/scip/cons_orbisack.c.o CMakeFiles/scip.dir/scip/cons_orbitope.c.o CMakeFiles/scip.dir/scip/cons_pseudoboolean.c.o CMakeFiles/scip.dir/scip/cons_quadratic.c.o CMakeFiles/scip.dir/scip/cons_setppc.c.o CMakeFiles/scip.dir/scip/cons_soc.c.o CMakeFiles/scip.dir/scip/cons_sos1.c.o CMakeFiles/scip.dir/scip/cons_sos2.c.o CMakeFiles/scip.dir/scip/cons_superindicator.c.o CMakeFiles/scip.dir/scip/cons_symresack.c.o CMakeFiles/scip.dir/scip/cons_varbound.c.o CMakeFiles/scip.dir/scip/cons_xor.c.o CMakeFiles/scip.dir/scip/cutsel_ensemble.c.o CMakeFiles/scip.dir/scip/cutsel_hybrid.c.o CMakeFiles/scip.dir/scip/cutsel_dynamic.c.o CMakeFiles/scip.dir/scip/dcmp.c.o CMakeFiles/scip.dir/scip/dialog_default.c.o CMakeFiles/scip.dir/scip/event_globalbnd.c.o CMakeFiles/scip.dir/scip/event_estim.c.o CMakeFiles/scip.dir/scip/event_shadowtree.c.o CMakeFiles/scip.dir/scip/event_softtimelimit.c.o CMakeFiles/scip.dir/scip/event_solvingphase.c.o CMakeFiles/scip.dir/scip/expr_abs.c.o CMakeFiles/scip.dir/scip/expr_entropy.c.o CMakeFiles/scip.dir/scip/expr_erf.c.o CMakeFiles/scip.dir/scip/expr_exp.c.o CMakeFiles/scip.dir/scip/expr_log.c.o CMakeFiles/scip.dir/scip/expr_pow.c.o CMakeFiles/scip.dir/scip/expr_product.c.o CMakeFiles/scip.dir/scip/expr_sum.c.o CMakeFiles/scip.dir/scip/expr_trig.c.o CMakeFiles/scip.dir/scip/expr_value.c.o CMakeFiles/scip.dir/scip/expr_var.c.o CMakeFiles/scip.dir/scip/expr_varidx.c.o CMakeFiles/scip.dir/scip/exprinterpret_cppad.cpp.o CMakeFiles/scip.dir/scip/disp_default.c.o CMakeFiles/scip.dir/scip/heur_actconsdiving.c.o CMakeFiles/scip.dir/scip/heur_adaptivediving.c.o CMakeFiles/scip.dir/scip/heur_bound.c.o CMakeFiles/scip.dir/scip/heur_clique.c.o CMakeFiles/scip.dir/scip/heur_coefdiving.c.o CMakeFiles/scip.dir/scip/heur_completesol.c.o CMakeFiles/scip.dir/scip/heur_conflictdiving.c.o CMakeFiles/scip.dir/scip/heur_crossover.c.o CMakeFiles/scip.dir/scip/heur_dins.c.o CMakeFiles/scip.dir/scip/heur_distributiondiving.c.o CMakeFiles/scip.dir/scip/heur_dps.c.o CMakeFiles/scip.dir/scip/heur_dualval.c.o CMakeFiles/scip.dir/scip/heur_farkasdiving.c.o CMakeFiles/scip.dir/scip/heur_feaspump.c.o CMakeFiles/scip.dir/scip/heur_fixandinfer.c.o CMakeFiles/scip.dir/scip/heur_fracdiving.c.o CMakeFiles/scip.dir/scip/heur_gins.c.o CMakeFiles/scip.dir/scip/heur_guideddiving.c.o CMakeFiles/scip.dir/scip/heur_indicator.c.o CMakeFiles/scip.dir/scip/heur_indicatordiving.c.o CMakeFiles/scip.dir/scip/heur_intdiving.c.o CMakeFiles/scip.dir/scip/heur_intshifting.c.o CMakeFiles/scip.dir/scip/heur_linesearchdiving.c.o CMakeFiles/scip.dir/scip/heur_localbranching.c.o CMakeFiles/scip.dir/scip/heur_lpface.c.o CMakeFiles/scip.dir/scip/heur_locks.c.o CMakeFiles/scip.dir/scip/heur_alns.c.o CMakeFiles/scip.dir/scip/heur_mutation.c.o CMakeFiles/scip.dir/scip/heur_multistart.c.o CMakeFiles/scip.dir/scip/heur_mpec.c.o CMakeFiles/scip.dir/scip/heur_nlpdiving.c.o CMakeFiles/scip.dir/scip/heur_objpscostdiving.c.o CMakeFiles/scip.dir/scip/heur_octane.c.o CMakeFiles/scip.dir/scip/heur_ofins.c.o CMakeFiles/scip.dir/scip/heur_oneopt.c.o CMakeFiles/scip.dir/scip/heur_padm.c.o CMakeFiles/scip.dir/scip/heur_proximity.c.o CMakeFiles/scip.dir/scip/heur_pscostdiving.c.o CMakeFiles/scip.dir/scip/heur_reoptsols.c.o CMakeFiles/scip.dir/scip/heur_repair.c.o CMakeFiles/scip.dir/scip/heur_randrounding.c.o CMakeFiles/scip.dir/scip/heur_rens.c.o CMakeFiles/scip.dir/scip/heur_rins.c.o CMakeFiles/scip.dir/scip/heur_rootsoldiving.c.o CMakeFiles/scip.dir/scip/heur_rounding.c.o CMakeFiles/scip.dir/scip/heur_scheduler.c.o CMakeFiles/scip.dir/scip/heur_shiftandpropagate.c.o CMakeFiles/scip.dir/scip/heur_shifting.c.o CMakeFiles/scip.dir/scip/heur_simplerounding.c.o CMakeFiles/scip.dir/scip/heur_subnlp.c.o CMakeFiles/scip.dir/scip/heur_sync.c.o CMakeFiles/scip.dir/scip/heur_trivial.c.o CMakeFiles/scip.dir/scip/heur_trivialnegation.c.o CMakeFiles/scip.dir/scip/heur_trustregion.c.o CMakeFiles/scip.dir/scip/heur_trysol.c.o CMakeFiles/scip.dir/scip/heur_twoopt.c.o CMakeFiles/scip.dir/scip/heur_undercover.c.o CMakeFiles/scip.dir/scip/heur_vbounds.c.o CMakeFiles/scip.dir/scip/heur_veclendiving.c.o CMakeFiles/scip.dir/scip/heur_zeroobj.c.o CMakeFiles/scip.dir/scip/heur_zirounding.c.o CMakeFiles/scip.dir/scip/message_default.c.o CMakeFiles/scip.dir/scip/nlhdlr_bilinear.c.o CMakeFiles/scip.dir/scip/nlhdlr_convex.c.o CMakeFiles/scip.dir/scip/nlhdlr_default.c.o CMakeFiles/scip.dir/scip/nlhdlr_perspective.c.o CMakeFiles/scip.dir/scip/nlhdlr_quadratic.c.o CMakeFiles/scip.dir/scip/nlhdlr_quotient.c.o CMakeFiles/scip.dir/scip/nlhdlr_signomial.c.o CMakeFiles/scip.dir/scip/nlhdlr_soc.c.o CMakeFiles/scip.dir/scip/nlpi_all.c.o CMakeFiles/scip.dir/scip/nlpi_ipopt.cpp.o CMakeFiles/scip.dir/scip/nlpi_worhp_dummy.c.o CMakeFiles/scip.dir/scip/nlpi_filtersqp_dummy.c.o CMakeFiles/scip.dir/scip/nodesel_bfs.c.o CMakeFiles/scip.dir/scip/nodesel_breadthfirst.c.o CMakeFiles/scip.dir/scip/nodesel_dfs.c.o CMakeFiles/scip.dir/scip/nodesel_estimate.c.o CMakeFiles/scip.dir/scip/nodesel_hybridestim.c.o CMakeFiles/scip.dir/scip/nodesel_restartdfs.c.o CMakeFiles/scip.dir/scip/nodesel_uct.c.o CMakeFiles/scip.dir/scip/presol_milp.cpp.o CMakeFiles/scip.dir/scip/presol_boundshift.c.o CMakeFiles/scip.dir/scip/presol_convertinttobin.c.o CMakeFiles/scip.dir/scip/presol_domcol.c.o CMakeFiles/scip.dir/scip/presol_dualagg.c.o CMakeFiles/scip.dir/scip/presol_dualcomp.c.o CMakeFiles/scip.dir/scip/presol_dualinfer.c.o CMakeFiles/scip.dir/scip/presol_gateextraction.c.o CMakeFiles/scip.dir/scip/presol_implics.c.o CMakeFiles/scip.dir/scip/presol_inttobinary.c.o CMakeFiles/scip.dir/scip/presol_qpkktref.c.o CMakeFiles/scip.dir/scip/presol_redvub.c.o CMakeFiles/scip.dir/scip/presol_sparsify.c.o CMakeFiles/scip.dir/scip/presol_dualsparsify.c.o CMakeFiles/scip.dir/scip/presol_stuffing.c.o CMakeFiles/scip.dir/scip/presol_trivial.c.o CMakeFiles/scip.dir/scip/presol_tworowbnd.c.o CMakeFiles/scip.dir/scip/prop_dualfix.c.o CMakeFiles/scip.dir/scip/prop_genvbounds.c.o CMakeFiles/scip.dir/scip/prop_nlobbt.c.o CMakeFiles/scip.dir/scip/prop_obbt.c.o CMakeFiles/scip.dir/scip/prop_probing.c.o CMakeFiles/scip.dir/scip/prop_pseudoobj.c.o CMakeFiles/scip.dir/scip/prop_redcost.c.o CMakeFiles/scip.dir/scip/prop_rootredcost.c.o CMakeFiles/scip.dir/scip/prop_symmetry.c.o CMakeFiles/scip.dir/scip/prop_vbounds.c.o CMakeFiles/scip.dir/scip/prop_sync.c.o CMakeFiles/scip.dir/scip/reader_bnd.c.o CMakeFiles/scip.dir/scip/reader_ccg.c.o CMakeFiles/scip.dir/scip/reader_cip.c.o CMakeFiles/scip.dir/scip/reader_cnf.c.o CMakeFiles/scip.dir/scip/reader_cor.c.o CMakeFiles/scip.dir/scip/reader_dec.c.o CMakeFiles/scip.dir/scip/reader_diff.c.o CMakeFiles/scip.dir/scip/reader_fix.c.o CMakeFiles/scip.dir/scip/reader_fzn.c.o CMakeFiles/scip.dir/scip/reader_gms.c.o CMakeFiles/scip.dir/scip/reader_lp.c.o CMakeFiles/scip.dir/scip/reader_mps.c.o CMakeFiles/scip.dir/scip/reader_mst.c.o CMakeFiles/scip.dir/scip/reader_opb.c.o CMakeFiles/scip.dir/scip/reader_osil.c.o CMakeFiles/scip.dir/scip/reader_pip.c.o CMakeFiles/scip.dir/scip/reader_pbm.c.o CMakeFiles/scip.dir/scip/reader_ppm.c.o CMakeFiles/scip.dir/scip/reader_rlp.c.o CMakeFiles/scip.dir/scip/reader_sol.c.o CMakeFiles/scip.dir/scip/reader_sto.c.o CMakeFiles/scip.dir/scip/reader_smps.c.o CMakeFiles/scip.dir/scip/reader_tim.c.o CMakeFiles/scip.dir/scip/reader_wbo.c.o CMakeFiles/scip.dir/scip/reader_zpl.c.o CMakeFiles/scip.dir/scip/sepa_cgmip.c.o CMakeFiles/scip.dir/scip/sepa_clique.c.o CMakeFiles/scip.dir/scip/sepa_closecuts.c.o CMakeFiles/scip.dir/scip/sepa_aggregation.c.o CMakeFiles/scip.dir/scip/sepa_convexproj.c.o CMakeFiles/scip.dir/scip/sepa_disjunctive.c.o CMakeFiles/scip.dir/scip/sepa_eccuts.c.o CMakeFiles/scip.dir/scip/sepa_gauge.c.o CMakeFiles/scip.dir/scip/sepa_gomory.c.o CMakeFiles/scip.dir/scip/sepa_impliedbounds.c.o CMakeFiles/scip.dir/scip/sepa_interminor.c.o CMakeFiles/scip.dir/scip/sepa_intobj.c.o CMakeFiles/scip.dir/scip/sepa_lagromory.c.o CMakeFiles/scip.dir/scip/sepa_mcf.c.o CMakeFiles/scip.dir/scip/sepa_minor.c.o CMakeFiles/scip.dir/scip/sepa_mixing.c.o CMakeFiles/scip.dir/scip/sepa_oddcycle.c.o CMakeFiles/scip.dir/scip/sepa_rapidlearning.c.o CMakeFiles/scip.dir/scip/sepa_rlt.c.o CMakeFiles/scip.dir/scip/sepa_zerohalf.c.o CMakeFiles/scip.dir/scip/treemodel.c.o CMakeFiles/scip.dir/scip/benders_default.c.o CMakeFiles/scip.dir/scip/benderscut_feas.c.o CMakeFiles/scip.dir/scip/benderscut_feasalt.c.o CMakeFiles/scip.dir/scip/benderscut_int.c.o CMakeFiles/scip.dir/scip/benderscut_nogood.c.o CMakeFiles/scip.dir/scip/benderscut_opt.c.o CMakeFiles/scip.dir/scip/table_default.c.o CMakeFiles/scip.dir/scip/benders.c.o CMakeFiles/scip.dir/scip/benderscut.c.o CMakeFiles/scip.dir/scip/bendersdefcuts.c.o CMakeFiles/scip.dir/scip/boundstore.c.o CMakeFiles/scip.dir/scip/branch.c.o CMakeFiles/scip.dir/scip/clock.c.o CMakeFiles/scip.dir/scip/concsolver.c.o CMakeFiles/scip.dir/scip/concurrent.c.o CMakeFiles/scip.dir/scip/conflict_general.c.o CMakeFiles/scip.dir/scip/conflict_graphanalysis.c.o CMakeFiles/scip.dir/scip/conflict_dualproofanalysis.c.o CMakeFiles/scip.dir/scip/conflictstore.c.o CMakeFiles/scip.dir/scip/cons.c.o CMakeFiles/scip.dir/scip/cutpool.c.o CMakeFiles/scip.dir/scip/cuts.c.o CMakeFiles/scip.dir/scip/cutsel.c.o CMakeFiles/scip.dir/scip/debug.c.o CMakeFiles/scip.dir/scip/dialog.c.o CMakeFiles/scip.dir/scip/disp.c.o CMakeFiles/scip.dir/scip/event.c.o CMakeFiles/scip.dir/scip/expr.c.o CMakeFiles/scip.dir/scip/exprcurv.c.o CMakeFiles/scip.dir/scip/expriter.c.o CMakeFiles/scip.dir/scip/fileio.c.o CMakeFiles/scip.dir/scip/heur.c.o CMakeFiles/scip.dir/scip/heuristics.c.o CMakeFiles/scip.dir/scip/compr.c.o CMakeFiles/scip.dir/scip/history.c.o CMakeFiles/scip.dir/scip/implics.c.o CMakeFiles/scip.dir/scip/interrupt.c.o CMakeFiles/scip.dir/scip/intervalarith.c.o CMakeFiles/scip.dir/scip/lapack_calls.c.o CMakeFiles/scip.dir/scip/lp.c.o CMakeFiles/scip.dir/scip/matrix.c.o CMakeFiles/scip.dir/scip/mem.c.o CMakeFiles/scip.dir/scip/misc.c.o CMakeFiles/scip.dir/scip/misc_linear.c.o CMakeFiles/scip.dir/scip/misc_rowprep.c.o CMakeFiles/scip.dir/scip/nlhdlr.c.o CMakeFiles/scip.dir/scip/nlp.c.o CMakeFiles/scip.dir/scip/nlpi.c.o CMakeFiles/scip.dir/scip/nlpioracle.c.o CMakeFiles/scip.dir/scip/nodesel.c.o CMakeFiles/scip.dir/scip/paramset.c.o CMakeFiles/scip.dir/scip/presol.c.o CMakeFiles/scip.dir/scip/presolve.c.o CMakeFiles/scip.dir/scip/pricestore.c.o CMakeFiles/scip.dir/scip/pricer.c.o CMakeFiles/scip.dir/scip/primal.c.o CMakeFiles/scip.dir/scip/prob.c.o CMakeFiles/scip.dir/scip/prop.c.o CMakeFiles/scip.dir/scip/reader.c.o CMakeFiles/scip.dir/scip/relax.c.o CMakeFiles/scip.dir/scip/reopt.c.o CMakeFiles/scip.dir/scip/retcode.c.o CMakeFiles/scip.dir/scip/scip_bandit.c.o CMakeFiles/scip.dir/scip/scip_benders.c.o CMakeFiles/scip.dir/scip/scip_branch.c.o CMakeFiles/scip.dir/scip/scip_compr.c.o CMakeFiles/scip.dir/scip/scip_concurrent.c.o CMakeFiles/scip.dir/scip/scip_conflict.c.o CMakeFiles/scip.dir/scip/scip_cons.c.o CMakeFiles/scip.dir/scip/scip_copy.c.o CMakeFiles/scip.dir/scip/scip_cut.c.o CMakeFiles/scip.dir/scip/scip_cutsel.c.o CMakeFiles/scip.dir/scip/scip_datastructures.c.o CMakeFiles/scip.dir/scip/scip_debug.c.o CMakeFiles/scip.dir/scip/scip_dcmp.c.o CMakeFiles/scip.dir/scip/scip_dialog.c.o CMakeFiles/scip.dir/scip/scip_disp.c.o CMakeFiles/scip.dir/scip/scip_event.c.o CMakeFiles/scip.dir/scip/scip_expr.c.o CMakeFiles/scip.dir/scip/scip_general.c.o CMakeFiles/scip.dir/scip/scip_heur.c.o CMakeFiles/scip.dir/scip/scip_lp.c.o CMakeFiles/scip.dir/scip/scip_mem.c.o CMakeFiles/scip.dir/scip/scip_message.c.o CMakeFiles/scip.dir/scip/scip_nlp.c.o CMakeFiles/scip.dir/scip/scip_nlpi.c.o CMakeFiles/scip.dir/scip/scip_nodesel.c.o CMakeFiles/scip.dir/scip/scip_numerics.c.o CMakeFiles/scip.dir/scip/scip_param.c.o CMakeFiles/scip.dir/scip/scip_presol.c.o CMakeFiles/scip.dir/scip/scip_pricer.c.o CMakeFiles/scip.dir/scip/scip_prob.c.o CMakeFiles/scip.dir/scip/scip_probing.c.o CMakeFiles/scip.dir/scip/scip_prop.c.o CMakeFiles/scip.dir/scip/scip_randnumgen.c.o CMakeFiles/scip.dir/scip/scip_reader.c.o CMakeFiles/scip.dir/scip/scip_relax.c.o CMakeFiles/scip.dir/scip/scip_reopt.c.o CMakeFiles/scip.dir/scip/scip_sepa.c.o CMakeFiles/scip.dir/scip/scip_sol.c.o CMakeFiles/scip.dir/scip/scip_solve.c.o CMakeFiles/scip.dir/scip/scip_solvingstats.c.o CMakeFiles/scip.dir/scip/scip_table.c.o CMakeFiles/scip.dir/scip/scip_timing.c.o CMakeFiles/scip.dir/scip/scip_tree.c.o CMakeFiles/scip.dir/scip/scip_validation.c.o CMakeFiles/scip.dir/scip/scip_var.c.o CMakeFiles/scip.dir/scip/scipdefplugins.c.o CMakeFiles/scip.dir/scip/scipcoreplugins.c.o CMakeFiles/scip.dir/scip/scipgithash.c.o CMakeFiles/scip.dir/scip/scipshell.c.o CMakeFiles/scip.dir/scip/sepa.c.o CMakeFiles/scip.dir/scip/sepastore.c.o CMakeFiles/scip.dir/scip/set.c.o CMakeFiles/scip.dir/scip/sol.c.o CMakeFiles/scip.dir/scip/solve.c.o CMakeFiles/scip.dir/scip/stat.c.o CMakeFiles/scip.dir/scip/symmetry.c.o CMakeFiles/scip.dir/scip/symmetry_graph.c.o CMakeFiles/scip.dir/scip/symmetry_orbitopal.c.o CMakeFiles/scip.dir/scip/symmetry_orbital.c.o CMakeFiles/scip.dir/scip/symmetry_lexred.c.o CMakeFiles/scip.dir/scip/syncstore.c.o CMakeFiles/scip.dir/scip/table.c.o CMakeFiles/scip.dir/scip/tree.c.o CMakeFiles/scip.dir/scip/var.c.o CMakeFiles/scip.dir/scip/visual.c.o CMakeFiles/scip.dir/scip/rbtree.c.o CMakeFiles/scip.dir/tclique/tclique_branch.c.o CMakeFiles/scip.dir/tclique/tclique_coloring.c.o CMakeFiles/scip.dir/tclique/tclique_graph.c.o CMakeFiles/scip.dir/dijkstra/dijkstra.c.o CMakeFiles/scip.dir/xml/xmlparse.c.o CMakeFiles/scip.dir/scip/reader_nl.cpp.o CMakeFiles/scip.dir/amplmp/src/format.cpp.o "CMakeFiles/scip.dir/amplmp/src/expr-info.cpp.o" "CMakeFiles/scip.dir/amplmp/src/nl-reader.cpp.o" CMakeFiles/scip.dir/amplmp/src/os.cpp.o CMakeFiles/scip.dir/amplmp/src/posix.cpp.o CMakeFiles/scip.dir/objscip/objbenders.cpp.o CMakeFiles/scip.dir/objscip/objbenderscut.cpp.o CMakeFiles/scip.dir/objscip/objbranchrule.cpp.o CMakeFiles/scip.dir/objscip/objconshdlr.cpp.o CMakeFiles/scip.dir/objscip/objcutsel.cpp.o CMakeFiles/scip.dir/objscip/objdialog.cpp.o CMakeFiles/scip.dir/objscip/objdisp.cpp.o CMakeFiles/scip.dir/objscip/objeventhdlr.cpp.o CMakeFiles/scip.dir/objscip/objheur.cpp.o CMakeFiles/scip.dir/objscip/objmessagehdlr.cpp.o CMakeFiles/scip.dir/objscip/objnodesel.cpp.o CMakeFiles/scip.dir/objscip/objpresol.cpp.o CMakeFiles/scip.dir/objscip/objpricer.cpp.o CMakeFiles/scip.dir/objscip/objprobdata.cpp.o CMakeFiles/scip.dir/objscip/objprop.cpp.o CMakeFiles/scip.dir/objscip/objreader.cpp.o CMakeFiles/scip.dir/objscip/objrelax.cpp.o CMakeFiles/scip.dir/objscip/objsepa.cpp.o CMakeFiles/scip.dir/objscip/objtable.cpp.o CMakeFiles/scip.dir/objscip/objvardata.cpp.o CMakeFiles/scip.dir/lpi/lpi_spx2.cpp.o CMakeFiles/scip.dir/tpi/tpi_none.c.o CMakeFiles/scip.dir/nauty/nauty.c.o CMakeFiles/scip.dir/nauty/nautil.c.o CMakeFiles/scip.dir/nauty/nausparse.c.o CMakeFiles/scip.dir/nauty/schreier.c.o CMakeFiles/scip.dir/nauty/naurng.c.o CMakeFiles/scip.dir/symmetry/compute_symmetry_sassy_nauty.cpp.o CMakeFiles/scip.dir/symmetry/build_sassy_graph.cpp.o -o ../bin/scip   -L/nix/store/8q2sq2x635vrlbzp7l8lm9mdgj7snbjy-gfortran-14.3.0-lib/lib  -L/nix/store/4nqhnyn9nwqga3j32i9dapmh1k9bsvg9-gfortran-14.3.0/lib/gcc/x86_64-unknown-linux-gnu/14.3.0  -L/nix/store/4nqhnyn9nwqga3j32i9dapmh1k9bsvg9-gfortran-14.3.0/lib  -Wl,-rpath,/nix/store/88j7f0rbpihkl11q3q7hb0h7vv8whnz5-blas-3/lib:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /nix/store/6qi8skh85ci2k9gvl27nnh3kiy32qnsz-zlib-1.3.1/lib/libz.so /nix/store/zqkjn730gir222v3mkp82c1pmqfb2j0l-readline-8.3p1/lib/libreadline.so /nix/store/k8bqvzzw3xll9sjkai15skrj7ab4f8gg-gmp-with-cxx-6.3.0/lib/libgmp.so /nix/store/k8bqvzzw3xll9sjkai15skrj7ab4f8gg-gmp-with-cxx-6.3.0/lib/libgmpxx.so /nix/store/wdg83y8nfql3zri3mgnvwh7jd3rmck22-scipopt-zimpl-362/lib/libzimpl.a /nix/store/mh7vxh30287h3l9q2z1179h3i2gdhaha-scipopt-soplex-7.1.5/lib/libsoplex.a /nix/store/hgjan9mjl8mpw5av6vbzzz6qv08yfvrj-ipopt-3.14.19/lib/libipopt.so -lm /nix/store/6qi8skh85ci2k9gvl27nnh3kiy32qnsz-zlib-1.3.1/lib/libz.so /nix/store/g69xp8zq48z9j5varmkhnbj6iilnpn7r-mpfr-4.2.2/lib/libmpfr.so /nix/store/3f961lfjaswpa07sscarl5fffy05iwag-boost-1.87.0/lib/libboost_iostreams.so.1.87.0 /nix/store/3f961lfjaswpa07sscarl5fffy05iwag-boost-1.87.0/lib/libboost_random.so.1.87.0 /nix/store/3f961lfjaswpa07sscarl5fffy05iwag-boost-1.87.0/lib/libboost_regex.so.1.87.0 /nix/store/3f961lfjaswpa07sscarl5fffy05iwag-boost-1.87.0/lib/libboost_system.so.1.87.0 /nix/store/3f961lfjaswpa07sscarl5fffy05iwag-boost-1.87.0/lib/libboost_program_options.so.1.87.0 /nix/store/3f961lfjaswpa07sscarl5fffy05iwag-boost-1.87.0/lib/libboost_serialization.so.1.87.0 -lquadmath /nix/store/pxyw6j1jzxw1sps6pwb8pv1zlp50psbx-onetbb-2022.2.0/lib/libtbb.so.12.16 -lrt /nix/store/k8bqvzzw3xll9sjkai15skrj7ab4f8gg-gmp-with-cxx-6.3.0/lib/libgmp.so /nix/store/k8bqvzzw3xll9sjkai15skrj7ab4f8gg-gmp-with-cxx-6.3.0/lib/libgmpxx.so /nix/store/3vh1iymdrx6s50mkfgaz5knqx2ggcg7l-scipopt-papilo-2.4.3/lib/libclusol.a /nix/store/88j7f0rbpihkl11q3q7hb0h7vv8whnz5-blas-3/lib/libblas.so -lgfortran -lquadmath
make[3]: Leaving directory '/build/source/build'
[100%] Built target scip
make  -f check/CMakeFiles/scip_check.dir/build.make check/CMakeFiles/scip_check.dir/depend
make[3]: Entering directory '/build/source/build'
cd /build/source/build && /nix/store/2lrbixyw95bjg0x1aav648r0h0zsj2jl-cmake-4.1.1/bin/cmake -E cmake_depends "Unix Makefiles" /build/source /build/source/check /build/source/build /build/source/build/check /build/source/build/check/CMakeFiles/scip_check.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/source/build'
make  -f check/CMakeFiles/scip_check.dir/build.make check/CMakeFiles/scip_check.dir/build
make[3]: Entering directory '/build/source/build'
cd /build/source/build/check && /nix/store/2lrbixyw95bjg0x1aav648r0h0zsj2jl-cmake-4.1.1/bin/ctest -R -default -E applications --output-on-failure
CMake Error: Invalid value used with -R
make[3]: *** [check/CMakeFiles/scip_check.dir/build.make:70: check/CMakeFiles/scip_check] Error 1
make[3]: Leaving directory '/build/source/build'
make[2]: *** [CMakeFiles/Makefile2:2641: check/CMakeFiles/scip_check.dir/all] Error 2
make[2]: Leaving directory '/build/source/build'
make[1]: *** [CMakeFiles/Makefile2:2680: check/CMakeFiles/check.dir/rule] Error 2
make[1]: Leaving directory '/build/source/build'
make: *** [Makefile:667: check] Error 2

CMake Error: Invalid value used with -R

@GaetanLepage does this ring a bell for you?

Edit: maybe https://cmake.org/cmake/help/latest/policy/CMP0175.html

@GaetanLepage
Copy link
Contributor

Edit: maybe https://cmake.org/cmake/help/latest/policy/CMP0175.html

Yes, sounds like it... I don't have much more insight here.

@flokli
Copy link
Member Author

flokli commented Oct 7, 2025

It was indeed a wrong argument that SCIP passed to ctest - see scipopt/scip#169.
With this, the scip build succeeds.

I also took a closer look at the openroad build failure. If we build or-tools with scip support, we need to propagate it, else cmake code discovery fails (which is why openroad asked for SCIP_ROOT).

@flokli flokli requested a review from GaetanLepage October 7, 2025 15:07
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. and removed 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Oct 7, 2025
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 435899
Commit: bf7ac2bbefb38c65e61be634952f986f08cd8503


x86_64-linux

❌ 1 package failed to build:
  • scipopt-gcg
✅ 6 packages built:
  • openroad
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)
  • scipopt-scip
  • scipopt-ug

aarch64-linux

❌ 2 packages failed to build:
  • openroad
  • scipopt-gcg
✅ 5 packages built:
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)
  • scipopt-scip
  • scipopt-ug

x86_64-darwin

❌ 6 packages failed to build:
  • openroad
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)
  • scipopt-scip
  • scipopt-ug

aarch64-darwin

❌ 6 packages failed to build:
  • openroad
  • or-tools
  • or-tools.python (python313Packages.ortools, python313Packages.ortools.python)
  • python312Packages.ortools (python312Packages.ortools.python)
  • scipopt-scip
  • scipopt-ug

Error logs: `x86_64-linux`
scipopt-gcg
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
mkdir: created directory '/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372'
mkdir: created directory '/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/scip'
'/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/scip/src' -> '/nix/store/mwzlqfizx01xh15074pskrw2f142gi5h-source/src/'
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/share/doc/GCG -DCMAKE_INSTALL_INFODIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/include -DCMAKE_INSTALL_SBINDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372 -DSCIPOptSuite_SOURCE_DIR=/nix/store/7hyyr75sjg4r2bl2srxiq1556k1n753r-scipopt-gcg-372
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!


Error logs: `aarch64-linux`
openroad
IntegrationTest tcl stt log_compare            =   4.53 sec*proc (7 tests)
IntegrationTest tcl tap log_compare            =   9.51 sec*proc (25 tests)
IntegrationTest tcl upf log_compare            =   3.71 sec*proc (3 tests)
IntegrationTest tcl utl log_compare            =   1.73 sec*proc (6 tests)
IntegrationTest tcl utl passfail               =   0.32 sec*proc (1 test)

Total Test time (real) = 3068.88 sec

The following tests FAILED:
542 - dpo.multi_height1.tcl (Failed) IntegrationTest tcl dpo log_compare
730 - cts.balance_levels.tcl (Failed) IntegrationTest tcl cts log_compare
731 - cts.balance_levels.py (Failed) IntegrationTest python cts log_compare
747 - cts.lvt_lib.tcl (Failed) IntegrationTest tcl cts log_compare
921 - psm.gcd_all_vss.tcl (Failed) IntegrationTest tcl psm log_compare
922 - psm.gcd_em_test_vdd.tcl (Failed) IntegrationTest tcl psm log_compare
923 - psm.gcd_em_test_vdd.py (Failed) IntegrationTest python psm log_compare
936 - psm.insert_decap1.tcl (Failed) IntegrationTest tcl psm log_compare
938 - psm.insert_decap_with_padding1.tcl (Failed) IntegrationTest tcl psm log_compare
Errors while running CTest
make: *** [Makefile:71: test] Error 8

scipopt-gcg
unpacking source archive /nix/store/ann44689gy381snjm5rbcwmv8xmqkwjl-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
mkdir: created directory '/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372'
mkdir: created directory '/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/scip'
'/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/scip/src' -> '/nix/store/mwzlqfizx01xh15074pskrw2f142gi5h-source/src/'
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/share/doc/GCG -DCMAKE_INSTALL_INFODIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/include -DCMAKE_INSTALL_SBINDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/frxwlync78r3l94863r2cbnz7ngy273j-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/frxwlync78r3l94863r2cbnz7ngy273j-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/frxwlync78r3l94863r2cbnz7ngy273j-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372 -DSCIPOptSuite_SOURCE_DIR=/nix/store/5kgvycydy5biqkp5jydjh9b0wgr7lp31-scipopt-gcg-372
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!

@flokli
Copy link
Member Author

flokli commented Oct 8, 2025

scipopt-gcg is already broken before this PR due to the cmake bump: https://hydra.nixos.org/build/309536759. Same for openroad: https://hydra.nixos.org/build/309239561/

Is it ok we deal with this in a followup PR?

@GaetanLepage
Copy link
Contributor

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.
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, thanks @flokli

@GaetanLepage GaetanLepage added this pull request to the merge queue Oct 8, 2025
Merged via the queue into NixOS:master with commit 481d74d Oct 8, 2025
27 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants