llvmPackages.bolt: Use ninja, drop libclang dependency

Using ninja makes it consistent with the other llvm package builds, and
libclang is not necessary as a dependency.

Signed-off-by: Peter Waller <p@pwaller.net>
This commit is contained in:
Peter Waller
2024-12-10 09:21:19 +00:00
parent f5cdaca4d6
commit 4a880d2484
@@ -8,6 +8,7 @@
cmake,
libxml2,
libllvm,
ninja,
libclang,
version,
python3,
@@ -32,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
cp -r ${monorepoSrc}/${finalAttrs.pname} "$out"
cp -r ${monorepoSrc}/third-party "$out"
# tablegen stuff, probably not the best way but it works...
# BOLT re-runs tablegen against LLVM sources, so needs them available.
cp -r ${monorepoSrc}/llvm/ "$out"
chmod -R +w $out/llvm
''
@@ -42,12 +43,12 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
ninja
python3
];
buildInputs = [
libllvm
libclang
libxml2
];