Skip to content

KrisThielemans/SIRF-SuperBuild

 
 

Repository files navigation

SIRF-SuperBuild Build Status

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).

Dependencies

The superBuild depends on CMake >= 3.7.

Generic instructions.

To compile and install SIRF with the SuperBuild:

  1. create a directory for the SuperBuild, e.g. devel.
  2. 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.

  1. Clone the project
git clone https://github.com/CCPPETMR/SIRF-SuperBuild.git
cd SIRF-SuperBuild
  1. Build and install
cmake .
make
  1. 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.

Installation instructions for Ubuntu 16

They can be found here

Installation instructions for Mac OS

They can be found here

Installation instructions for Docker

They can be found here

TODO

  • Windows support
  • Sort out CMake Status messages.

About

SIRF CMake SuperBuild

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CMake 96.0%
  • Shell 4.0%