Commit Graph

1208 Commits

Author SHA1 Message Date
Corentin Le Molgat
1e1149b240 Mac: use -undefined dynamic_lookup
- to comply with PEP 513 _pywrapXXX.so are not linked to python anymore
-> library will have undefined symbols at link time.
2018-07-18 17:44:41 +02:00
Corentin Le Molgat
b2ebf89b78 python: don't link with python (PEP 513)
- python interpreter will provide symbols.
- just be sure to use the correct include.
2018-07-18 17:00:35 +02:00
Corentin Le Molgat
d663ae080f dotnet: remove mono ref 2018-07-18 15:08:29 +02:00
Corentin Le Molgat
53ed68ec31 python: rework pkg-config search 2018-07-18 15:08:23 +02:00
Mizux
dd73704586 Update Makefile.archive.mk 2018-07-18 00:26:44 +02:00
Mizux
049793a7ea fixup makefile.port 2018-07-17 23:04:48 +02:00
Mizux
8c752950d4 Update Makefile.port.mk 2018-07-17 23:01:13 +02:00
Corentin Le Molgat
c5925b4824 dotnet: fixup cleaning
- remove OrTools.csproj and OrTools.FSharp.fsproj
2018-07-17 17:08:53 +02:00
Corentin Le Molgat
328172f395 dotnet: update nuget_archive 2018-07-17 17:06:45 +02:00
Corentin Le Molgat
cb3972c6db java: use J for .jar extension 2018-07-17 15:03:10 +02:00
Corentin Le Molgat
d5d4b48657 dotnet: add examples to test_dotnet 2018-07-17 15:03:10 +02:00
Corentin Le Molgat
7e2a07e544 dotnet: CLR_KEYFILE depends on csproj 2018-07-17 15:03:09 +02:00
Corentin Le Molgat
4cbd85df27 cc: Add missing glop/parameters.pb.h
lp_data.h depends on it...
2018-07-16 11:01:28 +02:00
Corentin Le Molgat
0444f6c17f port: trim ifeq() 2018-07-13 19:11:16 +02:00
Corentin Le Molgat
c77696919e dotnet: rework dotnet search management
- keep it simple: dotnet in the PATH otherwise trigger an error
2018-07-13 19:11:16 +02:00
Corentin Le Molgat
52c126c4c9 dotnet: move some targets 2018-07-13 19:11:16 +02:00
Corentin Le Molgat
496be1627a dotnet: rework input files 2018-07-13 19:11:16 +02:00
Corentin Le Molgat
46ab823345 python: add description to pypi_upload 2018-07-13 19:11:16 +02:00
Corentin Le Molgat
99864e4be7 centos-7: add dependencies/install/lib64 in rpath
- protobuf is installed in .../lib64
2018-07-13 19:11:16 +02:00
Corentin Le Molgat
e737b10a9a archive: Fix Fz archive 2018-07-13 15:23:12 +02:00
Corentin Le Molgat
7f453a0475 archive: unix: Check if protobuf is in lib or lib64 2018-07-13 15:23:11 +02:00
Corentin Le Molgat
713452aad6 archive: Fix remaining $(DLL) -> $D 2018-07-13 14:40:19 +02:00
Corentin Le Molgat
5d8c4f0cb1 archive: Add ortools/data/*.h to archive
- needed by jobshop_sat
2018-07-13 14:40:18 +02:00
Corentin Le Molgat
6cd212b442 dotnet: rework CLR_KEYFILE management
- Move tools/netstandard to tools/dotnet
- Create Strong Name Keyfile using dotnet.
- Protect against space in DOTNET_BIN
2018-07-13 08:55:41 +02:00
Corentin Le Molgat
d0c2e1748f dotnet: add --verbosity n[ormal] when running test.
- Be able to get the test list on console when command is run
- Add --no-build since we explicitly build just before
2018-07-13 08:55:41 +02:00
Corentin Le Molgat
0f2980dd55 dotnet: use D instead of DLL
to be able to reuse DLL variable like EXE for C++ of JAR for Java example list
2018-07-13 08:55:41 +02:00
Corentin Le Molgat
54801f0e7c java: Add support for openjdk-1.11 aka java-11 2018-07-13 08:55:41 +02:00
Corentin Le Molgat
9536db9a98 cc: Fix examples/tests/*.cc
- Add them to test_cc
  except issue173.cc which takes few dozen of seconds
2018-07-13 08:55:40 +02:00
Corentin Le Molgat
59db6cb2d8 cpp: Cleaning cpp rules
- Use pattern rules
- Remove dead code (CP_BINARIES and LP_BINARIES doesn't exist anymore)
- Expose fz and test_fz in help_cc
- Relayout makefile.cc.mk
- Move CVRP Problem rule before generic ones (needed for make < 4.0)
2018-07-13 08:55:40 +02:00
Corentin Le Molgat
ef71fe4b7d mps_reader.cc: add direct dependency to glop/parameters.pb.h
mps_reader.h depends on lp_data.h which depends on parameters.pb.h

note: unfortunately gen_deps currently only look includes in foo.h and foo.cc for building foo.o
2018-07-13 08:55:40 +02:00
Laurent Perron
83a2129026 initial code for symmetry detection 2018-07-12 17:51:11 -07:00
Corentin Le Molgat
ef5a2a2775 Archive: Rework cc/java/dotnet (Fix #723)
- Rename [Makefile|Readme].cc.java.dotnet
- Add missing dynamic lib on unix archive (Fix #723)
- Add rpah to lib64 for centos
- Use CXX, CXXFLAGS and LDFLAGS
  src: https://www.gnu.org/software/make/manual/make.html#Catalogue-of-Rules
- Add which.exe to archive on windows
- Add test_archive to .PHONY
- Add detect_archive
2018-07-10 15:45:04 +02:00
Corentin Le Molgat
22124f6acf dotnet: rework gen path 2018-07-10 11:16:21 +02:00
Corentin Le Molgat
13a566bed4 Move java examples 2018-07-10 11:16:20 +02:00
Corentin Le Molgat
6485017458 cc: Fix missing port/*.h in install_cc 2018-07-10 11:16:20 +02:00
Corentin Le Molgat
ca6e697788 cc: use MKDIR_P to create the install_cc root dir 2018-07-10 11:16:20 +02:00
Corentin Le Molgat
3085fcbf81 cpp: add FLATZINC_PATH 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
f5f176d496 cpp: Add library path variable 2018-07-05 14:56:04 +02:00
Corentin Le Molgat
89ff4225d1 dotnet: move import lib to bin dir 2018-07-05 14:55:35 +02:00
Corentin Le Molgat
710e753009 Fix python on centos
- LD_LIBRARY_PATH must look into lib64 folder too
2018-07-05 14:53:26 +02:00
Corentin Le Molgat
0eabf6cea6 Split SWIG_LIB_SUFFIX for Python and .NET (Fix #742) 2018-07-04 12:17:29 +02:00
Corentin Le Molgat
ddf7995827 Make generate_deps.sh output identical everywhere
- By default MacOS and gLinux don't behave the same concerning '_' & '-' when sorting
2018-07-04 09:13:32 +02:00
Corentin Le Molgat
a225cf63c8 Update generate_deps.h
- Create empty rules for all source file
  - Add Empty recipe for ALL ortools/*/*.h
  - Add Empty recipe for ALL ortools/*/*.cc
  - Add Empty recipe for ALL ortools/*/*.proto
- Compute .$O prerequisite using .cc AND .h
- Add all pb.h for each associated *_DEPS
- Add all pb.h as prerequisite to associated .$O object
- Generate_deps on MacOS
- Add missing "-e" to echo
- Cleaning comments
- Remove uneeded space before *.cc prerequisite
2018-07-03 22:37:09 +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
d1403ea504 Fix csharp_linear_solver deps
- need to depends on GLOP_DEPS
2018-07-03 22:10:19 +02:00
Corentin Le Molgat
a636eafb50 Fix protobuf dynamic dir on MacOS 2018-07-03 22:07:11 +02:00
Corentin Le Molgat
77c2aff0a6 dotnet: Remove temp_dotnet when cleaning 2018-07-03 22:07:11 +02:00
Laurent Perron
05d9faf4d7 cleanup; move parallel code from fz to sat 2018-07-03 13:01:37 +02:00
Corentin Le Molgat
ef37139ca9 dotnet: rework testing 2018-06-29 11:01:40 +02:00