Skip to content
Snippets Groups Projects
Commit 72b5aee8 authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Fixed clang-release install script

parent cd2b472f
No related branches found
No related tags found
No related merge requests found
......@@ -28,13 +28,13 @@ builds:
echo "Installing clang-release which will clobber LLVM!"
else
find ${DESTDIR}${ORCHESTRA_ROOT}/lib* -maxdepth 1 -not -type d \( -name libLLVM* -or -name libclang* \) -delete;
rm ${DESTDIR}${ORCHESTRA_ROOT}/bin/opt;
rm ${DESTDIR}${ORCHESTRA_ROOT}/bin/llvm-config;
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/lib*/cmake/;
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/clang/;
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/clang-c/;
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/llvm/;
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/llvm-c/;
rm ${DESTDIR}${ORCHESTRA_ROOT}/bin/opt || true
rm ${DESTDIR}${ORCHESTRA_ROOT}/bin/llvm-config || true
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/lib*/cmake/ || true
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/clang/ || true
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/clang-c/ || true
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/llvm/ || true
rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/llvm-c/ || true
fi
ninja install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment