julia_13: Fixed darwin dependencies

This commit is contained in:
Christoph Stich 2020-02-13 11:57:14 +00:00
parent cfe9a16cb3
commit c4fe8c0f69

View File

@ -8,8 +8,8 @@
, curl, fftwSinglePrec, fftw, gmp, libgit2, mpfr, openlibm, openspecfun, pcre2 , curl, fftwSinglePrec, fftw, gmp, libgit2, mpfr, openlibm, openspecfun, pcre2
# linear algebra # linear algebra
, openblas, arpack , openblas, arpack
# llvm # Darwin frameworks
, llvm , CoreServices, ApplicationServices
}: }:
with stdenv.lib; with stdenv.lib;
@ -83,6 +83,8 @@ stdenv.mkDerivation rec {
# Julia requires Pentium 4 (SSE2) or better # Julia requires Pentium 4 (SSE2) or better
cpuTarget = { x86_64 = "x86-64"; i686 = "pentium4"; }.${arch} cpuTarget = { x86_64 = "x86-64"; i686 = "pentium4"; }.${arch}
or (throw "unsupported architecture: ${arch}"); or (throw "unsupported architecture: ${arch}");
# Julia applies a lot of patches to its dependencies, so for now do not use the system LLVM
# https://github.com/JuliaLang/julia/tree/master/deps/patches
in [ in [
"ARCH=${arch}" "ARCH=${arch}"
"MARCH=${march}" "MARCH=${march}"