mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Toolchain: add --enable-sse2 option for fftw with target-cpu=native
This commit is contained in:
parent
6b5fb56659
commit
c043a46d7e
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ case "$with_fftw" in
|
|||
grep '\bavx\b' /proc/cpuinfo 1> /dev/null && FFTW_FLAGS="${FFTW_FLAGS} --enable-avx"
|
||||
grep '\bavx2\b' /proc/cpuinfo 1> /dev/null && FFTW_FLAGS="${FFTW_FLAGS} --enable-avx2"
|
||||
grep '\bavx512f\b' /proc/cpuinfo 1> /dev/null && FFTW_FLAGS="${FFTW_FLAGS} --enable-avx512"
|
||||
grep '\bsse2\b' /proc/cpuinfo 1> /dev/null && FFTW_FLAGS="${FFTW_FLAGS} --enable-sse2"
|
||||
fi
|
||||
fi
|
||||
./configure CFLAGS="${CFLAGS} -std=c17" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue