Commit Graph

10112 Commits (7977091e3364cda4dcf54ff653a074c59fa02c1c)

Author SHA1 Message Date
Duy-Nguyen Ta 7977091e33 copy eigency into gtsam and cythonize it 2017-07-22 22:40:43 -04:00
Duy-Nguyen Ta d25c15842c update readme 2017-05-31 08:58:45 +08: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 504022a514 remove now redundant setup.py.in
Not used anymore with the manual cython compiling process
2017-05-24 23:56:08 +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
dellaert c8dec5d8dc Small changes in comments and docs 2017-05-20 12:23:41 -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
Duy-Nguyen Ta 8c60868e63 wrap more functions 2017-05-15 14:42:45 -04:00
Chris Beall e2f028c6b6 Merged in feature/cython_wrapper_postfix_build_fixes (pull request #295)
Cython build fixes - round 2

Approved-by: Duy-Nguyen Ta <thduynguyen@gmail.com>
2017-04-08 01:58:40 +00: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
Chris Beall f7f5e5cd26 Merged in feature/cython_wrapper_build_fixes (pull request #294)
Feature/cython wrapper build fixes

Approved-by: Duy-Nguyen Ta <thduynguyen@gmail.com>
2017-04-07 16:18:05 +00: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
cbeall 6824ee0487 Fix link error for gtsam_unstable cython wrapper 2017-04-06 22:18:45 -07:00
Duy-Nguyen Ta e4b91fc17a better way to check Cython existence 2017-04-07 00:08:08 -04:00
cbeall d2612d9fe1 Add Boost_INCLUDE_DIR to fix error when boost is not on default system path (Macports) 2017-03-30 13:18:05 -07:00
Duy-Nguyen Ta dda8e31934 fix comment 2017-03-26 00:13:27 -04:00
Duy-Nguyen Ta 61a3475372 fix installation path 2017-03-26 00:13:05 -04:00
Duy-Nguyen Ta 123ae36c63 put back requirements.txt, now with backports. 2017-03-25 23:38:49 -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 b2243d950b get compiler settings from cmake 2017-03-21 18:05:41 -04:00
Duy-Nguyen Ta 90ea744619 [mac/clang/libc++/c++11] force clang to use libc++ for c++11, instead of the default old libstdc++4.2.1 which doesn't support c++11 2017-03-21 15:02:21 -04:00
Duy-Nguyen Ta a8d363c347 update expected pyx 2017-03-21 03:52:01 -04:00
Duy-Nguyen Ta 869dc811b0 graceful dynamic cast failures 2017-03-21 02:34:04 -04:00
Duy-Nguyen Ta b8d3292da3 force checking cython version in cmake 2017-03-21 00:55:50 -04:00
Duy-Nguyen Ta a2333b9ef2 update cython/readme to troubleshoot eigency installation problems 2017-03-20 17:22:40 -04:00
Duy-Nguyen Ta 87443621c4 make gtsam_unstable_cython_wrapper dependent on gtsam_cython_wrapper. 2017-03-20 17:16:17 -04:00
Duy-Nguyen Ta 3e4a8b6b48 update todo with some nice-to-have features 2017-03-18 23:06:19 -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 e1fedad0a6 revert adding copy constructors 2017-03-18 21:23:12 -04:00
Duy-Nguyen Ta 0da506b3a9 change gtsam_wrapper --> gtsam_matlab_wrapper 2017-03-18 20:32:25 -04:00
Duy-Nguyen Ta 4a57d8cd27 update todo 2017-03-18 20:29:41 -04:00
Duy-Nguyen Ta 3daf8d7351 fix bad import * style 2017-03-18 19:50:35 -04:00
Duy-Nguyen Ta d6c75b57f8 update todo 2017-03-18 19:49:37 -04:00
Duy-Nguyen Ta c8e4648c66 better name: gtsam_short --> gtsam_test 2017-03-18 19:49:19 -04:00
Duy-Nguyen Ta ee75faa0df test cython wrapper's generated files 2017-03-18 18:35:28 -04:00
Duy-Nguyen Ta e3918da95c update test to comply with a cython wrapper's requirement: need an include for every class. 2017-03-18 18:33:01 -04:00
Duy-Nguyen Ta 2146aa140c default value for cython extra imports 2017-03-18 18:30:44 -04:00
Duy-Nguyen Ta 07b1bbfe7f remove namespace requirement for cython wrapper
Only for unittesting wrap geometry.h, not yet tested in real python/cython
2017-03-18 18:29:53 -04:00
Duy-Nguyen Ta 42deeb7bf0 fix/update matlab wrapper tests when wrap serialization option is off 2017-03-18 18:26:21 -04:00
Duy-Nguyen Ta aa43cf725c update TODO 2017-03-18 16:00:42 -04:00
Duy-Nguyen Ta d18e638b08 cython wrap unstable 2017-03-18 15:52:08 -04:00
Duy-Nguyen Ta a6281e1932 unify gtsam.h for matlab and cython wrapper 2017-03-18 15:33:01 -04:00