I've made an updated PKGBUILD for the 5.0 release, which should be easier to update in the future (since the version numbers are now variables) and no longer overwrites everyone's CFLAGS
, just supplements them as needed.
There was a compile bug, currently suppressed by adding -Wno-incompatible-pointer-types
You can get/merge my updated one from here: https://gist.github.com/jclds139/5fe8db4110151a718d7fe794fdbac47e
Pinned Comments
tuxzz commented on 2020-05-31 17:38 (UTC) (edited on 2020-05-31 17:39 (UTC) by tuxzz)
Why not use Archlinux offical repository
If you are using AMD Ryzen series or EPYC series CPU, this package can boost the speed of fftw up around 30% compared to Archlinux official repository (Test on Ryzen 3700X).
Why not use Intel MKL
Intel MKL perform very poor on non-Intel CPUs, because it detect your CPU and switch to a slow path. I know there are some environment variables such as
MKL_DEBUG_CPU_TYPE
orMKL_NUM_THREADS
. But Intel removed these trick since MKL 2020 Update 1.WARNING
By default, this build enables
-ffast-math
compiler flag, which provides better performance and works well on most applications. If you require some extra numeric percision, remove it fromPKGBUILD
by yourself.If you have problem on this package, report issue to AUR comment, AMD YES ^w^.