Varun Agrawal
a6908cd1cb
removed unneeded install commands and updated README
2020-07-01 16:23:24 -05:00
Varun Agrawal
59968fddc5
Python Wrapper CMake update
...
- Added python-install target variable for easy updating.
- Fixed/Added all dependencies so that everything is built automatically.
- Removed unnecessary install commands
2020-07-01 14:36:57 -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
7a725bf46a
Remove redundant postfix checking since the postfix is already added at the top level
2020-06-30 20:48:01 -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
Varun Agrawal
5feaf6dd9d
reset to previous version
2020-06-24 14:07:28 -05:00
Varun Agrawal
9698b03253
removed extra line
2020-06-24 14:06:25 -05:00
Varun Agrawal
efde078b94
pure CMake script to install Python wrapper after compiling
2020-06-24 14:05:17 -05:00
Varun Agrawal
ca46ebfda8
added comments and removed unnecessary code
2020-06-22 20:20:50 -05:00
Varun Agrawal
93a00a38a4
add new make command for installing python wrapper
2020-06-22 20:14:03 -05:00
Varun Agrawal
1725a577cf
cmake function to install python package once make install is completed
2020-06-22 17:25:29 -05:00
Tuwuh S Wibowo
046bcaa031
Add full path to Python library, esp useful for VS generator
2020-05-21 13:23:18 -04:00
Tuwuh S Wibowo
125d59dfcd
Fix Cython build on Windows/MSVC, tested on MSVC 2019 compiler
2020-05-21 02:15:15 -04:00
Fan Jiang
cbea85dafd
Regression
2020-01-06 22:42:52 -05:00
Fan Jiang
ef8026bc23
Regression
2020-01-06 22:35:11 -05:00
Fan Jiang
982c904c1c
Cleanup the cmake files
2020-01-06 18:52:09 -05:00
Fan Jiang
4e9dd1292d
Fix library find
2020-01-05 13:15:07 -05:00
Varun Agrawal
4f5d13f328
GtsamCythonWrap.cmake update
...
- Update install directory so that the release tag is appended to the cython directory only rather than the specific subdirectories.
- Update the target properties so that the .so files don't have the build type appended as a postfix.
2019-06-17 16:36:50 -04:00
Matthew Broadway
2f232fd4d4
removed redundant call to find_package
2019-03-07 15:58:05 +00:00
Matthew Broadway
9c1dfd244f
fixed a bug where unsetting the cached python version leads to different numpy/cython/libraries being used
2019-02-28 09:14:39 +00:00
Matthew Broadway
e9e8ca3990
added option to specify python version
2019-02-28 09:14:39 +00:00
Matthew Broadway
09ac7f7c06
removed requirement for python 2.7 in cmake
2019-02-28 09:14:39 +00:00
Matthew Broadway
27f87d340e
caching cmake variables
2019-02-28 09:14:39 +00:00
Matthew Broadway
e896ae1c43
compile cython compatible with the chosen python version
2019-02-28 09:14:39 +00: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
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
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
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
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