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;
}));
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

View file

@ -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

View file

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

View file

@ -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

View file

@ -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