forked from M-Labs/nac3
1
0
Fork 0

llvm: restore llvm-config

This commit is contained in:
Sebastien Bourdeauducq 2022-04-19 10:23:04 +08:00
parent e9bca3c822
commit 5dbe1d3d7d
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ in stdenv.mkDerivation (rec {
] ++ extraCmakeFlags;
postBuild = ''
make llvm-config
rm -fR $out
'';
@ -155,6 +156,7 @@ in stdenv.mkDerivation (rec {
'';
postInstall = ''
cp bin/llvm-config $out/bin
mkdir -p $python/share
mv $out/share/opt-viewer $python/share/opt-viewer
moveToOutput "bin/llvm-config*" "$dev"