Commit 158c5540 authored by Pablo Toharia's avatar Pablo Toharia

Added ispc build and module.

parent f9116507
#!/bin/bash
# Download, compile and install ispc 1.9.1
cd $HOME/opt/src
VERSION=1.9.1
sudo apt-get install libncurses5-dev llvm clang libclang-dev
git clone https://github.com/ispc/ispc.git ispc-${VERSION}
cd ispc-${VERSION}
git checkout v$VERSION
make
# Install only the executable
mkdir $HOME/opt/ispc-${VERSION}
cp ispc $HOME/opt/ispc-${VERSION}
echo "module load ispc-"${VERSION} >> $HOME/.bashrc
source $HOME/.bashrc
#%Module1.0
##
## ispc 1.9.1
set version 1.9.1
set home $::env(HOME)
set prefix $home/opt/ispc-1.9.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