Commit Graph

126 Commits (e38a3156c34d31b5d1286095bef467dfa8054e4f)

Author SHA1 Message Date
Frank Dellaert e38a3156c3 Adding a pre-compiled header for MSVC 2018-11-04 12:37:43 -05:00
Frank Dellaert f8793f49ff Merge branch 'develop' into fix/msvc2017 2018-10-22 19:11:21 -04:00
Frank Dellaert aae802f89c Merge branch 'develop' into feature/cython-examples 2018-10-14 10:34:07 -04:00
Frank Dellaert 5aa75b5594 Remove -a, which created huge html files 2018-10-14 10:33:22 -04:00
Duy-Nguyen Ta c2541c0fc8 re-cythonize if pyx file is updated. 2018-10-13 22:46:20 -04:00
anuppari 0a5fd70f21 Minor fix to select mkl libs based on tbb use 2018-01-12 16:08:02 -07:00
aparikh 8f20c0c9af Update FindMKL.cmake and FindTBB.cmake
- Find more recent versions of MKL
- Work with Visual Studio 2015 (MSVC14)
2018-01-09 12:02:19 -07:00
Duy-Nguyen Ta 0d47d273c6 Fix the dependency problem where cython didn't get called when the header file is updated. Also change target gtsam_cython to cythonize_gtsam. 2017-10-08 22:11:54 -04:00
Duy-Nguyen Ta 6b208c0340 fix eigency build for Linux. Only Mac OS's linker needs the dynamic_lookup option for undefined symbols 2017-08-16 22:13:38 -04:00
Duy-Nguyen Ta acad9b0339 disable all warnings while compiling cython generated cpp 2017-08-14 17:23:24 -04:00
Duy-Nguyen Ta 6fb520b89d make cython fail at the first error 2017-08-14 17:22:04 -04:00
dellaert 74a33ff222 Re-structured argument overloading to call a common function 2017-08-06 11:07:13 -07:00
dellaert 81bb1d445a Fixed cmake so that it really defines CYTHON_EXECUTABLE (instead of just threatening to do so). This has the side-benefit that compilation now works from within eclipse. 2017-08-05 16:30:20 -07: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 b73e22220d remove FindClonedEigency.cmake 2017-07-28 15:22:40 -04:00
Duy-Nguyen Ta 742097aed0 eigency --> clonedEigency. Fixing bugs and improve eigency build. 2017-07-27 22:26:53 -04:00
Duy-Nguyen Ta 31eda8a38b quote ${dependencies} var so it's treated as one var in the if statement 2017-07-24 14:55:37 -04:00
Duy-Nguyen Ta aaea11dd83 deal with empty dependency list 2017-07-24 14:46:41 -04:00
Duy-Nguyen Ta 07574de9b0 also use the new cythonization mechanism for gtsam 2017-07-23 15:03:20 -04:00
Duy-Nguyen Ta b4aee31b76 allows multiple include dirs in cython command 2017-07-23 15:00:34 -04:00
Duy-Nguyen Ta 7977091e33 copy eigency into gtsam and cythonize it 2017-07-22 22:40:43 -04:00
Duy-Nguyen Ta 6b1c96869f specify libs to link with cython module for flexibility 2017-05-31 08:45:54 +08:00
Duy-Nguyen Ta cdac9a5c4c install cmake scripts to find dependencies for wrapping non-gtsam libs 2017-05-31 08:40:28 +08:00
Duy-Nguyen Ta ed31a0ae68 add numpy
It's not included in eigency include dirs in some systems
2017-05-28 02:55:19 +08:00
Duy-Nguyen Ta 1521a7e8ef compile cython using the manual 2-step process
This is to leverage all compile and linking flags within the cmake build system.
http://cython.readthedocs.io/en/latest/src/reference/compilation.html#compiling-from-the-command-line
2017-05-24 23:55:15 +08:00
Duy-Nguyen Ta 544b06510a remove whitespaces 2017-05-24 23:46:36 +08:00
chrisbeall 993c282905 Add build dependency to ensure cython wrapper is built after cpp library 2017-05-22 16:30:50 -04:00
Jing Dong 0f80f9bf41 static lib and examples compiles 2017-05-19 18:51:14 -07:00
Duy-Nguyen Ta 673806553b tabs -> spaces 2017-05-16 17:01:45 -04:00
Duy-Nguyen Ta b53a901922 only install script to the folder of the current build configuration.
Reviewed by Chris Beall
2017-05-16 16:57:13 -04:00
cbeall 265e8773ba Fix cython build when GTSAM_BUILD_TYPE_POSTFIXES is enabled. And fix cython build when gtsam is built as part of a larger project, i.e. it is not the top-level project. 2017-04-07 18:43:08 -07:00
Duy-Nguyen Ta d2dcb9133e Revert "remove redundant install_cython_files. Use install_cython_scripts instead"
This reverts commit 37033e6f16.
2017-04-07 12:10:28 -04:00
Duy-Nguyen Ta 37033e6f16 remove redundant install_cython_files. Use install_cython_scripts instead 2017-04-07 08:33:21 -04:00
chrisbeall c42cebc037 Configure __init__.py based on setting of GTSAM_BUILD_UNSTABLE. 2017-04-07 00:29:27 -07:00
Duy-Nguyen Ta e4b91fc17a better way to check Cython existence 2017-04-07 00:08:08 -04:00
Duy-Nguyen Ta 1ec09ddf6a more flexible destination folder for scripts installation 2017-03-25 23:35:46 -04:00
Duy-Nguyen Ta 0a979f6a55 install FindCython.cmake script to wrap other projects 2017-03-25 23:32:44 -04:00
Duy-Nguyen Ta b8d3292da3 force checking cython version in cmake 2017-03-21 00:55:50 -04:00
Duy-Nguyen Ta e624b6fe72 don't change matlab's generated filename (gtsam_wrapper), only cmake targets (to gtsam_matlab_wrapper) 2017-03-18 22:01:24 -04:00
Duy-Nguyen Ta 0da506b3a9 change gtsam_wrapper --> gtsam_matlab_wrapper 2017-03-18 20:32:25 -04:00
Duy-Nguyen Ta 7abcdb1b45 reorganize script folders: more reasonable packaging 2016-12-16 14:17:15 -05:00
Duy-Nguyen Ta 126de1b8a4 revert usage info: interfacePath must be absolute. 2016-12-16 00:34:07 -05:00
Duy-Nguyen Ta 70552e9f6d improve cmake Cython wrapper scripts to be usable in other projects 2016-12-16 00:26:03 -05: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
Duy-Nguyen Ta cb9a77ee08 add option for matlab wrapper 2016-11-13 23:49:47 -05:00
chrisbeall f9de023caf Only add custom all.tests target when GTSAM_BUILD_TESTS is true 2016-10-06 14:25:40 -07: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
Duy-Nguyen Ta 6068d94bea Revert "[msys] Disable dllexport/dllimport on msys2"
This reverts commit b955a0b715.
2016-08-18 10:48:05 -04:00
Manuel Naranjo b955a0b715 [msys] Disable dllexport/dllimport on msys2 2016-08-16 14:03:14 -03:00