fftw: enable fortran bindings
This commit is contained in:
parent
cbbcb5c1aa
commit
6d4e0e88a7
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, stdenv, lib, llvmPackages ? null, precision ? "double", perl }:
|
{ fetchurl, stdenv, lib, gfortran, llvmPackages ? null, precision ? "double", perl }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -25,6 +25,8 @@ stdenv.mkDerivation {
|
||||||
++ optional withDoc "info"; # it's dev-doc only
|
++ optional withDoc "info"; # it's dev-doc only
|
||||||
outputBin = "dev"; # fftw-wisdom
|
outputBin = "dev"; # fftw-wisdom
|
||||||
|
|
||||||
|
nativeBuildInputs = [ gfortran ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.cc.isClang [
|
buildInputs = lib.optionals stdenv.cc.isClang [
|
||||||
# TODO: This may mismatch the LLVM version sin the stdenv, see #79818.
|
# TODO: This may mismatch the LLVM version sin the stdenv, see #79818.
|
||||||
llvmPackages.openmp
|
llvmPackages.openmp
|
||||||
|
|
Loading…
Reference in a new issue