Merge #23860: llvmPackages_4: rc4 -> release
This commit is contained in:
commit
bfed19cfaa
8 changed files with 13 additions and 16 deletions
|
@ -6,7 +6,7 @@ let
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "062n17mfsn85dx3qy1qvq8rfxi7hcbr2nj70v2dah3xmy28i3yaq"}
|
unpackFile ${fetch "cfe" "12n99m60aa680cir3ql56s1jsv6lp61hq4w9rabf4c6vpn7gi9ff"}
|
||||||
mv cfe-${version}* clang
|
mv cfe-${version}* clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
|
|
@ -3,18 +3,15 @@ let
|
||||||
callPackage = newScope (self // { inherit stdenv isl release_version version fetch; });
|
callPackage = newScope (self // { inherit stdenv isl release_version version fetch; });
|
||||||
|
|
||||||
release_version = "4.0.0";
|
release_version = "4.0.0";
|
||||||
rc = "rc4";
|
version = release_version; # differentiating these is important for rc's
|
||||||
version = "${release_version}${rc}";
|
|
||||||
|
|
||||||
fetch = name: sha256: fetchurl {
|
fetch = name: sha256: fetchurl {
|
||||||
url = "http://llvm.org/pre-releases/${release_version}/${rc}/${name}-${version}.src.tar.xz";
|
url = "http://llvm.org/releases/${release_version}/${name}-${version}.src.tar.xz";
|
||||||
# Once 4 is released, use this instead:
|
|
||||||
# url = "http://llvm.org/releases/${release-version}/${name}-${version}.src.tar.xz";
|
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
compiler-rt_src = fetch "compiler-rt" "1bxz2z9mxbx7211xfgsn5inwvpz53d1cqg76h8166dsli27xwkjm";
|
compiler-rt_src = fetch "compiler-rt" "059ipqq27gd928ay06f1ck3vw6y5h5z4zd766x8k0k7jpqimpwnk";
|
||||||
clang-tools-extra_src = fetch "clang-tools-extra" "0zkgnnv3srqxf44q4a5n3wpizf71mlq8w5rnwfwhdx777k94s5nx";
|
clang-tools-extra_src = fetch "clang-tools-extra" "16bwckgcxfn56mbqjlxi7fxja0zm9hjfa6s3ncm3dz98n5zd7ds1";
|
||||||
|
|
||||||
self = {
|
self = {
|
||||||
llvm = callPackage ./llvm.nix {
|
llvm = callPackage ./llvm.nix {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libc++-${version}";
|
name = "libc++-${version}";
|
||||||
|
|
||||||
src = fetch "libcxx" "052fc91y8084830ajfm8nkc0vghafhnfl7l89b68qsyz3ra93i3l";
|
src = fetch "libcxx" "15ngfcjc3pjakpwfq7d4n546jj0rgfdv5rpb1qv9xgv9mp236kag";
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
unpackFile ${libcxxabi.src}
|
unpackFile ${libcxxabi.src}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libc++abi-${version}";
|
name = "libc++abi-${version}";
|
||||||
|
|
||||||
src = fetch "libcxxabi" "02z8d0q42wfmnnd0rd1yg2x4y50rfrv1k9rq00a86b6803dc7p45";
|
src = fetch "libcxxabi" "1n416kv27anabg9jsw6331r28ic30xk46p381lx2vbb2jrhwpafw";
|
||||||
|
|
||||||
buildInputs = [ cmake ] ++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
|
buildInputs = [ cmake ] ++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "lld-${version}";
|
name = "lld-${version}";
|
||||||
|
|
||||||
src = fetch "lld" "00wy4qczh4s6g49sbfmyk21845zx5qc2qpm39bznqz8ynpnh4phc";
|
src = fetch "lld" "00km1qawk146pyjqa6aphcdzgkzrmg6cgk0ikg4661ffp5bn9q1k";
|
||||||
|
|
||||||
buildInputs = [ cmake llvm ];
|
buildInputs = [ cmake llvm ];
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "lldb-${version}";
|
name = "lldb-${version}";
|
||||||
|
|
||||||
src = fetch "lldb" "14dy1j48nw10w8brkpmla2vjjwfr1mrsl9wfabjfx1j85ywp3h69";
|
src = fetch "lldb" "0g83hbw1r4gd0z8hlph9i34xs6dlcc69vz3h2bqwkhb2qq2qzg9d";
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# Fix up various paths that assume llvm and clang are installed in the same place
|
# Fix up various paths that assume llvm and clang are installed in the same place
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = fetch "llvm" "1ljb5y5wgypk3sy8zcd5qdgsm5hw8vl7cy6874mbf4gnk9k809b1";
|
src = fetch "llvm" "1giklnw71wzsgbqg9wb5x7dxnbj39m6zpfvskvzvhwvfz4fm244d";
|
||||||
shlib = if stdenv.isDarwin then "dylib" else "so";
|
shlib = if stdenv.isDarwin then "dylib" else "so";
|
||||||
|
|
||||||
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
||||||
|
|
|
@ -4782,7 +4782,7 @@ with pkgs;
|
||||||
|
|
||||||
clang = llvmPackages.clang;
|
clang = llvmPackages.clang;
|
||||||
|
|
||||||
clang_4 = lowPrio llvmPackages_4.clang;
|
clang_4 = llvmPackages_4.clang;
|
||||||
clang_39 = llvmPackages_39.clang;
|
clang_39 = llvmPackages_39.clang;
|
||||||
clang_38 = llvmPackages_38.clang;
|
clang_38 = llvmPackages_38.clang;
|
||||||
clang_37 = llvmPackages_37.clang;
|
clang_37 = llvmPackages_37.clang;
|
||||||
|
@ -5338,13 +5338,13 @@ with pkgs;
|
||||||
|
|
||||||
lizardfs = callPackage ../tools/filesystems/lizardfs { };
|
lizardfs = callPackage ../tools/filesystems/lizardfs { };
|
||||||
|
|
||||||
lld = lowPrio llvmPackages_4.lld;
|
lld = llvmPackages_4.lld;
|
||||||
|
|
||||||
lldb = llvmPackages.lldb;
|
lldb = llvmPackages.lldb;
|
||||||
|
|
||||||
llvm = llvmPackages.llvm;
|
llvm = llvmPackages.llvm;
|
||||||
|
|
||||||
llvm_4 = lowPrio llvmPackages_4.llvm;
|
llvm_4 = llvmPackages_4.llvm;
|
||||||
llvm_39 = llvmPackages_39.llvm;
|
llvm_39 = llvmPackages_39.llvm;
|
||||||
llvm_38 = llvmPackages_38.llvm;
|
llvm_38 = llvmPackages_38.llvm;
|
||||||
llvm_37 = llvmPackages_37.llvm;
|
llvm_37 = llvmPackages_37.llvm;
|
||||||
|
|
Loading…
Reference in a new issue