llvmPackages: Always put libunwind before openmp

This keeps the "main bootstrap" together.
This commit is contained in:
John Ericson 2021-05-11 23:57:07 +00:00
parent 4caedc060f
commit 894f0c6ec8
5 changed files with 4 additions and 9 deletions

View File

@ -188,13 +188,12 @@ let
libunwind = libraries.libunwind; libunwind = libraries.libunwind;
})); }));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} // libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
})); }));
openmp = callPackage ./openmp.nix {};
}); });
in { inherit tools libraries; } // libraries // tools in { inherit tools libraries; } // libraries // tools

View File

@ -189,13 +189,12 @@ let
libunwind = libraries.libunwind; libunwind = libraries.libunwind;
})); }));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} // libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
})); }));
openmp = callPackage ./openmp.nix {};
}); });
in { inherit tools libraries; } // libraries // tools in { inherit tools libraries; } // libraries // tools

View File

@ -236,7 +236,6 @@ let
}); });
openmp = callPackage ./openmp { inherit llvm_meta; }; openmp = callPackage ./openmp { inherit llvm_meta; };
}); });
in { inherit tools libraries; } // libraries // tools in { inherit tools libraries; } // libraries // tools

View File

@ -191,13 +191,12 @@ let
libunwind = libraries.libunwind; libunwind = libraries.libunwind;
})); }));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} // libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
})); }));
openmp = callPackage ./openmp.nix {};
}); });
in { inherit tools libraries; } // libraries // tools in { inherit tools libraries; } // libraries // tools

View File

@ -191,13 +191,12 @@ let
libunwind = libraries.libunwind; libunwind = libraries.libunwind;
})); }));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} // libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
})); }));
openmp = callPackage ./openmp.nix {};
}); });
in { inherit tools libraries; } // libraries // tools in { inherit tools libraries; } // libraries // tools