summaryrefslogtreecommitdiffstats
path: root/patches/ccpi-regularisation-toolkit-autovectorize.patch
blob: 88230014346799970174c8de4d7cccf5a32f8cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/Core/CMakeLists.txt b/src/Core/CMakeLists.txt
index 64abcb4..893abc5 100644
--- a/src/Core/CMakeLists.txt
+++ b/src/Core/CMakeLists.txt
@@ -25,6 +25,6 @@ if(WIN32)
 elseif(APPLE)
   set (FLAGS "-DCCPiReconstructionIterative_EXPORTS ")
 elseif(UNIX)
-   set (FLAGS "-O3 -funsigned-char -Wall  -Wl,--no-undefined  -DCCPiReconstructionIterative_EXPORTS ")
+   set (FLAGS "-O3 -funsigned-char -Wall  -Wl,--no-undefined  -DCCPiReconstructionIterative_EXPORTS -march=native -ftree-vectorize -fopt-info-vec-optimized -fopt-info-vec -fopenmp ")
    set(EXTRA_LIBRARIES "m")
 endif()