Commit Graph

212 Commits

Author SHA1 Message Date
Corentin Le Molgat
4f5557884f cmake: fix soplex boost check in a super build 2026-01-05 18:19:20 +01:00
Guillaume Chatelet
e55172a5d2 Make fetched library SYSTEM to reduce warning clutter (#4947) 2025-12-15 13:07:12 +01:00
Guillaume Chatelet
7345481dfe Remove fuzztest support from OR-Tools (#4938)
* Remove fuzztest support from OR-Tools
2025-12-08 11:31:29 +01:00
Corentin Le Molgat
6555f4d2e4 cmake: migrate to scip 10.0.0 and soplex 8.0.0 2025-12-01 17:48:32 +01:00
Corentin Le Molgat
5d31a932d6 cmake: bump scip to v924
note: also  bump soplex to v7.1.6

tested using: `./build/bin/math_opt_solvers_gscip_solver_test`
2025-11-21 16:15:51 +01:00
Corentin Le Molgat
ebe81847a8 cmake: fix configure when using -DBUILD_TESTING=OFF 2025-11-21 11:21:29 +01:00
Corentin Le Molgat
2a36fb057b cmake: bump protobuf to v33.1 2025-11-19 09:39:56 +01:00
Corentin Le Molgat
931536da04 cmake: update re2 and highs 2025-11-05 11:27:08 +01:00
Corentin Le Molgat
2adf929a73 cmake: move set cmd after FetchContent_Declare
note: they will be use by FetchContent_MakeAvailable
2025-10-16 14:21:51 +02:00
Corentin Le Molgat
22bc8cef36 dependencies: bump abseil-cpp to 20250814.1 2025-10-16 11:52:06 +02:00
Guillaume Chatelet
8710e86e8a Test export 2025-10-16 11:43:45 +02:00
Corentin Le Molgat
bef5bd6dc4 cmake: bump Scip to v923
note: can't bump bazel since scip v923 is not available on BCR
2025-09-29 16:35:06 +02:00
Corentin Le Molgat
29a74e7547 base: backport rework from main 2025-09-22 18:05:44 +02:00
Mizux Seiha
4f381f6d07 backport from main:
* bump abseil to 20250814
* bump protobuf to v32.0
* cmake: add ccache auto support
* backport flatzinc, math_opt and sat update
2025-09-16 16:25:04 +02:00
Mizux Seiha
959bb0d51c cmake: Use Boost repo instead of archive
should fix #4724
2025-07-15 10:19:34 +02:00
Corentin Le Molgat
9fa309b358 cmake: Fix cmake_minimum_required to 3.24 (#4692) 2025-06-23 07:53:40 +02:00
Mizux Seiha
8e1e6b5e97 dependencies: bump Protobuf from v31.0 to v31.1 2025-06-17 11:08:04 +02:00
Corentin Le Molgat
5587f01a23 dependencies: Fix MACOSX_RPATH usage (#4674)
1. This is a boolean property which must be set to TRUE or FALSE
   If TRUE, the default, cmake will use @rpath as directory portion (aka prefix) of the  install_name (otool LC_ID_DYLIB)
   note: CMP0042 set it to TRUE by default
2. To change this prefix you must use INSTALL_NAME_DIR
3. To change the INSTALL_RPATH (otool LC_RPATH) (e.g. to set it to @loader_path) you must use the INSTALL_RPATH property.

ref:
https://cmake.org/cmake/help/latest/variable/CMAKE_MACOSX_RPATH.html
https://cmake.org/cmake/help/latest/prop_tgt/MACOSX_RPATH.html
https://cmake.org/cmake/help/latest/prop_tgt/INSTALL_RPATH.html
https://cmake.org/cmake/help/latest/policy/CMP0042.html
2025-06-11 17:57:43 +02:00
galabovaa
aa726710d0 cmake: HiGHS v1.11.0 (#4670)
* no longer needs patch

ref: https://github.com/ERGO-Code/HiGHS/releases/tag/v1.11.0
2025-06-11 09:37:11 +02:00
Corentin Le Molgat
27e1061e22 cmake: log Python executable path at configure 2025-06-02 09:51:09 +02:00
Corentin Le Molgat
9cbf09afdf cmake: bump dependencies
* abseil-cpp 20250512.0
* protobuf v31.0
* re2 2024-07-02
* googletest 1.17.0
* benchmark 1.9.2

devNote: to fix a patch not working
```sh
cd ~/.../ortools_repo
cmake -S. -Bbuild -DBUILD_DEPS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SAMPLES=OFF -DBUILD_TESTING=ON
pushd build/_deps/absl-src
git apply --3way ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
git mergetool
git diff HEAD -u > ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
cd ..
rm -rf absl-*
popd
<repeat>
```
2025-05-22 14:42:48 +02:00
Corentin Le Molgat
dfbba11e58 cmake: use GLPK 5.0.1 (#4656) 2025-05-22 14:36:02 +02:00
Corentin Le Molgat
8480ff4f3f dependency: Fix bzip2 support
* always enable it
* Fix CMake support
* fix windows support
2025-04-30 15:15:39 +02:00
Corentin Le Molgat
55675f8302 cmake: Fix math_opt's elemental python binding 2025-04-30 14:06:01 +02:00
Laurent Perron
7f3f4c39bc bump scip to 9.2.2 for cmake 2025-04-21 20:40:32 +02:00
Mizux Seiha
2f3a3a4741 cmake: cleanup 2025-04-03 15:23:50 +02:00
Corentin Le Molgat
36220e039d dependency: bump protobuf to v30.2 2025-03-28 09:38:56 +01:00
Mizux Seiha
7fb4f6c883 cmake: add fuzztest stuff 2025-03-27 19:33:48 +01:00
Corentin Le Molgat
58513d0cc0 dependency: bump abseil-cpp to 20250127.1 2025-03-26 15:59:10 +01:00
Corentin Le Molgat
c1377af411 dependency: update googletest to 1.16.0 2025-03-26 14:48:17 +01:00
Corentin Le Molgat
98d2b003ff cmake: cleanup 2025-03-26 11:42:18 +01:00
Corentin Le Molgat
6258871db6 dependency: bump protobuf to v30.1 2025-03-26 11:42:18 +01:00
Laurent Perron
107216cf8a support for highs in cmake multi config 2025-03-22 04:27:01 -07:00
Laurent Perron
bbaf68564b bump highs to 1.10 2025-03-21 06:55:59 -07:00
Corentin Le Molgat
0d035168ea deps: bump abseil-cpp to 20250127.0 2025-03-13 15:56:35 +01:00
Corentin Le Molgat
77a28070b9 deps: bump scip to v9.2.1
* use libscip shared library
* enable soplex
2025-03-13 15:56:35 +01:00
Mizux Seiha
d97048d4eb scip bump to v921 2025-03-04 21:07:18 +01:00
Corentin Le Molgat
73bef34d95 cmake: update pybind11 to v2.13.6
* sync Dependencies.txt
2025-02-12 14:31:17 +01:00
Mizux Seiha
7b71c4b140 dependencies: Bump protobuf to v29.3 2025-02-11 14:47:27 +01:00
Corentin Le Molgat
befa5f7a4f cmake: Build gtest and benchmark as shared lib with MSVC
should fix `gmock.lib(gtest-all.obj) : error LNK2005`
2025-02-03 16:25:41 +01:00
Corentin Le Molgat
210ccab7e8 swig: bump to 4.3.0 in various scripts and docker 2025-01-22 15:13:24 +01:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Laurent Perron
2fe0f90685 bump bazel dependencies; bump cmake google_benchmark to 1.9.1 2024-12-31 14:12:50 +01:00
Laurent Perron
6f97ceac86 cmake: bump highs to 1.9.0 2024-12-31 13:48:09 +01:00
Mizux Seiha
49f1623661 deps: Bump Protobuf to v29.2 2024-12-19 21:35:55 +01:00
Corentin Le Molgat
3543608705 dependency: Bump Protobuf to v29.1 2024-12-09 15:41:28 +01:00
Corentin Le Molgat
a17115f450 dependencies: Bump COIN-OR solvers 2024-12-06 17:25:38 +01:00
Mizux Seiha
423a99bb8f deps: Bump Protobuf to v29.0 2024-12-03 18:06:49 +01:00
Corentin Le Molgat
cfa3883c44 deps: Bump HiGHS to v1.8.1 2024-11-22 15:38:02 +01:00
Corentin Le Molgat
5102548a5c deps: Bump SCIP to v920 2024-11-15 15:25:02 +01:00