1
0
Fork 0

remove compile_commands.json before creating a new

This commit is contained in:
Mikhail Goncharov 2020-01-23 16:27:28 +01:00
parent 241c1d7146
commit 46978536f0

View file

@ -33,6 +33,7 @@ cmake -GNinja ../llvm -DCMAKE_BUILD_TYPE=Release -D LLVM_ENABLE_LLD=ON \
RETURN_CODE="${PIPESTATUS[0]}"
set -e
rm -f "$WORKSPACE/compile_commands.json"
ln -s "$WORKSPACE"/build/compile_commands.json "$WORKSPACE"
cp CMakeCache.txt ${TARGET_DIR}