Commit Graph

336 Commits (b7073e322440190620dbccc2a2499df4e5bf2574)

Author SHA1 Message Date
Varun Agrawal 74591eece6 fixed CYTHON_INSTALL_PATH cmake variable wrt cache 2020-07-01 14:36:16 -05:00
Varun Agrawal 8859b963a2 In-place cython build
Build everything inside the build/cython{BuildType} directory directly, so we can bypass the `make install` step and introduce the `make python-install` step which allows cmake to handle all dependencies.
2020-07-01 12:13:53 -05:00
Varun Agrawal 9cbabb2cb6 Set high level Cython/Eigency variables to reduce duplication 2020-06-30 20:45:55 -05:00
Varun Agrawal 453d3a7416 Added cmake variable GTSAM_CYTHON_INSTALL_FULLPATH to include build tag directly 2020-06-24 18:11:24 -05:00
Bernd Pfrommer 71f4bb3019 Use GNUInstallDirs to make install destination directories configurable 2020-05-31 21:52:00 -04:00
Varun Agrawal 83bd42c72f maintain backwards compatibility of CMake 2020-04-01 16:55:42 -04:00
Varun Agrawal 9361d5b491
Merge pull request #260 from borglab/fix/cmake-wrapper-warnings
Fixed some wrapper warnings
2020-03-29 19:26:58 -04:00
Varun Agrawal 8194b931fe
Merge pull request #250 from acxz/tbb_ci_simple
Add TBB to Travis CI (simple)
2020-03-28 18:19:42 -04:00
acxz 88005a99a1 fix tbb CMakeLists indentation 2020-03-26 13:46:30 -04:00
Varun Agrawal cd809309f7 suppress warning only on linux for now, need to figure out for other OSes 2020-03-23 08:04:17 -04:00
Varun Agrawal 0479223b3f suppress warning when wrapper indentation is too long 2020-03-22 20:04:33 -04:00
acxz 6ec13bdcd5 add tbb version guard to fix clang build
(cherry picked from commit 9b912f6b14d2cf715d17208df35b8253d5e648e7)
2020-03-15 22:18:35 -04:00
Varun Agrawal 4c6d5600b3 Cmake print status of Cheirality Exception flag 2020-02-06 23:56:07 -05:00
Jose Luis Blanco Claraco c101e83b4b
Fix cmake policy CMP0054 warning 2019-12-28 20:31:52 +01:00
Fan Jiang cf1afedd9f Remove the override allowing boost::optional binding to rvalues 2019-12-23 12:58:00 -08:00
Varun Agrawal 2fe2e0b754 don't add CMAKE_INSTALL_NAME_DIR to cmake cache, allowing it to be updated by ccmake 2019-12-22 10:13:23 -05:00
Varun Agrawal 74e0647bed add top level path for installation on macOS devices 2019-12-21 10:41:29 -05:00
Jose Luis Blanco-Claraco 087221ac95
travis: use clang-9 2019-12-12 23:23:16 +01:00
Frank Dellaert e5a13b7b36
Merge pull request #135 from borglab/boost-exported-targets
Get back to Boost "modern" CMake targets
2019-10-12 13:41:16 -04:00
Jose Luis Blanco-Claraco b3dccc6ef3
get gtsam version number in synch 2019-10-07 21:47:51 +02:00
Jose Luis Blanco-Claraco b10963802c
Revert "Fix cmake handling newer boost versions (Closes: #442)"
This reverts commit a0fce4257f.
2019-10-07 11:21:22 +02:00
Frank Dellaert a1583e08b7
Switched default to OFF 2019-09-12 15:01:01 -04:00
Varun Agrawal 7dc1811d54 add cmake flag to include eigen-unsupported module 2019-09-12 14:56:12 -04:00
Clark Taylor 2cf4514e81 Changes to get gtsam to compile in Windows 2019-07-11 13:55:12 +02:00
Jose Luis Blanco-Claraco c572a14d7b Fix more CMake errors for MSVC builds 2019-06-20 21:18:55 +02:00
Varun Agrawal bc16290e96 Main CMakeLists.txt edit
- Added top-level cmake build type upper case variable.
- Added new GTSAM_BUILD_TAG variable for use in wrapping gtsam_eigency.
- Removed FATAL message regarding GTSAM_BUILD_TYPE_POSTFIXES.
2019-06-17 16:36:50 -04:00
Jose Luis Blanco Claraco 7f43054c37 Refactor build flags via CMake target properties
Also:
- Allow users to edit cmake target build options in the cache variables.
- We had to add project() commands for  gtsam and gtsam_unstable,
the PROJECT_SOURCE_DIR changed, but the root GTSAM_SOURCE_DIR instead.
- Ensure use of standard C++11 (no extensions)
2019-06-15 23:09:54 +02:00
Jose Luis Blanco-Claraco bf20ec91de cmake: fix unset variable for MSVC 2019-06-15 10:15:34 +02:00
Frank Dellaert fc10e7c9c6
Merge pull request #52 from jlblancoc/add_uninstall
Provide target `make uninstall`
2019-06-11 12:07:32 -04:00
Jose Luis Blanco Claraco 3a85be2531 provide 2019-06-10 12:41:27 +02:00
Jose Luis Blanco Claraco cc4bc458eb Ensure users do not mix up Eigen versions 2019-06-01 09:01:00 +02:00
chrisbeall 110586a571 Require TBB 4.4 or newer 2019-05-26 12:15:31 -07:00
dellaert 1cbb6d74f8 cmake fixes 2019-05-19 11:30:48 -04:00
chrisbeall 7b9ed50daa Add option to toggle march=native 2019-05-18 15:15:27 -07:00
Matthew Broadway f4f269e2bc print message if build postfix is used when building for cython or matlab 2019-05-17 14:54:12 +01:00
José Luis Blanco-Claraco 0d5fa8f591 Merged in jlblancoc/gtsam/fix-eigen-msvc-dlls (pull request #419)
close issue #417
solution to DLL build in MSVC (Fixes: #417)
2019-04-19 20:49:30 +00:00
Jose Luis Blanco-Claraco 898417196f alternative solution to DLL build in MSVC 2019-04-18 22:44:49 +02:00
jlblancoc a0fce4257f Fix cmake handling newer boost versions (Closes: #442) 2019-04-08 10:22:59 +02:00
Chris Beall 40134c3a9e Restore warnings about MKL, change notice about performance. 2019-03-12 11:16:32 -07:00
chrisbeall e24b402db4 Turn MKL off by default. Add section on performance to INSTALL.md 2019-03-12 09:25:14 -07:00
Matthew Broadway e9e8ca3990 added option to specify python version 2019-02-28 09:14:39 +00:00
jlblancoc 6723b481a6 fix missing Eigen in Cython wrapper 2019-02-17 01:02:17 +01:00
jlblancoc 7625c21777
Various fixes to cmake exported targets
List of changes:
 * -I boost is no longer required
   (Since the use of Boost::xxx imported targets)
 * fix missing Boost deps in imported gtsam by
   searching for Boost inside GTSAMConfig.cmake
 * Including the dirs for Eigen/MKL/SuiteSparse/Metis
   into exported targets public interface.
 * Fix missing cmake changes in wrap/*
 * Split build flags into private/public, not to
   expose to users flags that may be invasive.
 * Removed now useless include_dirs in "extra cmake"
 * Update cmake/example_project
 * Make cppunitlite to find boost headers via Boost::boost
 * Update README / INSTALL to reflect the updated minimum CMake >= 3.0
2019-02-15 22:04:04 +01:00
Jose Luis Blanco-Claraco 9ea90b5b45
port to target-based compile options and definitions
This also fixes CMake warnings on Windows
2019-01-24 10:35:26 +01:00
Jose Luis Blanco Claraco 87888f7bc3 Imported TBB targets; update gtsam_unstable cmake 2019-01-08 00:44:49 +01:00
Jose Luis Blanco Claraco 8513e4c230 Merge remote-tracking branch 'upstream/develop' into develop 2019-01-07 23:34:45 +01:00
Jose Luis Blanco Claraco 88bfbceb21 Use standard BUILD_SHARED_LIBS
Instead of custom GTSAM_BUILD_STATIC_LIBRARY
2018-12-21 13:14:40 +01:00
cbeall f17b12bbfd Add cmake flag to toggle use of ccache. On by default. 2018-12-18 15:04:21 -08:00
Frank Dellaert 1468250a0d Added ccache support as shown in Issue #390 2018-12-18 11:47:07 -08:00
Chris Beall d56033b5a5 Add CMake check for incompatible MKL + Eigen 3.3.4 2018-12-11 10:56:56 -08:00
Jing Dong ce460eea92 fix virtual memory range for PCH exceeded 2018-11-30 15:48:16 -05:00
Frank Dellaert 1becaab652 Added comment 2018-11-08 09:52:12 -05:00
Frank Dellaert f8793f49ff Merge branch 'develop' into fix/msvc2017 2018-10-22 19:11:21 -04:00
Frank Dellaert bf0c9dccaa cmake changes 2018-10-22 19:10:52 -04:00
Duy-Nguyen Ta b74875f10a Similar to Matlab wrapper, CYTHON_TOOLBOX and POINTS_TO_VECTOR can't co-exist for now 2017-08-17 07:03:35 -04:00
Duy-Nguyen Ta 931405155e move GTSAM_CYTHON_INSTALL_PATH to main CMakeLists. Set eigency install path in gtsam_extra.cmake so other non-gtsam projects can find. 2017-07-28 15:24:30 -04:00
Duy-Nguyen Ta a715e064a6 kill system's eigency 2017-07-27 05:07:21 -04:00
Duy-Nguyen Ta 3e547c89bb add option to use system eigency (default off) 2017-07-23 14:57:02 -04:00
Duy-Nguyen Ta 0c3424d851 rearrange: move build unstable up before toolboxes wraps 2017-07-23 14:55:23 -04:00
Jing Dong 0f80f9bf41 static lib and examples compiles 2017-05-19 18:51:14 -07:00
Jing Dong 3f98942e9a a few tmp fix to bypass eigen errors, should not be permanent solutions 2017-05-17 14:30:17 -07:00
Jing Dong 9f30d225fe fixing compile issues on vc++14 2017-05-16 14:15:01 -07:00
Duy-Nguyen Ta e407a42160 Merge branch 'develop' into feature/cython_wrapper
# Conflicts:
#	wrap/Module.cpp
2016-11-25 03:43:36 -05:00
Duy-Nguyen Ta c54753d106 now can build and install with cmake 2016-11-25 02:27:12 -05:00
Ryan Estep d1cdafa3f5 Removed the boost::regex include (not used) from the matlab wrapper & removed any linking to boost::regex 2016-08-29 13:03:46 +12:00
Frank be21889e9d One flag to rule them all: GTSAM_TYPEDEF_POINTS_TO_VECTORS 2016-06-06 18:31:10 -07:00
dellaert fb0a5489d7 Added flag 2016-05-15 13:15:37 -07:00
dellaert 621aefb9a5 Forgot to commit cmake change 2016-04-16 13:22:49 -07:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
Frank Dellaert 5afdc24ca7 Merged in feature/typedefPoint3 (pull request #225)
Point3 -> Vector3
2016-02-18 11:13:33 -08:00
Frank 52fff13b6f Added configuration variable for typedef only 2016-02-17 12:19:03 -08:00
Chris Beall c11592e08f Merged in kartikmohta/gtsam/kartikmohta/use-system-eigen-if-version-325-since-t-1455053953897 (pull request #221)
Use system Eigen if version >= 3.2.5 since that includes our patches
2016-02-13 17:06:03 -05:00
Kartik Mohta 96714269a3 Change Eigen MKL warning message 2016-02-13 16:34:27 -05:00
Kartik Mohta 3df163837a Respect user's choice for using system Eigen, default to included copy 2016-02-13 15:08:54 -05:00
Enrique Fernandez 77e2be26c8 Disable GTSAM_BUILD_PYTHON by default 2016-02-12 16:19:00 -05:00
Kartik Mohta 9a7dba75c4 CMakeLists.txt: Fix eigen version check logic 2016-02-09 22:11:28 -05:00
Kartik Mohta dcbba523f2 Use system Eigen if version >= 3.2.5 since that includes our patches 2016-02-09 21:39:20 +00:00
Paul 760a375a32 External define for depricated functions 2016-02-09 10:30:05 -05:00
Chris Beall 79e29e3d19 Prohibit configuration with GTSAM_BUILD_PYTHON AND GTSAM_ALLOW_DEPRECATED_SINCE_V4 both turned ON 2016-02-02 01:34:13 -05:00
Chris Beall 4eeedd31fc Fix GTSAM_ALLOW_DEPRECATED_SINCE_V4 flag typo 2016-01-28 12:00:39 -05:00
dellaert 540772819b Added definition 2016-01-27 22:07:46 -08:00
Frank Dellaert f078741ed4 New GTSAM option 2016-01-26 23:57:44 -08:00
Chris Beall fe56fcd747 Make option text consistent with Matlab text 2016-01-24 23:40:11 -05:00
Chris Beall 4c44ddc4e6 Print all python-related dependency warnings at the end of cmake output with all the other warnings. Don't automatically toggle GTSAM_BUILD_PYTHON option to OFF - this is more consistent with how other options are handled. 2016-01-21 01:13:22 -05:00
Ellon Mendes 86c3cf7ff6 Print cmake python options 2015-12-02 13:35:17 +01:00
Ellon Mendes ff298451d7 Build Python module by default 2015-12-02 13:35:17 +01:00
Ellon Mendes ea6ecdd9d5 Move subdirlist macro to cmake/GtsamPythonWrap.cmake
Conflicts:
	cmake/GtsamPythonWrap.cmake
2015-12-02 13:35:16 +01:00
Ellon Mendes ffae37a675 Revert python module to use old handwritten files
Just noticed several handwritten files here. I'm reverting the python module to
use these handwritten files to later add the files I was wrapping to the same
framework.

Classes from geometry were wrapped for an old C++ interface, so several
boost python's .def(...) were commented out.

Conflicts:
	python/gtsam/.gitignore
2015-12-02 13:35:15 +01:00
Ellon Mendes 96d6b79f5e Start organizing python module
Organize gtsam modules into submodules. Start with a handwritten noiseModel
module.

Conflicts:
	CMakeLists.txt
2015-12-02 13:35:14 +01:00
Ellon Mendes 2dbe7fa2e9 Add numpy_eigen as a 3rd party library.
This commit adds a simple version of numpy_eigen, copied from
gtborg/numpy_eigen commit 255c09efb82496, and with a fix released in the commit
9a75383733b3dc4bc2bb0649053949ad2bec9326 of Scheizer-Messer/numpy_eigen
(https://github.com/ethz-asl/Schweizer-Messer/tree/master/numpy_eigen)

Conflicts:
	CMakeLists.txt
	gtsam/CMakeLists.txt
2015-12-02 13:35:14 +01:00
Andrew Melim ec934770f3 Initial stages of python wrapping. Issues with method overloading, boost optionals. Testing with Point2 only now 2015-12-02 13:35:13 +01:00
cbeall3 e694d62b3f Allow binding to optional rvalues (We should fix this properly) 2015-10-20 14:41:28 -04:00
dellaert b5d0383048 Fixed clang 7.0 warnings in boost headers 2015-10-08 12:35:12 -07:00
cbeall3 3ca9cb8022 this should fix the MKL linking problem 2015-06-22 11:43:30 -04:00
cbeall3 0f02b7d473 Prohibit Timing build mode with TBB. See issue #173 2015-06-17 16:23:27 -04:00
cbeall3 add6bf7dbd Correct documentation about Eigen patches 2015-05-20 13:58:58 -04:00
cbeall3 88e0ae3f7a Remove unneeded Eigen include config file, and minor cleanup 2015-03-18 21:46:12 -04:00
cbeall3 e565213c0f Append full Eigen include path to GTSAM_INCLUDE_DIR to dependent projects can find the same Eigen that GTSAM was configured with 2015-03-18 14:20:45 -04:00
cbeall3 f61e398e2d Deal with patched/un-patched version of householder_qr_inplace_blocked 2015-03-10 13:00:28 -04:00
Abe 531ecb4000 Get rid of hardcoded path to the internal version of eigen inside gtsam 2015-03-09 17:38:15 -07:00