Commit Graph

101 Commits

Author SHA1 Message Date
Corentin Le Molgat
96de4ec227 Java: Create target test_java_tests for UT 2018-09-18 10:30:36 +02:00
Corentin Le Molgat
b3701b1b9f makefile: Fix JA*_BIN path 2018-09-17 12:00:59 +02:00
Corentin Le Molgat
b10b2e92a4 Maintenance: update Makefile.java.mk
- Add quotes guards to protect from space in path
2018-09-10 14:26:25 +02:00
Corentin Le Molgat
836ecba6bd java: Remove $(JAR)
- now test_java depends on rjava_% which generate the same list
2018-09-04 10:07:32 +02:00
Corentin Le Molgat
a1fdabf3b1 Makefile: remove redundant ortoolslibs target
- prefere to use `cc` phony target or $(OR_TOOLS_LIBS) file
2018-09-04 10:07:32 +02:00
Laurent Perron
b3743f4cff Fix #40 + test 2018-09-02 09:24:24 +02:00
Corentin Le Molgat
6d9fae0be4 java: Makefile cleanup 2018-08-31 18:23:08 +02:00
Corentin Le Molgat
c8643fc456 java: rework examples target 2018-08-29 16:56:25 +02:00
Corentin Le Molgat
a340d87b04 java: Add Vrp.java example 2018-08-27 11:59:55 +02:00
Laurent Perron
caca08f3f1 tentative fix for java sat 2018-08-01 22:25:32 -07:00
Laurent Perron
39fa9a6d61 minimal java sat sample implemented 2018-08-01 15:29:10 -07:00
Laurent Perron
5e2a5d1d86 stub code to get sat/java interface 2018-08-01 14:10:19 -07:00
Corentin Le Molgat
cb3972c6db java: use J for .jar extension 2018-07-17 15:03:10 +02:00
Corentin Le Molgat
13a566bed4 Move java examples 2018-07-10 11:16:20 +02:00
Corentin Le Molgat
4f24443b17 Move windows tools to tools/win 2018-07-10 11:16:20 +02:00
Corentin Le Molgat
b32dafacc6 Makefile: cc java python dotnet become idempotent
- Remove implicit rules
- Fix python obj/swig deps
- Keep intermediate file and dir
- remove MISSING_BUILD_DIRECTORIES
- Use GEN_DIR and GEN_PATH
- Remove GMake SUFFIXES
2018-07-03 22:27:35 +02:00
Corentin Le Molgat
6cd8da56ce [CPP] Rework cc to use dynamic dependencies
libortools:
- Rename LD_FLAGS to LDFLAGS
- Update LDFLAGS
- Add install_name to LDFLAGS on MacOS
- use OR_TOOLS_LIBS as target name

libraries:
- Rename OR_TOOLS_LD_FLAGS to OR_TOOLS_LDFLAGS
- Add OR_TOOLS_LNK and OR_TOOLS_LDFLAGS
- add install_name on MacOS

Misc:
- Rework LINK_FLAGS
- Replace ortools$Sgen by $(GEN_DIR)
- Fix install_cc rules
- Update detect_cc target
2018-05-28 08:08:49 +02:00
Corentin Le Molgat
02877e28f1 [UNIX][DEPS] Build dependencies as dynamic libs
Unix:
- Rename install_directories rule
  this target creates dependencies/install dir not ortools install dir
- replace $(LIB_SUFFIX) by $L to be consistent with $E and $O suffix
- fix rpath, no need anymore patchelf
  -> remove prerequisite $(PATCHELF) in install_cc
- use build_cmake as build directory
  note: MacOS is case insensitive when creating directory
  and bazel file is named BUILD -> `mkdir build` won't work
- Fix CMD_LNK on mac
- Fix MacOS LINK_FLAGS
- MacOS also use LIB_DIR = lib

Win:
- Fix windows lib suffix $L

Protobuf:
- Need to use PROTOC (like MONO) to add LD_LIBRARY_PATH hack
  -> PROTOC = LD_LIBARY_PATH="..." protoc
  -> replace $(PROTOBUF_DIR)/bin/protoc by $(PROTOC)
- Remove uneeded PROTOBUF_DIR defs
- Apply patch to protobuf to use @rpath on MacOS
- Add rpath to protobuf install rules

Coin-OR
- Use coin-or github repos mirror instead of the svn repo (Fix #379)
- Use the splited Cbc (CoinUtils, Osi, Clp, Cgl, Cbc)
note: usually distro use this layout cf https://repology.org/metapackage/coin-or-cbc/badges
- Fix rpath for all coin-or libraries at post-install using patchelf (linux) or otools (osx)
2018-05-28 08:08:49 +02:00
Corentin Le Molgat
b96703d0ce Use JAVA_HOME instead of JDK_DIRECTORY (#614) 2018-03-08 09:52:29 +01:00
Corentin Le Molgat
11a22957a4 Fix echo blankline on windows 2018-03-06 15:03:40 +01:00
Corentin Le Molgat
9b41cae639 Update detect_* targets 2018-03-06 14:34:41 +01:00
Corentin Le Molgat
6eff7e4476 Add newline at end of each help_* targets 2018-03-06 14:23:47 +01:00
Laurent Perron
a4f4c2d5a6 move check_third_party into ortoolslib target; avoid rebuilding C# all the time 2018-03-06 11:42:06 +01:00
Corentin Le Molgat
c53de553d6 Add JNIFLAGS to detect_java 2018-03-05 09:17:28 +01:00
Corentin Le Molgat
51b56430f5 Rework Makefile help 2018-03-05 09:17:28 +01:00
Corentin Le Molgat
2bd7f9d1bb Fix help_XXX target on Windows 2018-02-28 15:20:56 +01:00
Corentin Le Molgat
671cf273b1 Rework Java Makefile 2018-02-28 15:14:48 +01:00
Corentin Le Molgat
707a8789bf rework Makefile 'detect' target 2017-12-01 15:30:47 +01:00
Corentin Le Molgat
d824ed88ce Fix JAVA variables 2017-11-24 15:14:08 +01:00
Laurent Perron
66b8d23079 move src to ortools; simplified python generation; remove some namespaces in the ortools/base helper files 2017-04-26 17:30:25 +02:00
Laurent Perron
c9b8b7b3e6 Fix routing deps 2017-04-09 21:56:47 +02:00
Driss Lahlou
1653ebc168 fix in java dependencies 2017-01-11 19:12:16 +01:00
Driss Lahlou
8b1cc2e407 Refactoring of makefiles 2017-01-10 21:05:56 +01:00
Driss Lahlou
c0589fe8f2 fixes in Makefiles concerning EX and ARGS 2016-10-06 12:08:29 +02:00
Driss Lahlou
ba686e3f2f changes in running examples targets 2016-09-29 18:50:59 +02:00
Driss Lahlou
62f33375ae Makefile for python 2016-09-22 14:55:50 +02:00
Laurent Perron
330d5915d9 update archive supplied readme and makefile: add support for C# and Java compilation 2016-07-22 14:47:23 -07:00
Driss Lahlou
ecf685062f refactoring archives target. New File : makefiles/Makefile.archive.mk 2016-07-01 11:24:17 +02:00
Laurent Perron
0d911276f3 completely revamp dependencies on header and protobuf files. Should be more robust now 2016-06-28 00:18:34 +02:00
Laurent Perron
e7ea660bdd LIBPREFIX -> LIB_PREFIX 2016-06-27 22:32:11 +02:00
Driss Lahlou
f433040b01 Makefiles refactor 2016-06-27 15:30:24 +02:00
Laurent Perron
2fc3704da7 change installation directory 2016-06-21 14:39:26 +02:00
Laurent Perron
ba692308f1 revamp archive numbering 2016-06-21 11:41:13 +02:00
Laurent Perron
088dcbafb5 working java with visual studio 2015; fix for protobuf beta3 with java 2016-06-03 05:22:03 -07:00
Laurent Perron
fd1e4d4353 Issue173 in java 2016-04-14 13:23:00 +02:00
Laurent Perron
6fe0922561 adapt to data being moved to examples 2016-04-12 18:04:18 +02:00
Laurent Perron
6127049df6 fix issue #105, add --no-same-owner to tar on unix 2016-03-08 14:20:50 -08:00
Laurent Perron
1789760306 fix java 2016-02-03 16:07:11 +01:00
Laurent Perron
bb6e091027 Switch parameters to proto3, propagate to all code, offer support in all languages 2016-02-03 15:15:58 +01:00
Laurent Perron
eaaf4efbc3 clean java makefile 2015-08-06 13:54:09 +02:00