llvm: no-rule-aarch64.patch is only needed on 3.3
the fix just missed 3.3 but it's in 3.4 see bottom of: http://llvm.org/bugs/show_bug.cgi?id=16625
This commit is contained in:
parent
fe8b00e9fa
commit
6072a289fc
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils, version }:
|
{ stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils, version }:
|
||||||
|
|
||||||
with { inherit (stdenv.lib) optional; };
|
with { inherit (stdenv.lib) optional optionals; };
|
||||||
|
|
||||||
assert version == "3.4" || version == "3.3";
|
assert version == "3.4" || version == "3.3";
|
||||||
|
|
||||||
@ -14,11 +14,10 @@ stdenv.mkDerivation rec {
|
|||||||
else /*3.3*/ "0y3mfbb5qzcpw3v5qncn69x1hdrrrfirgs82ypi2annhf0g6nxk8";
|
else /*3.3*/ "0y3mfbb5qzcpw3v5qncn69x1hdrrrfirgs82ypi2annhf0g6nxk8";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches = optionals (version == "3.3") [
|
||||||
# The default rlimits in 3.3 are too low for shared libraries.
|
./more-memory-for-bugpoint.patch # The default rlimits in 3.3 are too low for shared libraries.
|
||||||
optional (version == "3.3") ./more-memory-for-bugpoint.patch
|
./no-rule-aarch64.patch # http://llvm.org/bugs/show_bug.cgi?id=16625
|
||||||
++ [ ./no-rule-aarch64.patch ] # http://llvm.org/bugs/show_bug.cgi?id=16625
|
];
|
||||||
;
|
|
||||||
|
|
||||||
# libffi was propagated before, but it wasn't even being used, so
|
# libffi was propagated before, but it wasn't even being used, so
|
||||||
# unless something needs it just an input is fine.
|
# unless something needs it just an input is fine.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user