Commit Graph

958 Commits

Author SHA1 Message Date
Corentin Le Molgat
6a6e57a0b8 ci: fix system_deps python jobs not using archlinux's pybind11 3.0.0 2025-07-24 09:52:38 +02:00
Corentin Le Molgat
a7f49a2585 backport from main
* rename swig files .i in .swig
* update constraint_solver and routing
* backport math_opt changes
* move dynamic loading to ortools/third_party_solvers
2025-07-23 23:12:34 +02:00
Corentin Le Molgat
513ee8bd00 cmake: fix glopConfig.cmake 2025-07-21 15:31:49 +02:00
Corentin Le Molgat
f540e75db3 cmake: fix -DBUILD_CXX=OFF -DBUILD_GLOP=ON build 2025-07-21 11:56:34 +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
1cad6fc8e0 doxygen: add missing ortools deps to c++ doc
note: this is needed so doxygen can parse generated protoc pb.h.
2025-07-09 17:56:05 +02:00
Mizux Seiha
24eb888d2e doxygen: update docs 2025-07-09 14:13:52 +02:00
Corentin Le Molgat
052d57da07 doxygen: Improve C++ ref manual
* Had to use absolute paths otherwise `ortools/<dir>` conflict with `build/ortools/<dir>`
* rework Doxygen main page following devsite C++ ref overview.
* improve doxygen c++ cache
  note: doxygen log specify the ideal cache size according to the previous run.
2025-07-09 14:13:46 +02:00
Corentin Le Molgat
3445c9233f cpp: Add DoxygenLayout.xml
move "detailedDescription" to top to follow devsite layout convention
2025-07-09 14:13:41 +02:00
Corentin Le Molgat
09e7e951a2 cmake(ci): Rework Vagrantfile
ci: Rework BSD workflows
ci: Bump freebsd Vagrantfile from python 3.9 to 3.11
2025-06-30 15:20:25 +02:00
Corentin Le Molgat
835b3b3b93 doxygen: force light-mode for doc 2025-06-30 15:20:19 +02:00
Corentin Le Molgat
52d44af1dd cmake: update doxygen-awesome-css from v2.1.0 to v2.3.4 2025-06-26 13:27: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
56e565a2e7 cmake: Fix internal README.md 2025-06-16 11:54:43 +02:00
Corentin Le Molgat
91eae80e1c cmake: Format samples 2025-06-16 11:47:36 +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
Clément Péron
a56a50aa00 cmake: Add support for custom protoc executable via OR_TOOLS_PROTOC_EXECUTABLE
Allow users to specify a custom protoc executable by setting the
OR_TOOLS_PROTOC_EXECUTABLE variable, which takes precedence over
the default cross-compilation and system protoc detection logic.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
2025-06-11 13:42:03 +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
Mizux Seiha
483a20165f cmake: format fix 2025-06-04 09:39:36 +02:00
Corentin Le Molgat
6275619174 dotnet: Remove EOL .Net Core 3.1 in release artifacts
Please target .Net 8.0 or above...

ref: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
2025-06-02 17:53:48 +02:00
Corentin Le Molgat
77c21707ad ci/tools: Simplify alpine .Net 8.0 SDK install 2025-06-02 17:18:38 +02:00
Corentin Le Molgat
27e1061e22 cmake: log Python executable path at configure 2025-06-02 09:51:09 +02:00
Corentin Le Molgat
cd1891aa11 cmake: Fix host tools build when using a toolchain 2025-05-27 13:08:00 +02:00
Mizux Seiha
ec2e8c68c9 deps: add missing absl::random_internal_entropy_pool 2025-05-22 14:43:02 +02:00
Mizux Seiha
1a913c57f9 cmake: fixup abseil-cpp bump
`absl::bad_any_cast_impl` has been removed
ref: 8ce0c88d6a
2025-05-22 14:42:57 +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
fd2059dd96 cleanup
* remove swig_python.bzl
* sync cmake/README.md
2025-05-19 09:58:04 +02:00
Mizux Seiha
4c60a56fa3 backport from main branch 2025-05-12 12:57:50 +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
3067056625 backport from main branch
* bazel: add missing python typing-extensions requirements
* use [[maybe_unused]] standard attribute
* linear_solver: improve LpQuadraticTerm support
2025-04-30 15:15:39 +02:00
Corentin Le Molgat
3312af9735 dotnet: cleanup the use Net8.0 as default 2025-04-30 15:03:41 +02:00
Corentin Le Molgat
55675f8302 cmake: Fix math_opt's elemental python binding 2025-04-30 14:06:01 +02:00
Corentin Le Molgat
211b624cde math_opt: export from google3
* CMake has not been updated yet
* bazel was compiling at least last week

bazel: disable math opt facility_location.py

missing some dependencies...
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
Laurent Perron
b787497074 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:19:59 +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
Mizux Seiha
8282915d11 cmake: Add USE_fuzztest option 2025-03-27 18:13:29 +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