Commit cf6fe7f4 authored by Pablo Toharia's avatar Pablo Toharia

Ninja build 1.7.1 added.

parent 7e4e0c3e
#!/bin/bash
# Download, compile and install cmake 3.3.1
NINJA_VERSION=1.7.1
cd $HOME/opt/src
git clone git://github.com/ninja-build/ninja.git && cd ninja
git checkout v${NINJA_VERSION}
./configure.py --bootstrap
mkdir -p $HOME/opt/ninja-${NINJA_VERSION}
cp ninja $HOME/opt/ninja-${NINJA_VERSION}
echo "module load ninja-${NINJA_VERSION}" >> $HOME/.bashrc
source $HOME/.bashrc
#%Module1.0
##
## ninja 1.7.1
set version 1.7.1
set home $::env(HOME)
set prefix $home/opt/ninja-1.7.1
prepend-path PATH $prefix
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment