Skip to content

Commit

Permalink
abi script: clean build folder between builds (#497)
Browse files Browse the repository at this point in the history
Clean the cmake build folder in between compiling the
source and destination branches. In particular, swig
doesn't handle file renaming or moving, so it's
better to start from a fresh build folder.

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Aug 13, 2021
1 parent a336174 commit 5efa1e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jenkins-scripts/docker/lib/generic-abi-base.bash
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ git remote add source_repo ${SRC_REPO}
git fetch source_repo
git checkout source_repo/${SRC_BRANCH}
# Normal cmake routine for ${ABI_JOB_SOFTWARE_NAME}
rm -rf $WORKSPACE/build
mkdir -p $WORKSPACE/build
cd $WORKSPACE/build
cmake ${ABI_JOB_CMAKE_PARAMS} \\
-DBUILD_TESTING=OFF \\
Expand Down

0 comments on commit 5efa1e8

Please sign in to comment.