Commit Graph

1113 Commits

Author SHA1 Message Date
Corentin Le Molgat
95e8a33097 ci: fix system_deps python jobs not using archlinux's pybind11 2025-07-21 17:24:38 +02:00
Corentin Le Molgat
efa8b07484 cmake: fix glopConfig.cmake 2025-07-21 15:00:18 +02:00
Corentin Le Molgat
0e129b5fc6 cmake: fix -DBUILD_CXX=OFF -DBUILD_GLOP=ON build 2025-07-21 11:48:13 +02:00
Laurent Perron
0720713896 [CP-SAT] simplify python proto generation workflow 2025-07-17 12:55:17 +02:00
Laurent Perron
e5dc796ef6 [CP-SAT] remove the use of python protobufs; use proxies to C++ protobufs instead; this changes slightly the API of these proto for parameters 2025-07-16 16:55:49 +02:00
Mizux Seiha
c19897df1b cmake: Use Boost repo instead of archive
should fix #4724
2025-07-15 10:09:38 +02:00
Corentin Le Molgat
9d3350dcbc cmake: Rework FindSCIP.cmake
note: currently scip do not provide alias targets when installing scip.
2025-07-10 11:00:45 +02:00
Corentin Le Molgat
9141d05483 cmake: docs fixup 2025-07-10 10:58:01 +02:00
Corentin Le Molgat
194bf807ac 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:50 +02:00
Mizux Seiha
e2a2295fb4 doxygen: update docs 2025-07-08 13:45:24 +02:00
Corentin Le Molgat
4dd891330a 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-07 17:37:36 +02:00
Corentin Le Molgat
2f343eee41 cpp: Add DoxygenLayout.xml
move "detailedDescription" to top to follow devsite layout convention
2025-07-07 15:39:38 +02:00
Guillaume Chatelet
914025a5f8 Turn some .i files into .swig
This helps with the import / export process.
2025-07-03 11:02:22 +02:00
Guillaume Chatelet
6af8bd54b4 Turn some .i files into .swig
This helps with the import / export process.
2025-07-02 19:11:40 +00:00
Laurent Perron
5b1376b9df small cleaning 2025-07-01 16:51:11 +02:00
Corentin Le Molgat
b644c5fb1e cmake(ci): Rework Vagrantfile
ci: Rework BSD workflows
ci: Bump freebsd Vagrantfile from python 3.9 to 3.11
2025-06-30 13:15:16 +02:00
Corentin Le Molgat
94308a9fe6 doxygen: force light-mode for doc 2025-06-30 11:54:28 +02:00
Corentin Le Molgat
b7f7e9b1ec cmake: update doxygen-awesome-css from v2.1.0 to v2.3.4 2025-06-26 13:24:26 +02:00
Guillaume Chatelet
8b6100e21e Format py files to adopt internal style 2025-06-25 10:01:11 +00:00
Corentin Le Molgat
f1e95386d1 cmake: Fix cmake_minimum_required to 3.24 (#4692) 2025-06-19 13:44:50 +02:00
Laurent Perron
b61ec9860c reorganize gurobi and xpress side loading 2025-06-18 18:22:06 +02:00
Mizux Seiha
3467396a74 dependencies: bump Protobuf from v31.0 to v31.1 2025-06-17 12:32:17 +02:00
Corentin Le Molgat
8a2a537cc5 cmake: format samples 2025-06-16 11:48:43 +02:00
Corentin Le Molgat
c1f2d74de9 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 18:19:58 +02:00
Clément Péron
f8f4651d76 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:41:04 +02:00
Mizux
8b82db1849 Update README.md
cmake: Fix README.md for GFM

note: code markdown preview do not have the same behaviour...
2025-06-11 13:24:56 +02:00
Corentin Le Molgat
9956831a04 cmake: Fix README.md 2025-06-11 13:21:25 +02:00
galabovaa
c9a3da1a2b cmake: HiGHS v1.11.0 (#4670)
* no longer needs patch

ref: https://github.com/ERGO-Code/HiGHS/releases/tag/v1.11.0
2025-06-06 14:04:13 +02:00
Mizux Seiha
26b2071f30 cmake: format fix 2025-06-04 09:36:40 +02:00
Corentin Le Molgat
c22621bd52 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:55:18 +02:00
Corentin Le Molgat
8be2627644 ci/tools: Simplify alpine .Net 8.0 SDK install 2025-06-02 16:57:14 +02:00
Corentin Le Molgat
92b92f41b9 cmake: log Python executable path at configure 2025-06-02 10:46:40 +02:00
Corentin Le Molgat
6390cc1d37 cmake: Fix host tools build when using a toolchain 2025-05-27 13:07:06 +02:00
Mizux Seiha
965c619f65 deps: add missing absl::random_internal_entropy_pool 2025-05-22 09:53:23 +02:00
Mizux Seiha
f9e9b55cc1 cmake: fixup abseil-cpp bump
`absl::bad_any_cast_impl` has been removed
ref: 8ce0c88d6a
2025-05-22 03:12:46 +02:00
Corentin Le Molgat
cfefe417a0 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 03:12:46 +02:00
Corentin Le Molgat
f8549c6f68 cmake: use GLPK 5.0.1 (#4656) 2025-05-21 17:44:52 +02:00
Corentin Le Molgat
af52d34154 cleanup
* remove swig_python.bzl
* sync cmake/README.md
2025-05-19 09:57:25 +02:00
Corentin Le Molgat
831ccd4719 cmake: Fix README.md 2025-05-06 13:30:55 +02:00
Corentin Le Molgat
8d8218c4f0 cmake(ci): disable test when building using emcmake
note: googletest do not support DEATH TEST with emscripten but issue a compile error instead of a nop/disabling the test.
```

20117

20118

```
2025-05-05 15:27:38 +02:00
Mizux Seiha
20fea18e73 cmake(ci): fix ubuntu python job 2025-05-01 19:49:29 +02:00
Corentin Le Molgat
ec75b12963 cmake: Fix math_opt's elemental python binding 2025-04-30 09:55:15 +02:00
Corentin Le Molgat
5bf70b691f 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 09:55:15 +02:00
Corentin Le Molgat
aff2ddeb53 cmake: update README 2025-04-25 15:07:50 +02:00
Mizux Seiha
1c5daab55d ci: Fix few dockerfiles 2025-04-23 18:37:26 +02:00
Laurent Perron
48fc2fc3d6 bump scip to 9.2.2 for cmake 2025-04-21 20:39:52 +02:00
Corentin Le Molgat
2159231ab8 cmake(ci): fix opensuse dotnet build 2025-04-14 09:57:32 +02:00
Corentin Le Molgat
04e13e12b8 cmake(ci): fix dotnet build 2025-04-11 17:03:58 +02:00
Corentin Le Molgat
8ae6f8b5d6 dotnet: migrate from .Net 6.0 to 8.0 as default 2025-04-11 16:36:57 +02:00
Laurent Perron
d47f599ac2 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:18:29 +02:00