Commit 7e4e0c3e authored by Pablo Toharia's avatar Pablo Toharia

Merge branch 'master' of gitlab.gmrv.es:common/modules-linux

parents 787d1b5c 875e2584
#%Module1.0
##
## CMake 3.4.3
set version 3.4.3
set home $::env(HOME)
set prefix $home/opt/cmake-3.4.3
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib
#!/bin/bash
# Download, compile and install cmake 3.3.1
cd $HOME/opt/src
wget http://www.cmake.org/files/v3.4/cmake-3.4.3.tar.gz
tar zxvf cmake-3.4.3.tar.gz
cd cmake-3.4.3
mkdir -p Release
cd Release
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/opt/cmake-3.4.3
make install $1
echo "module load cmake-3.4.3" >> $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