Skip to content

Commit

Permalink
Enable ITK_USE_BUILD_DIR
Browse files Browse the repository at this point in the history
Skip installed ITK to save disc space. This is an alternative to
adding a rm step during the build.
  • Loading branch information
blowekamp committed Aug 19, 2024
1 parent 0be4f32 commit 903f5da
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,12 @@ mkdir -p SITK
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTING=OFF \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DITK_USE_BUILD_DIR:BOOL=ON \
../SimpleITK/SuperBuild/ ||
exit 1

echo "Parallel build using -j${MAKEJ}"
make -j${MAKEJ} ITK &&
ls -la . &&
rm -rf ITK-build &&
du -d 1 . &&
make -j${MAKEJ} &&
make -j${MAKEJ} &&
# Use R to do the move to avoid system specific issues.
${RCALL} -f ${PKGBASED}/sitkmove.R --args SimpleITK-build/Wrapping/R/Packaging/SimpleITK/ ${PKGBASED} ||
exit 1
Expand Down

0 comments on commit 903f5da

Please sign in to comment.