Commit 6fa2a4e7 authored by Sergio Galindo's avatar Sergio Galindo

Added module for CMake 3.12.

parent 8f6533c5
## CMake 3.12.2
set version 3.12.2
set home $::env(HOME)
set prefix $home/opt/cmake-3.12.2
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib
# Download, compile and install cmake 3.12.2
cd $HOME/opt/src
tar zxvf cmake-3.12.2.tar.gz
cd cmake-3.12.2
mkdir -p Release
cd Release
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/opt/cmake-3.12.2
make install $1
echo "module load cmake-3.12.2" >> $HOME/.bashrc
source $HOME/.bashrc
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