fftw: enable fortran bindings

This commit is contained in:
Phillip Seeber 2021-07-08 16:49:10 +02:00
parent cbbcb5c1aa
commit 6d4e0e88a7

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, lib, llvmPackages ? null, precision ? "double", perl }:
{ fetchurl, stdenv, lib, gfortran, llvmPackages ? null, precision ? "double", perl }:
with lib;
@ -25,6 +25,8 @@ stdenv.mkDerivation {
++ optional withDoc "info"; # it's dev-doc only
outputBin = "dev"; # fftw-wisdom
nativeBuildInputs = [ gfortran ];
buildInputs = lib.optionals stdenv.cc.isClang [
# TODO: This may mismatch the LLVM version sin the stdenv, see #79818.
llvmPackages.openmp