Skip to content

Add --cleanup option to build_visit. - #21076

Merged
biagas merged 7 commits into
developfrom
task/biagas/add_build_visit_cleanup_option
Aug 3, 2026
Merged

Add --cleanup option to build_visit.#21076
biagas merged 7 commits into
developfrom
task/biagas/add_build_visit_cleanup_option

Conversation

@biagas

@biagas biagas commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

Have modules use new cleanup_build_dirs function. This is a no-op if --cleanup wasn't used.

Also added change_install_dir_perms function for consistency. Modified all modules to use the function.

Resolves #1480

Removed unused function from bv_ospray.

Added blurb to basic usage docs.

Type of change

  • [ ] Bug fix
  • [ ] New feature
  • [ ] Documentation update
  • Other
    build_visit

How Has This Been Tested?

Ran build-visit with everything turned on and --cleanup added to command line.
After completion, all source and build dirs were removed.

Checklist:

  • I have commented my code where applicable.~~
  • I have updated the release notes.~~
  • I have made corresponding changes to the documentation.~~
  • [ ] I have added debugging support to my changes.
  • [ ] I have added tests that prove my fix is effective or that my feature works.
  • [ ] I have confirmed new and existing unit tests pass locally with my changes.
  • [ ] I have added new baselines for any new tests to the repo.
  • [ ] I have NOT made any changes to protocol or public interfaces in an RC branch.

biagas added 4 commits July 23, 2026 14:12
Have modules use new `cleanup_build_dirs` function.
This is a no-op if `--cleanup` wasn't used.

Also added `change_install_dir_perms` function for consistency.
Modified all modules to use the function.
@biagas
biagas requested review from cyrush and markcmiller86 July 23, 2026 21:34
@biagas

biagas commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

@cyrush @markcmiller86 do either of you have time to review this PR?

@cyrush cyrush left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for getting this in!

}


# ***************************************************************************

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

chgrp -R ${GROUP} "$VISITDIR/xkbcommon"
fi

cleanup_build_dirs $XKBCOMMON_BUILD_DIR

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice how helpers clean all of these cases up

@biagas
biagas merged commit 6563819 into develop Aug 3, 2026
3 checks passed
@biagas
biagas deleted the task/biagas/add_build_visit_cleanup_option branch August 3, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance bv_*.sh modules to delete build directories after successful installs.

2 participants