Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

openmp: fix cross compile

squalus 4b07aeae e0e0c4db

+70 -20
+2 -1
pkgs/development/compilers/llvm/10/default.nix
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 259 }; 260 261 openmp = callPackage ./openmp { 262 - inherit llvm_meta; 263 }; 264 }); 265
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 260 }; 261 262 openmp = callPackage ./openmp { 263 + inherit llvm_meta targetLlvm; 264 }; 265 }); 266
+4 -1
pkgs/development/compilers/llvm/10/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch pname "0i4bn84lkpm5w3qkpvwm5z6jdj8fynp7d3bcasa1xyq4is6757yi"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch pname "0i4bn84lkpm5w3qkpvwm5z6jdj8fynp7d3bcasa1xyq4is6757yi"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/11/default.nix
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 274 }; 275 276 openmp = callPackage ./openmp { 277 - inherit llvm_meta; 278 }; 279 }); 280
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 275 }; 276 277 openmp = callPackage ./openmp { 278 + inherit llvm_meta targetLlvm; 279 }; 280 }); 281
+4 -1
pkgs/development/compilers/llvm/11/openmp/default.nix
··· 5 , fetchpatch 6 , cmake 7 , llvm 8 , perl 9 , version 10 }: ··· 25 ]; 26 27 nativeBuildInputs = [ cmake perl ]; 28 - buildInputs = [ llvm ]; 29 30 meta = llvm_meta // { 31 homepage = "https://openmp.llvm.org/";
··· 5 , fetchpatch 6 , cmake 7 , llvm 8 + , targetLlvm 9 , perl 10 , version 11 }: ··· 26 ]; 27 28 nativeBuildInputs = [ cmake perl ]; 29 + buildInputs = [ 30 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 31 + ]; 32 33 meta = llvm_meta // { 34 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/12/default.nix
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 267 }; 268 269 openmp = callPackage ./openmp { 270 - inherit llvm_meta; 271 }; 272 }); 273
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 268 }; 269 270 openmp = callPackage ./openmp { 271 + inherit llvm_meta targetLlvm; 272 }; 273 }); 274
+4 -1
pkgs/development/compilers/llvm/12/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch pname "14dh0r6h2xh747ffgnsl4z08h0ri04azi9vf79cbz7ma1r27kzk0"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch pname "14dh0r6h2xh747ffgnsl4z08h0ri04azi9vf79cbz7ma1r27kzk0"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/13/default.nix
··· 3 , libxml2, python3, isl, fetchFromGitHub, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 276 }; 277 278 openmp = callPackage ./openmp { 279 - inherit llvm_meta; 280 }; 281 }); 282
··· 3 , libxml2, python3, isl, fetchFromGitHub, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 277 }; 278 279 openmp = callPackage ./openmp { 280 + inherit llvm_meta targetLlvm; 281 }; 282 }); 283
+4 -1
pkgs/development/compilers/llvm/13/openmp/default.nix
··· 4 , src 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 16 sourceRoot = "source/${pname}"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 - buildInputs = [ llvm ]; 20 21 cmakeFlags = [ 22 "-DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF" # Building the AMDGCN device RTL currently fails
··· 4 , src 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 17 sourceRoot = "source/${pname}"; 18 19 nativeBuildInputs = [ cmake perl ]; 20 + buildInputs = [ 21 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 22 + ]; 23 24 cmakeFlags = [ 25 "-DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF" # Building the AMDGCN device RTL currently fails
+2 -1
pkgs/development/compilers/llvm/14/default.nix
··· 3 , libxml2, python3, isl, fetchFromGitHub, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 273 }; 274 275 openmp = callPackage ./openmp { 276 - inherit llvm_meta; 277 }; 278 }); 279
··· 3 , libxml2, python3, isl, fetchFromGitHub, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 274 }; 275 276 openmp = callPackage ./openmp { 277 + inherit llvm_meta targetLlvm; 278 }; 279 }); 280
+4 -1
pkgs/development/compilers/llvm/14/openmp/default.nix
··· 5 , runCommand 6 , cmake 7 , llvm 8 , lit 9 , clang-unwrapped 10 , perl ··· 32 outputs = [ "out" "dev" ]; 33 34 nativeBuildInputs = [ cmake perl pkg-config lit ]; 35 - buildInputs = [ llvm ]; 36 37 # Unsup:Pass:XFail:Fail 38 # 26:267:16:8
··· 5 , runCommand 6 , cmake 7 , llvm 8 + , targetLlvm 9 , lit 10 , clang-unwrapped 11 , perl ··· 33 outputs = [ "out" "dev" ]; 34 35 nativeBuildInputs = [ cmake perl pkg-config lit ]; 36 + buildInputs = [ 37 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 38 + ]; 39 40 # Unsup:Pass:XFail:Fail 41 # 26:267:16:8
+2 -1
pkgs/development/compilers/llvm/5/default.nix
··· 2 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith 3 , buildLlvmTools # tools, but from the previous stage, for cross 4 , targetLlvmLibraries # libraries, but from the next stage, for cross 5 }: 6 7 let ··· 121 }; 122 123 openmp = callPackage ./openmp { 124 - inherit llvm_meta; 125 }; 126 }); 127
··· 2 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith 3 , buildLlvmTools # tools, but from the previous stage, for cross 4 , targetLlvmLibraries # libraries, but from the next stage, for cross 5 + , targetLlvm 6 }: 7 8 let ··· 122 }; 123 124 openmp = callPackage ./openmp { 125 + inherit llvm_meta targetLlvm; 126 }; 127 }); 128
+4 -1
pkgs/development/compilers/llvm/5/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/6/default.nix
··· 2 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith 3 , buildLlvmTools # tools, but from the previous stage, for cross 4 , targetLlvmLibraries # libraries, but from the next stage, for cross 5 }: 6 7 let ··· 122 }; 123 124 openmp = callPackage ./openmp { 125 - inherit llvm_meta; 126 }; 127 }); 128
··· 2 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith 3 , buildLlvmTools # tools, but from the previous stage, for cross 4 , targetLlvmLibraries # libraries, but from the next stage, for cross 5 + , targetLlvm 6 }: 7 8 let ··· 123 }; 124 125 openmp = callPackage ./openmp { 126 + inherit llvm_meta targetLlvm; 127 }; 128 }); 129
+4 -1
pkgs/development/compilers/llvm/6/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch "openmp" "0nhwfba9c351r16zgyjyfwdayr98nairky3c2f0b2lc360mwmbv6"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch "openmp" "0nhwfba9c351r16zgyjyfwdayr98nairky3c2f0b2lc360mwmbv6"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/7/default.nix
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 268 }; 269 270 openmp = callPackage ./openmp { 271 - inherit llvm_meta; 272 }; 273 }); 274
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 269 }; 270 271 openmp = callPackage ./openmp { 272 + inherit llvm_meta targetLlvm; 273 }; 274 }); 275
+4 -1
pkgs/development/compilers/llvm/7/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch "openmp" "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch "openmp" "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/8/default.nix
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 267 }; 268 269 openmp = callPackage ./openmp { 270 - inherit llvm_meta; 271 }; 272 }); 273
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 268 }; 269 270 openmp = callPackage ./openmp { 271 + inherit llvm_meta targetLlvm; 272 }; 273 }); 274
+4 -1
pkgs/development/compilers/llvm/8/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch "openmp" "0b3jlxhqbpyd1nqkpxjfggm5d9va5qpyf7d4i5y7n4a1mlydv19y"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch "openmp" "0b3jlxhqbpyd1nqkpxjfggm5d9va5qpyf7d4i5y7n4a1mlydv19y"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+2 -1
pkgs/development/compilers/llvm/9/default.nix
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 # This is the default binutils, but with *this* version of LLD rather 7 # than the default LLVM verion's, if LLD is the choice. We use these for 8 # the `useLLVM` bootstrapping below. ··· 267 }; 268 269 openmp = callPackage ./openmp { 270 - inherit llvm_meta; 271 }; 272 }); 273
··· 3 , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 , buildLlvmTools # tools, but from the previous stage, for cross 5 , targetLlvmLibraries # libraries, but from the next stage, for cross 6 + , targetLlvm 7 # This is the default binutils, but with *this* version of LLD rather 8 # than the default LLVM verion's, if LLD is the choice. We use these for 9 # the `useLLVM` bootstrapping below. ··· 268 }; 269 270 openmp = callPackage ./openmp { 271 + inherit llvm_meta targetLlvm; 272 }; 273 }); 274
+4 -1
pkgs/development/compilers/llvm/9/openmp/default.nix
··· 4 , fetch 5 , cmake 6 , llvm 7 , perl 8 , version 9 }: ··· 15 src = fetch pname "1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w"; 16 17 nativeBuildInputs = [ cmake perl ]; 18 - buildInputs = [ llvm ]; 19 20 meta = llvm_meta // { 21 homepage = "https://openmp.llvm.org/";
··· 4 , fetch 5 , cmake 6 , llvm 7 + , targetLlvm 8 , perl 9 , version 10 }: ··· 16 src = fetch pname "1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w"; 17 18 nativeBuildInputs = [ cmake perl ]; 19 + buildInputs = [ 20 + (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 21 + ]; 22 23 meta = llvm_meta // { 24 homepage = "https://openmp.llvm.org/";
+10
pkgs/top-level/all-packages.nix
··· 14521 llvmPackages_5 = recurseIntoAttrs (callPackage ../development/compilers/llvm/5 { 14522 inherit (stdenvAdapters) overrideCC; 14523 buildLlvmTools = buildPackages.llvmPackages_5.tools; 14524 targetLlvmLibraries = targetPackages.llvmPackages_5.libraries or llvmPackages_5.libraries; 14525 }); 14526 14527 llvmPackages_6 = recurseIntoAttrs (callPackage ../development/compilers/llvm/6 { 14528 inherit (stdenvAdapters) overrideCC; 14529 buildLlvmTools = buildPackages.llvmPackages_6.tools; 14530 targetLlvmLibraries = targetPackages.llvmPackages_6.libraries or llvmPackages_6.libraries; 14531 }); 14532 14533 llvmPackages_7 = recurseIntoAttrs (callPackage ../development/compilers/llvm/7 { 14534 inherit (stdenvAdapters) overrideCC; 14535 buildLlvmTools = buildPackages.llvmPackages_7.tools; 14536 targetLlvmLibraries = targetPackages.llvmPackages_7.libraries or llvmPackages_7.libraries; 14537 }); 14538 14539 llvmPackages_8 = recurseIntoAttrs (callPackage ../development/compilers/llvm/8 { 14540 inherit (stdenvAdapters) overrideCC; 14541 buildLlvmTools = buildPackages.llvmPackages_8.tools; 14542 targetLlvmLibraries = targetPackages.llvmPackages_8.libraries or llvmPackages_8.libraries; 14543 }); 14544 14545 llvmPackages_9 = recurseIntoAttrs (callPackage ../development/compilers/llvm/9 { 14546 inherit (stdenvAdapters) overrideCC; 14547 buildLlvmTools = buildPackages.llvmPackages_9.tools; 14548 targetLlvmLibraries = targetPackages.llvmPackages_9.libraries or llvmPackages_9.libraries; 14549 }); 14550 14551 llvmPackages_10 = recurseIntoAttrs (callPackage ../development/compilers/llvm/10 { 14552 inherit (stdenvAdapters) overrideCC; 14553 buildLlvmTools = buildPackages.llvmPackages_10.tools; 14554 targetLlvmLibraries = targetPackages.llvmPackages_10.libraries or llvmPackages_10.libraries; 14555 }); 14556 ··· 14558 inherit (stdenvAdapters) overrideCC; 14559 buildLlvmTools = buildPackages.llvmPackages_11.tools; 14560 targetLlvmLibraries = targetPackages.llvmPackages_11.libraries or llvmPackages_11.libraries; 14561 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14562 stdenv = gcc7Stdenv; 14563 })); ··· 14566 inherit (stdenvAdapters) overrideCC; 14567 buildLlvmTools = buildPackages.llvmPackages_12.tools; 14568 targetLlvmLibraries = targetPackages.llvmPackages_12.libraries or llvmPackages_12.libraries; 14569 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14570 stdenv = gcc7Stdenv; 14571 })); ··· 14574 inherit (stdenvAdapters) overrideCC; 14575 buildLlvmTools = buildPackages.llvmPackages_13.tools; 14576 targetLlvmLibraries = targetPackages.llvmPackages_13.libraries or llvmPackages_13.libraries; 14577 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14578 stdenv = gcc7Stdenv; 14579 })); ··· 14582 inherit (stdenvAdapters) overrideCC; 14583 buildLlvmTools = buildPackages.llvmPackages_14.tools; 14584 targetLlvmLibraries = targetPackages.llvmPackages_14.libraries or llvmPackages_14.libraries; 14585 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14586 stdenv = gcc7Stdenv; 14587 }));
··· 14521 llvmPackages_5 = recurseIntoAttrs (callPackage ../development/compilers/llvm/5 { 14522 inherit (stdenvAdapters) overrideCC; 14523 buildLlvmTools = buildPackages.llvmPackages_5.tools; 14524 + targetLlvm = targetPackages.llvmPackages_5.llvm or llvmPackages_5.llvm; 14525 targetLlvmLibraries = targetPackages.llvmPackages_5.libraries or llvmPackages_5.libraries; 14526 }); 14527 14528 llvmPackages_6 = recurseIntoAttrs (callPackage ../development/compilers/llvm/6 { 14529 inherit (stdenvAdapters) overrideCC; 14530 buildLlvmTools = buildPackages.llvmPackages_6.tools; 14531 + targetLlvm = targetPackages.llvmPackages_6.llvm or llvmPackages_6.llvm; 14532 targetLlvmLibraries = targetPackages.llvmPackages_6.libraries or llvmPackages_6.libraries; 14533 }); 14534 14535 llvmPackages_7 = recurseIntoAttrs (callPackage ../development/compilers/llvm/7 { 14536 inherit (stdenvAdapters) overrideCC; 14537 buildLlvmTools = buildPackages.llvmPackages_7.tools; 14538 + targetLlvm = targetPackages.llvmPackages_7.llvm or llvmPackages_7.llvm; 14539 targetLlvmLibraries = targetPackages.llvmPackages_7.libraries or llvmPackages_7.libraries; 14540 }); 14541 14542 llvmPackages_8 = recurseIntoAttrs (callPackage ../development/compilers/llvm/8 { 14543 inherit (stdenvAdapters) overrideCC; 14544 buildLlvmTools = buildPackages.llvmPackages_8.tools; 14545 + targetLlvm = targetPackages.llvmPackages_8.llvm or llvmPackages_8.llvm; 14546 targetLlvmLibraries = targetPackages.llvmPackages_8.libraries or llvmPackages_8.libraries; 14547 }); 14548 14549 llvmPackages_9 = recurseIntoAttrs (callPackage ../development/compilers/llvm/9 { 14550 inherit (stdenvAdapters) overrideCC; 14551 buildLlvmTools = buildPackages.llvmPackages_9.tools; 14552 + targetLlvm = targetPackages.llvmPackages_9.llvm or llvmPackages_9.llvm; 14553 targetLlvmLibraries = targetPackages.llvmPackages_9.libraries or llvmPackages_9.libraries; 14554 }); 14555 14556 llvmPackages_10 = recurseIntoAttrs (callPackage ../development/compilers/llvm/10 { 14557 inherit (stdenvAdapters) overrideCC; 14558 buildLlvmTools = buildPackages.llvmPackages_10.tools; 14559 + targetLlvm = targetPackages.llvmPackages_10.llvm or llvmPackages_10.llvm; 14560 targetLlvmLibraries = targetPackages.llvmPackages_10.libraries or llvmPackages_10.libraries; 14561 }); 14562 ··· 14564 inherit (stdenvAdapters) overrideCC; 14565 buildLlvmTools = buildPackages.llvmPackages_11.tools; 14566 targetLlvmLibraries = targetPackages.llvmPackages_11.libraries or llvmPackages_11.libraries; 14567 + targetLlvm = targetPackages.llvmPackages_11.llvm or llvmPackages_11.llvm; 14568 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14569 stdenv = gcc7Stdenv; 14570 })); ··· 14573 inherit (stdenvAdapters) overrideCC; 14574 buildLlvmTools = buildPackages.llvmPackages_12.tools; 14575 targetLlvmLibraries = targetPackages.llvmPackages_12.libraries or llvmPackages_12.libraries; 14576 + targetLlvm = targetPackages.llvmPackages_12.llvm or llvmPackages_12.llvm; 14577 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14578 stdenv = gcc7Stdenv; 14579 })); ··· 14582 inherit (stdenvAdapters) overrideCC; 14583 buildLlvmTools = buildPackages.llvmPackages_13.tools; 14584 targetLlvmLibraries = targetPackages.llvmPackages_13.libraries or llvmPackages_13.libraries; 14585 + targetLlvm = targetPackages.llvmPackages_13.llvm or llvmPackages_13.llvm; 14586 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14587 stdenv = gcc7Stdenv; 14588 })); ··· 14591 inherit (stdenvAdapters) overrideCC; 14592 buildLlvmTools = buildPackages.llvmPackages_14.tools; 14593 targetLlvmLibraries = targetPackages.llvmPackages_14.libraries or llvmPackages_14.libraries; 14594 + targetLlvm = targetPackages.llvmPackages_14.llvm or llvmPackages_14.llvm; 14595 } // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) { 14596 stdenv = gcc7Stdenv; 14597 }));