-
Notifications
You must be signed in to change notification settings - Fork 29
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
andmake
(because libraries that it uses might have changed). - For Mac OS users using
brew
, runbrew update
then runbrew doctor
and act on its suggestions if necessary. For the ISMRMRD and Gadgetron dependencies that were installed usingbrew
, you can usebrew upgrade
instead ofbrew 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.