diff options
author | Gabor Greif <ggreif@gmail.com> | 2021-03-17 18:17:32 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2021-04-01 12:32:19 +0200 |
commit | 7c27d4981556c0a0a5ca9cf0e8eeaf579538883e (patch) | |
tree | 1a0161b4000c6f8dcb88574918c8328642005713 /pkgs/development/compilers/llvm/12/clang/default.nix | |
parent | 2fd9e4171997b18958c4dd4cb7c9e78eb42ff6c6 (diff) |
llvmPackages_12: init at 12.0.0-rc3
https://lists.llvm.org/pipermail/release-testers/2021-March/001496.html
Diffstat (limited to 'pkgs/development/compilers/llvm/12/clang/default.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/12/clang/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/compilers/llvm/12/clang/default.nix b/pkgs/development/compilers/llvm/12/clang/default.nix index 2e03112d827d4..955cfb631f622 100644 --- a/pkgs/development/compilers/llvm/12/clang/default.nix +++ b/pkgs/development/compilers/llvm/12/clang/default.nix @@ -8,7 +8,7 @@ let pname = "clang"; inherit version; - src = fetch "clang" "12sm91qx2m79cvj75a9aazf2x8xybjbd593dv6v7rxficpq8i0ha"; + src = fetch "clang" "1xg2wy86zdj1d4h33n9mmb4j0x8bp9a5pk4qnnx3imlh8n6vhrqj"; inherit clang-tools-extra_src; unpackPhase = '' @@ -16,7 +16,6 @@ let mv clang-* clang sourceRoot=$PWD/clang unpackFile ${clang-tools-extra_src} - mv clang-tools-extra-* $sourceRoot/tools/extra ''; nativeBuildInputs = [ cmake python3 lld ] @@ -50,9 +49,6 @@ let sed -i '1s,^,find_package(Sphinx REQUIRED)\n,' docs/CMakeLists.txt '' + lib.optionalString stdenv.hostPlatform.isMusl '' sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/ToolChains/*.cpp - '' + lib.optionalString stdenv.hostPlatform.isDarwin '' - substituteInPlace tools/extra/clangd/CMakeLists.txt \ - --replace "NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB" FALSE ''; outputs = [ "out" "lib" "python" ]; |