Skip to content

Commit 94847c9

Browse files
fftwQuad: Mark unsupported on aarch64
https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html https://fftw.org/fftw3_doc/Precision.html Building fftw with quad precision requires libquadmath via gfortran. On aarch64, libquadmath is not supported due to GCC's __float128 type not being supported on that platform. Co-authored-by: Sandro <[email protected]>
1 parent edcff38 commit 94847c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/development/libraries/fftw/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@ stdenv.mkDerivation (finalAttrs: {
8585
}.${precision}
8686
];
8787
platforms = platforms.unix;
88+
# quad-precision requires libquadmath from gfortran, but libquadmath is not supported on aarch64
89+
badPlatforms = lib.optionals (precision == "quad-precision") platforms.aarch64;
8890
};
8991
})

0 commit comments

Comments
 (0)