The SIRF-SuperBuild allows the user to download and compile most of the software needed to compile SIRF and Gadgetron, and automatically build SIRF and Gadgetron. There is still a small number of libraries that are not installed by the SuperBuild (more info for Linux).
The superBuild depends on CMake >= 3.7.
To compile and install SIRF with the SuperBuild:
- create a directory for the SuperBuild, e.g. devel.
- If you do not have CMake >= 3.7 install it first (download link). On Linux, you can issue the following commands
mkdir devel
cd devel
wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh
sudo mkdir /opt/cmake
sudo bash cmake-3.7.2-Linux-x86_64.sh --prefix=/opt/cmake
export PATH=/opt/cmake/bin:$PATH
During installation you will be asked to read and accept CMake's license.
- Clone the project
git clone https://github.com/CCPPETMR/SIRF-SuperBuild.git
cd SIRF-SuperBuild
- Build and install
cmake .
make
- Source a script with the environment variables appropriate for your shell
For instance, for sh/bash/ksh etc
source INSTALL/bin/env_ccppetmr.sh
You probably want to add a similar line (with absolute path) to your .bashrc/.profile.
Or for csh
source INSTALL/bin/env_ccppetmr.csh
You probably want to add a similar line (with absolute path) to your .cshrc.
They can be found here
They can be found here
They can be found here
- Windows support
- Sort out CMake Status messages.