diff options
-rw-r--r-- | patches/ccpi-regularisation-toolkit-autovectorize.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/ccpi-regularisation-toolkit-autovectorize.patch b/patches/ccpi-regularisation-toolkit-autovectorize.patch new file mode 100644 index 0000000..8823001 --- /dev/null +++ b/patches/ccpi-regularisation-toolkit-autovectorize.patch @@ -0,0 +1,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() |