Commit Graph

544 Commits

Author SHA1 Message Date
Mizux Seiha
55ffb4abc3 doc: update cmake and bazel README.md 2022-06-16 22:57:15 +02:00
Corentin Le Molgat
189165d852 cmake(ci): update 2022-06-10 16:59:55 +02:00
Corentin Le Molgat
78939381c2 cmake(ci): use zypper refresh on opensuse 2022-06-10 16:32:35 +02:00
Corentin Le Molgat
cbc5674ffb cmake(dotnet): Use USE_DOTNET_CORE_31 and USE_DOTNET_6 2022-06-10 16:06:18 +02:00
Mizux Seiha
7dbfb1fd26 cmake(ci): Add system_deps "distro"
* archlinux based distro
* all or-tools deps are retrived from the system wide install
  * re2 is a pkgconfig (.pc)
  * SCIP is disable (no package available)
  * GLPK enable
2022-06-09 21:16:57 +02:00
Mizux Seiha
019acfb86c cmake: Rewok FindGLPK.cmake 2022-06-09 21:15:03 +02:00
Mizux Seiha
33024913bd cmake: disable re2 test 2022-06-09 12:39:57 +02:00
Mizux Seiha
b0a78201dd cmake: Fix GLPK support (Fix #3312)
* Eigen was spuriously enabling fortran
* Missing GLKP helpers functions
2022-06-09 12:39:57 +02:00
Corentin Le Molgat
d95d7827c4 cmake: Cleanup README.md 2022-06-08 15:25:47 +02:00
Corentin Le Molgat
25b796279d cmake(ci): update ubuntu dotnet-sdk feed 2022-06-08 10:43:44 +02:00
Corentin Le Molgat
e1cc1c13ff flatzinc: Fix ortools.msc (#3333) 2022-06-07 09:44:06 +02:00
Mizux Seiha
6376c0e72f version: be able to override MAJOR/MINOR/PATCH
* now, we can use OR_TOOLS_* to overload version name
* rename GIT_REVISION in OR_TOOLS_PATCH for consistency
2022-06-02 18:12:48 +02:00
StefanBruens
61b2a08faa Set SWIGWORDSIZE dependent on architecture bitness (#3313)
* Set SWIGWORDSIZE dependent on architecture bitness

Setting SWIGWORDSIZE to 64bit on 32bit archs breaks build on
32 bit archs, e.g. i586 or armv7.

See #3271.

Co-authored-by: Red Daly <reddaly@gmail.com>
2022-05-30 11:58:51 +02:00
Corentin Le Molgat
2c72f93aed cmake: Compute PATCH from the lastest vX.0 version 2022-05-27 15:13:48 +02:00
Corentin Le Molgat
5b3d1e0f58 java: Add support for linux-aarch64 and darwin-aarch64 (#2538) 2022-05-23 16:39:25 +02:00
Corentin Le Molgat
acc820a27c Fix md formatting 2022-05-19 17:23:01 +02:00
Corentin Le Molgat
6066db34a1 ci(cmake): Only test dotnet-sdk-6.0 to avoid "no space left on device" 2022-05-19 17:23:01 +02:00
Corentin Le Molgat
103663a5e4 sync from g3 2022-05-16 17:44:50 +02:00
Corentin Le Molgat
ab186d5499 few more renaming 2022-05-16 11:59:15 +02:00
Corentin Le Molgat
df8cbb3d76 fix: rename master to main in build file 2022-05-16 11:27:36 +02:00
Corentin Le Molgat
fb02389141 doc: rename master to main in internal doc 2022-05-16 11:27:02 +02:00
Mizux Seiha
b16d6d51e3 cmake: Fix typo 2022-05-03 09:56:26 +02:00
Corentin Le Molgat
93b22ff4ed cmake: cleanup 2022-05-02 16:02:54 +02:00
Corentin Le Molgat
65c8255614 cmake: Change PATCH computation
now extract it from `git describe --tags`
2022-05-02 14:50:22 +02:00
Mizux Seiha
8fc5d66389 Rename flatzinc targets (#3270)
* rename fz.exe to fzn-ortools.exe (like convention outhere)
* rename libflatzinc.so as libortools_flatzinc.so
* rename parser-main to fzn-parser_test
* remove parser_main from install
2022-04-29 11:01:15 +02:00
StefanBruens
9021ffbb95 Build Python modules as CMake MODULEs (#3259)
Python since 3.8 no longer links to the interpreter library, so
symbols like `PyExc_AttributeError` will be undefined at link time.

This causes build failures when shared libraries are linked with
`-Wl,--no-undefined`. Use `TYPE MODULE` for python extension modules,
which allows to specify distinct flags via CMAKE_MODULE_LINKER_FLAGS
vs CMAKE_SHARED_LINKER_FLAGS. (The same is already used by
`pybind11_add_module(... MODULE ...)`).

Fixes #3258.
2022-04-28 15:50:56 +02:00
Mizux
fdee5f10f7 Update Findre2.cmake 2022-04-26 17:25:19 +02:00
Corentin Le Molgat
53872581ba cmake(ci): Clean doc 2022-04-13 11:47:09 +02:00
Corentin Le Molgat
9a243af61c cmake(ci): fix sample.py 2022-04-12 15:50:05 +02:00
Corentin Le Molgat
090beee7e7 deps: Bump re2 2022-02-01 -> 2022-04-01 2022-04-11 13:43:56 +02:00
Corentin Le Molgat
a8ffe28948 cmake: install internal doc. 2022-04-06 11:15:59 +02:00
Laurent Perron
0223b492b3 incomplete ModelBuilder java implementation 2022-04-02 23:28:05 +02:00
Laurent Perron
8ef66920d9 use pybind11 for ortools/graph 2022-03-31 18:21:20 +02:00
Corentin Le Molgat
3f960e28aa cmake: Add Findre2.cmake module (#3191) 2022-03-30 16:34:21 +02:00
Mizux Seiha
dc336aee26 re2: Fix build on windows 2022-03-26 19:40:26 +01:00
Corentin Le Molgat
3c6f88de3b c++: Add USE_LP_PARSER define (#3201) 2022-03-25 11:12:00 +01:00
Corentin Le Molgat
0d3572bda8 c++: use legacy RE2 (#3201) 2022-03-25 11:12:00 +01:00
Corentin Le Molgat
e6107f65cf dotnet: Add support for linux-arm64 and osx-arm64 (#2724) 2022-03-25 11:12:00 +01:00
Corentin Le Molgat
660b2005a5 cmake: Update internal docs 2022-03-25 11:11:59 +01:00
Laurent Perron
f2e3e8e41f initial implementation of the model builder in python 2022-03-23 17:47:22 +01:00
Corentin Le Molgat
5f1cb90617 cmake(dotnet): Be able to disable a Target Framework Moniker 2022-03-18 18:02:30 +01:00
Corentin Le Molgat
486bd407af cmake: Use C++20 for MSVC, C++17 otherwise
make: Unix use C++17
2022-03-15 10:07:39 +01:00
Mizux Seiha
bdbac4dd4e cmake: Fix java xcode configuration 2022-03-11 08:56:25 +01:00
Corentin Le Molgat
0c0b44456f cmake: Fix bundle-install 2022-03-10 18:12:10 +01:00
Mizux Seiha
ec26913769 cmake: Fix FindCoinUtils.cmake 2022-03-09 11:10:40 +01:00
Mizux Seiha
0ba8add1b5 cmake: Add java_deploy and java_native_deploy target 2022-03-09 09:55:00 +01:00
Corentin Le Molgat
1b1cbc4fa5 cmake: Fix bundle-install 2022-03-08 21:57:49 +00:00
Corentin Le Molgat
57b182d2df make: Create a bundle lib on windows 2022-03-08 11:02:04 +00:00
Corentin Le Molgat
a3ef28e824 tools/docker: Fix CMake version
need at least 3.18
2022-03-04 16:02:23 +01:00
Corentin Le Molgat
ffb5ea4dc3 make: Fix RPATH in [fz_]archive 2022-03-04 09:17:01 +01:00