Skip to content

Rebuilding after upgrades

Kris Thielemans edited this page May 4, 2017 · 6 revisions

You may need to re-build if things go wrong during installation, after an operating system upgrade, or when newer versions become available. It can be difficult to know what shortcuts are safe when re-building and it can overall be faster to start from the beginning. General tips include:

  • Finish any OS updates first.
  • Update from the Git repositories.
  • If a repository has not changed, you don't need to update from it, but you probably should clear the build folder and redo the cmake and make (because libraries that it uses might have changed).
  • For Mac OS users using brew, run brew update then run brew doctor and act on its suggestions if necessary. For the ISMRMRD and Gadgetron dependencies that were installed using brew, you can use brew upgrade instead of brew install to update.
  • Empty the build directories for the various stages to force a proper re-build. Otherwise, not all changes and dependencies may be detected, leading later to inconsistencies.