CarVac / librtprocess

A project to make RawTherapee's processing algorithms more readily available.
Other
51 stars 23 forks source link

add -ftree-vectorize #45

Closed heckflosse closed 5 years ago

heckflosse commented 5 years ago

When making a RelWithDebinfo build, some functions get quite slow because -ftree-vectorize is not included in -O2

@cryptomilk What's the cleanest way to add this flag?

darix commented 5 years ago

https://cmake.org/cmake/help/latest/module/CheckCXXCompilerFlag.html

cryptomilk commented 5 years ago

Add it to https://github.com/CarVac/librtprocess/blob/master/CompilerChecks.cmake ??

heckflosse commented 5 years ago

@cryptomilk Andreas, thanks for having a look :+1: