Gael Guennebaud
7ef9d82b39
add a minimalistict lapack wrapper
2011-01-26 16:34:45 +01:00
Benoit Jacob
bf0cffa897
restore the behavior of defaulting to Release build type
2011-01-19 10:15:36 -05:00
hamelin.philippe
5e28f34005
Replace CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR to allow the cmake project to be included by a root project.
2011-01-17 09:59:40 -05:00
Gael Guennebaud
583f963517
make the table fit within 80 characters
2011-01-01 12:02:55 +01:00
Jose Luis Blanco
7feb644620
Switched "MESSAGE(" -> "MESSAGE(STATUS " in CMake script, since otherwise they may look like errors to the user.
2010-12-29 22:02:01 +01:00
Hauke Heibel
3b6d97b51a
Re-enabled the BLAS compilation on non-MSVC systems.
2010-12-17 10:52:57 +01:00
Hauke Heibel
5e46f7a499
Switched back to the old behaviour where EIGEN_SPLIT_LARGE_TESTS was ON per default on MSVC systems.
...
Without splitting these tests, some do not compile
2010-12-17 09:42:17 +01:00
Gael Guennebaud
a21d56b766
disable blas if C++ compiler is MSVC
2010-12-16 20:51:44 +01:00
Gael Guennebaud
c7f01157dd
enforce compilation of blas unit tests when running ctest
2010-12-12 13:10:00 +01:00
Konstantinos Margaritis
e05c79cbd8
Fixed NEON compilation errors, changed float-abi back to softfp (which is the most used right now).
...
Some complex tests appear to segfault, needs a more careful look.
2010-12-10 20:27:46 +02:00
Hauke Heibel
597b2745e1
Allow unset ${CMAKE_BUILD_TYPE} which is required for some targets and corresponding to using default values.
2010-10-25 18:49:39 +02:00
Benoit Jacob
a94f216487
error out on bad build type
2010-10-25 10:15:22 -04:00
Benoit Jacob
ca85a1f6c5
remove build type tweaking
2010-10-23 10:00:43 -04:00
Jitse Niesen
dbdf7ee942
Use 'Release' as default when build type is not specified.
...
Otherwise, "cmake /path/to/eigen/" in an empty build directory, as specified
on the CMake page on the wiki, yields a fatal error.
2010-10-22 12:23:35 +01:00
Benoit Jacob
bfd46eacad
don't change the build type, fatal error if bad build type
2010-10-21 08:55:48 -04:00
Hauke Heibel
9bbaff6b41
Fixed the unit test splitting for MSVC.
2010-10-21 07:39:06 +02:00
Hauke Heibel
cd3a9d1ccb
Fixed bug #74 .
2010-10-17 12:33:47 +02:00
Benoit Jacob
c8ecc897c0
add EIGEN_TEST_X87 option
2010-10-13 09:04:59 -04:00
Konstantinos Margaritis
6ad3f1ab1f
Added NEON/Complex.h, ~3.5x faster than scalar std::complex<float>
...
minor fix in AltiVec Complex.h
2010-07-10 00:09:29 +03:00
Hauke Heibel
ce1e5e52dd
Enable OpenMP testing for MSVC.
...
Added CMake comments.
2010-07-01 07:28:16 +02:00
Gael Guennebaud
de1220aa62
add a Transposition section in page 2
2010-06-28 00:05:11 +02:00
Hauke Heibel
cec297f77b
Disabled to __forceinline warning - it creates too many spurious errors and we disabled it only for the unit test (see also the code comment).
2010-05-19 19:35:42 +02:00
Benoit Jacob
08fbfa93e0
make the cmake options EIGEN_DEFAULT_TO_ROW_MAJOR and disabling EIGEN_SPLIT_LARGE_TESTS work also for unsupported tests
2010-05-18 08:59:39 -04:00
Benoit Jacob
84d1b2ae3a
add platform check for how to link to the standard math library.
...
This allows to support QNX.
2010-04-19 11:19:22 -04:00
Benoit Jacob
ce32f90fdd
clarify help message about make install
2010-04-17 12:10:53 -04:00
Gael Guennebaud
7a59f9ae01
make sure that changing CMAKE_INSTALL_PREFIX is properly taken into account
2010-04-08 13:28:21 +02:00
Benoit Jacob
f03d95348d
introduce EIGEN_DONT_ALIGN_STACK (disables alignment attributes) and EIGEN_DONT_ALIGN_HEAP (disables aligned malloc)...
...
you can still use EIGEN_DONT_ALIGN to do both at once.
2010-03-06 02:17:37 -05:00
Gael Guennebaud
dd961f8c60
add an option to test ompenmp
2010-03-05 10:22:27 +01:00
Benoit Jacob
6c89fd4df0
minor cleanup
2010-03-03 13:16:21 -05:00
Konstantinos Margaritis
112c550b4a
Added initial NEON support, most tests pass however we had to use some hackish workarounds
...
as gcc on ARM (both CodeSourcery 4.4.1 used and experimental 4.5) fail to
ensure proper alignment with __attribute__((aligned(16))). This has to be
fixed upstream to remove the workarounds.
2010-03-03 11:25:41 -06:00
Hauke Heibel
ac8ff44278
Tried to get rid of MSVC warning D9025.
2010-02-21 15:23:51 +01:00
Hauke Heibel
6b4cecc1c6
CMake cleanup.
2010-02-20 17:39:58 +01:00
Gael Guennebaud
a9096b626b
not all versions of gcc support -Wno-variadic-macros
2010-02-15 11:39:57 +01:00
Hauke Heibel
04333c6ace
Now variadic macro related warnings should be supressed as well under Linux.
2010-02-09 16:37:24 +01:00
Benoit Jacob
13b078efc9
remove reference to dead option
2010-01-28 08:46:01 -05:00
Hauke Heibel
d088ee35f6
Added to possibility to compile unit tests at maximum warning level.
...
Silenced (amongst others) many conversion related warnings.
2009-12-12 11:39:07 +01:00
Mark Borgerding
d1e06721a2
instruction to remove CMakeCache.txt for out-of-source build
2009-12-01 17:39:29 -05:00
Benoit Jacob
5923bcb1b9
improve the scripts for building unit tests:
...
* support unsupported/
* use egrep instead of grep, properly escape special chars.
2009-11-25 21:26:37 -05:00
Benoit Jacob
684d76eba3
add SSE4 support, start with integer multiplication
2009-11-24 15:12:43 -05:00
Benoit Jacob
2275f98d7b
move signature file to root directory, where it belongs
2009-11-19 12:41:28 -05:00
Benoit Jacob
b5f4636d42
* eigen2->eigen3
...
* bump version to 2.91.0
* add FindEigen3.cmake
2009-11-19 12:09:04 -05:00
Benoit Jacob
955cd7f884
* add PermutationMatrix
...
* DiagonalMatrix:
- add MaxSizeAtCompileTime parameter
- DiagonalOnTheLeft ---> OnTheLeft
- fix bug in DiagonalMatrix::setIdentity()
2009-11-15 21:12:15 -05:00
Benoit Jacob
9aa37f3108
prevent in-source builds. hope it's ok with you... it's still possible, of course, to have the build dir as a subdir of the source dir.
2009-11-15 00:11:33 -05:00
Jitse Niesen
d07c05b3a5
Build tests for unsupported modules if EIGEN_LEAVE_TEST_IN_ALL_TARGET
2009-11-13 13:05:57 +00:00
Benoit Jacob
358452bbe6
* add ./debug and ./release scripts
...
* update the messages
* rename EIGEN_CMAKE_RUN_FROM_CTEST to something saner
2009-11-12 12:07:18 -05:00
Benoit Jacob
ff7fbc9431
* use standard CMAKE_BUILD_TYPE
...
* remove debug_xxx targets
* runtest.sh: don't run make
2009-11-11 16:11:33 -05:00
Thomas Capricelli
b53c2fcc99
fix for *.pc install dir (suggested by Ingmar Vanhassel on IRC)
2009-11-11 15:28:39 +01:00
Benoit Jacob
2840ac7e94
big huge changes, so i dont remember everything.
...
* renaming, e.g. LU ---> FullPivLU
* split tests framework: more robust, e.g. dont generate empty tests if a number is skipped
* make all remaining tests use that splitting, as needed.
* Fix 4x4 inversion (see stable branch)
* Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices.
* CMakeLists: more robust regexp to parse the version number
* misc fixes in unit tests
2009-10-28 18:19:29 -04:00
Benoit Jacob
890bff977e
* proper check for Make
...
* fix documentation of ei_add_test
2009-10-19 15:56:03 -04:00
Hauke Heibel
e5bf72679c
Fixed nmake parameter.
...
Disabled debug_* targets for MSVC_IDE (they already exist).
Removed the make usage message for MSVC_IDE.
2009-10-09 14:09:25 +02:00
Benoit Jacob
fa9fc1397b
next attempt ... introduce EIGEN_CMAKE_RUN_FROM_CTEST, in that case don't EXCLUDE_FROM_ALL
2009-10-05 07:42:31 -04:00
Benoit Jacob
b78b2ede5f
finally, the right fix: set CTEST_BUILD_TARGET.
...
So this is the come-back of btest target, and the default target is empty again.
2009-10-04 20:27:44 -04:00
Benoit Jacob
7956fc49a0
dd first-time tip, to warn against doing "make".
...
now i think we're reasonably safe.
2009-10-03 22:11:30 -04:00
Benoit Jacob
d040c9fc9e
add INSTALL and message about no need to do "make"
2009-10-03 17:19:14 -04:00
Benoit Jacob
a1d9b76dd5
add debug targets like debug_qr to build a specific test with debug info
...
remove the btest target, instead just do "make" since anyway we have to let "make" build the tests
2009-10-03 16:50:50 -04:00
Benoit Jacob
3e4cb08054
fix #59 , can't EXCLUDE_FROM_ALL the test directory
2009-10-03 15:51:42 -04:00
Benoit Jacob
457b7cba96
more message improvements, tell the user about building a specific test
2009-09-28 11:08:31 -04:00
Benoit Jacob
765600458b
* bump to 2.90.0 now that it's agreed that we're doing eigen3
...
---> question: do we change the prefix eigen2/ to eigen3/ now?
no, better wait until we've also changed the repository name
* more message improvements: "Install Eigen" was unclear as it left
out other things like the BLAS library
2009-09-27 18:05:54 -04:00
Benoit Jacob
2e4be5a75c
improve message
2009-09-27 17:55:58 -04:00
Benoit Jacob
92480ffd26
* Introduce make targets btest (build tests), blas (build blas lib), demos (build demos).
...
* remove EIGEN_BUILD_TESTS and siblings
* add summary at the end of cmake run, hopefully not too verbose
* fix build of quaternion demo
* kill remnants of old binary library option
2009-09-27 17:48:53 -04:00
Gael Guennebaud
04dc63776a
add a wip blas library built on top of Eigen. TODO:
...
- write extentive unit tests (maybe this already exist in other projects)
- the level2 functions still have to be implemented
2009-09-25 13:08:39 +02:00
Hauke Heibel
c6822d6723
Added EIGEN_REF_TO_TEMPORARY define for rvalue support.
...
Allowed VC10 to make use of static_assert.
2009-09-21 19:59:58 +02:00
John Smith
227f6cbce0
Fixed SSE related build warning on 64-bit windows systems.
2009-08-28 00:05:44 +02:00
Benoit Jacob
2f027b0d2c
only append the changeset to the version if we're in the default branch
2009-08-14 21:58:41 -04:00
Benoit Jacob
c20236ea75
remove the FORCE
2009-08-04 17:06:54 +02:00
Benoit Jacob
d10c710b15
add new Householder module
2009-08-03 16:06:57 +02:00
Ingmar Vanhassel
7a7a3f3570
Fix out of source build
2009-05-27 17:36:46 +02:00
Gael Guennebaud
6ecd02d7ec
merge
2009-05-20 00:05:28 +02:00
Gael Guennebaud
56aad5aafb
* add a FindEigen2.cmake file for reference
...
* parse the version number from the Macro.h header file
2009-05-20 00:04:08 +02:00
Rhys Ulerich
066acca179
Added pkgconfig support
2009-05-19 11:48:50 -05:00
Gael Guennebaud
23f073625d
add -Wextra only if compiler supports it
2009-05-06 08:15:54 +00:00
Benoit Jacob
502bf4a81d
* fix the binary bloat issue, Rohit's idea was the good one
...
* a few dox fixes (alloc routines do return 0 on error) and forgot to update version number in CMakeLists
2009-04-06 13:33:42 +00:00
Gael Guennebaud
40774c625e
add a proof of concept autodiff jacobian helper class based on adolc
...
with unit test and FindAdolc cmake module
2009-02-27 16:19:13 +00:00
Gael Guennebaud
e2ee7a6a58
increase version number for step
2009-02-19 15:46:10 +00:00
Gael Guennebaud
8a6f38c638
forgot to commit changes in main CMakeLists.txt
...
(add unsupported folder)
2009-02-05 09:37:53 +00:00
Benoit Jacob
bc9a276b78
call it "Eigen 2.0.50-unstable" to make things clear, and update EIGEN_MINOR_VERSION to 50
2009-02-02 17:15:01 +00:00
Benoit Jacob
5f43a42ee7
* remove set(), revert to old behavior where = resizes
...
* try to be clever in matrix ctors and operator=: be lazy when we can, always allow
to copy rowvector into columnvector, check the template parameters,
try to factor the code better
* add missing copy ctor in UnalignedType
* fix bug in the traits of DiagonalProduct
* renaming: EIGEN_TUNE_FOR_CPU_CACHE_SIZE
* update the dox a little
2009-01-21 17:10:23 +00:00
Gael Guennebaud
4f33fbfc07
two compilation fixes
2009-01-15 08:26:40 +00:00
Gael Guennebaud
c4c70669d1
Big rewrite in the Sparse module: SparseMatrixBase no longer inherits MatrixBase.
...
That means a lot of features which were available for sparse matrices
via the dense (and super slow) implemention are no longer available.
All features which make sense for sparse matrices (aka can be implemented efficiently) will be
implemented soon, but don't expect to see an API as rich as for the dense path.
Other changes:
* no block(), row(), col() anymore.
* instead use .innerVector() to get a col or row vector of a matrix.
* .segment(), start(), end() will be back soon, not sure for block()
* faster cwise product
2009-01-14 14:24:10 +00:00
Benoit Jacob
24fd14dab6
* minor dox tweaks
...
* pretext to bump to beta6
2009-01-12 16:14:13 +00:00
Gael Guennebaud
af27fb7590
Add cdash.org support:
...
* the dashboard is there: http://my.cdash.org/index.php?project=Eigen
* now you can run the tests from the top build dir
and submit report like that (from the top build dir):
ctest -D Experimental
* todo:
- add some nighlty builds (I'll add a few on my computer)
- add valgrind memory checks, performances tests, compilation time tests, etc.
2009-01-08 11:53:21 +00:00
Benoit Jacob
10f9478f35
release beta5, fix a doc typo
2009-01-05 19:00:10 +00:00
Benoit Jacob
0e5c640563
* fix a unused variable warning
...
* if svnversion returns prose such as "exported" then discard that
2009-01-04 17:32:20 +00:00
Benoit Jacob
be64619ab6
* require CMake 2.6.2 everywhere, Alexander Neundorf says it'd make it
...
easier to have a uniform requirement in kdesupport for when he makes
fixes.
* add eigen versioning macros
2009-01-04 16:19:12 +00:00
Gael Guennebaud
93f8d56789
improved MSVC support in cmake files (SSE)
2008-12-18 09:07:36 +00:00
Gael Guennebaud
6e138d0069
more MSVC cmake fixes
2008-12-17 18:37:04 +00:00
Benoit Jacob
50105c3ed6
Hopefully fix compilation of SSE Packetmath with MSVC.
...
The reason why we didn't realize until now that it didn't compile at all
with MSVC is that before today with MSVC the SSE2 detection didn't work.
2008-12-16 03:48:49 +00:00
Benoit Jacob
cb409914e0
* call it beta2
...
* improvements in Matrix documentation
* document copyCoeff and copyPacket even if it's hidden from doxygen
2008-12-07 23:23:36 +00:00
Gael Guennebaud
20c11bc52c
prefix all Eigen cmake variable with EIGEN_ and switched to lowercase for all cmake files
2008-12-02 12:59:10 +00:00
Alexander Neundorf
6b3d0e68e2
-use the cmake-provided Eigen_(SOURCE|BINARY)_DIR variables instead of setting own versions (EIGEN_(SOURCE|BINARY)_DIR
...
Alex
2008-12-02 11:00:51 +00:00
Benoit Jacob
d74916e4fe
same thing with EIGEN_BINARY_DIR. Now the doc generation works from kdesupport.
2008-08-31 15:20:25 +00:00
Benoit Jacob
ff60c9ccb1
fix cmakelists: wrong assumption on CMAKE_SOURCE_DIR. One can now use
...
EIGEN_SOURCE_DIR for that use, guaranteed to point to eigen2/ directory.
2008-08-31 15:08:41 +00:00
Benoit Jacob
252e0c45b2
* missing cmake make_directory command
...
* show svn revision number if available
* fix warnings about unused argc/argv
Gael: I just saw your latest docs, it's completely awesome.
2008-08-27 06:43:42 +00:00
Gael Guennebaud
63d3ef8204
* remove debug code commited by mistake in Assign
...
* keep going on the doc: added a short geometry tutorial
2008-08-26 23:07:33 +00:00
Gael Guennebaud
9e25dfcb2c
Various doc improvements... including a owl in the API doc header.
2008-08-25 10:49:53 +00:00
Gael Guennebaud
2f6815df8e
cmake fix
2008-08-23 17:40:52 +00:00
Gael Guennebaud
da5e644567
forgot to commit a file
2008-08-23 17:25:54 +00:00
Benoit Jacob
95a1283bf6
fix compilation of unit-tests when cmake is run on kdesupport/ parent
...
directory
2008-08-17 15:25:53 +00:00
Benoit Jacob
13ad88736e
last small fixes, this is alpha6, eigen2 is now ready for eigen1 apps to
...
port to.
2008-08-12 02:14:02 +00:00
Gael Guennebaud
28539e7597
imported a reworked version of BTL (Benchmark for Templated Libraries).
...
the modifications to initial code follow:
* changed build system from plain makefiles to cmake
* added eigen2 (4 versions: vec/novec and fixed/dynamic), GMM++, MTL4 interfaces
* added "transposed matrix * vector" product action
* updated blitz interface to use condensed products instead of hand coded loops
* removed some deprecated interfaces
* changed default storage order to column major for all libraries
* new generic bench timer strategy which is supposed to be more accurate
* various code clean-up
2008-07-09 14:04:48 +00:00