aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-05 15:31:46 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-05 15:31:46 +0200
commitb772dc8328d3b045ff364b36e9ce9502042e62be (patch)
tree15f90c25ffaa5d6c2ccf78fe887378df915b3628 /CMakeLists.txt
parent66bda363cb5f42d8b99d331634d4299ceae648b3 (diff)
downloadsynthpod-b772dc8328d3b045ff364b36e9ce9502042e62be.tar.xz
add __builtin_assume_aligned at different places.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a637ecf0..50da6967 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,12 +26,15 @@ set(SYNTHPOD_MICRO_VERSION 1)
set(SYNTHPOD_VERSION "${SYNTHPOD_MAJOR_VERSION}.${SYNTHPOD_MINOR_VERSION}.${SYNTHPOD_MICRO_VERSION}")
add_definitions("-DSYNTHPOD_VERSION=\"${SYNTHPOD_VERSION}\"")
-set(CMAKE_C_FLAGS "-std=gnu11 ${CMAKE_C_FLAGS}")
+set(CMAKE_C_FLAGS "-std=gnu11 -ffast-math -ftree-vectorize ${CMAKE_C_FLAGS}")
+
+#set(CMAKE_C_FLAGS "-ftree-vectorizer-verbose=1 ${CMAKE_C_FLAGS}")
+#set(CMAKE_C_FLAGS "-Rpass=loop-vectorize ${CMAKE_C_FLAGS}")
# options
option(BUILD_UI "Build user interface libraries" ON)
option(BUILD_JACK "Build JACK standalone host" ON)
-option(BUILD_PORTAUDIO "Build PortAudio standalone host (experimental)" OFF)
+option(BUILD_PORTAUDIO "Build PortAudio standalone host (broken)" OFF)
# eina
pkg_search_module(EINA REQUIRED eina>=1.8)