llvmPackages: Always put libunwind before openmp

This keeps the "main bootstrap" together.
This commit is contained in:
John Ericson
2021-05-12 00:13:13 +00:00
parent 4caedc060f
commit 894f0c6ec8
5 changed files with 4 additions and 9 deletions
@@ -188,13 +188,12 @@ let
libunwind = libraries.libunwind;
}));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));
openmp = callPackage ./openmp.nix {};
});
in { inherit tools libraries; } // libraries // tools
@@ -189,13 +189,12 @@ let
libunwind = libraries.libunwind;
}));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));
openmp = callPackage ./openmp.nix {};
});
in { inherit tools libraries; } // libraries // tools
@@ -236,7 +236,6 @@ let
});
openmp = callPackage ./openmp { inherit llvm_meta; };
});
in { inherit tools libraries; } // libraries // tools
@@ -191,13 +191,12 @@ let
libunwind = libraries.libunwind;
}));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));
openmp = callPackage ./openmp.nix {};
});
in { inherit tools libraries; } // libraries // tools
@@ -191,13 +191,12 @@ let
libunwind = libraries.libunwind;
}));
openmp = callPackage ./openmp.nix {};
libunwind = callPackage ./libunwind ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));
openmp = callPackage ./openmp.nix {};
});
in { inherit tools libraries; } // libraries // tools