added clang dependency, using unix platform

This commit is contained in:
Allen Nelson 2015-05-18 17:45:18 -05:00
parent b4b6215523
commit 2a0a5c697e

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gfortran, perl, liblapack, config, coreutils, clang }: { stdenv, fetchurl, gfortran, perl, liblapack, config, coreutils }:
with stdenv.lib; with stdenv.lib;
@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
++ ++
[ [
"FC=gfortran" "FC=gfortran"
# Note that clang is available through the stdenv on OSX and
# thus is not an explicit dependency.
"CC=${if stdenv.isDarwin then "clang" else "gcc"}" "CC=${if stdenv.isDarwin then "clang" else "gcc"}"
''PREFIX="''$(out)"'' ''PREFIX="''$(out)"''
"INTERFACE64=1" "INTERFACE64=1"
@ -48,7 +50,7 @@ stdenv.mkDerivation rec {
description = "Basic Linear Algebra Subprograms"; description = "Basic Linear Algebra Subprograms";
license = licenses.bsd3; license = licenses.bsd3;
homepage = "https://github.com/xianyi/OpenBLAS"; homepage = "https://github.com/xianyi/OpenBLAS";
platforms = with platforms; all; platforms = with platforms; unix;
maintainers = with maintainers; [ ttuegel ]; maintainers = with maintainers; [ ttuegel ];
}; };
} }