package/fftw: enable OpenMP if the compiler has that
Unfortunately, this is limited to internal toolchains; we currently have no way to know if an external toolchain has support for OpenMP. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: guillaume william brs <guillaume.bressaix@gmail.com> Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4ce91aa31b
commit
84183b3ec3
@ -35,6 +35,7 @@ FFTW_CONF_OPTS += --enable-threads --with-combined-threads
|
||||
else
|
||||
FFTW_CONF_OPTS += --disable-threads
|
||||
endif
|
||||
FFTW_CONF_OPTS += $(if $(BR2_GCC_ENABLE_OPENMP),--enable,--disable)-openmp
|
||||
|
||||
FFTW_CONF_OPTS += CFLAGS="$(FFTW_CFLAGS)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user