diff options
author | Konstantinos Margaritis <markos@freevec.org> | 2014-08-29 20:03:49 +0000 |
---|---|---|
committer | Konstantinos Margaritis <markos@freevec.org> | 2014-08-29 20:03:49 +0000 |
commit | 7ff266e3ce592ec1a6284cf16811965eec775f25 (patch) | |
tree | 1ecdefe5273874d85f5b03651f74fead61317d9b /CMakeLists.txt | |
parent | 01f3ca3e8d58394f1d42155d5499b7566050c8e7 (diff) |
Initial VSX commit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 96d6c8701..ea42cc8db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -219,6 +219,12 @@ if(NOT MSVC) message(STATUS "Enabling AltiVec in tests/examples") endif() + option(EIGEN_TEST_VSX "Enable/Disable VSX in tests/examples" OFF) + if(EIGEN_TEST_VSX) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -mvsx") + message(STATUS "Enabling VSX in tests/examples") + endif() + option(EIGEN_TEST_NEON "Enable/Disable Neon in tests/examples" OFF) if(EIGEN_TEST_NEON) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon -mcpu=cortex-a8") |