Commit b0d24920 authored by Pablo Toharia's avatar Pablo Toharia

Changed ispc from building to downloading binary.

parent 158c5540
#!/bin/bash
# Download, compile and install ispc 1.9.1
# Download 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
# Old: to compile it from scratch
# 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
wget http://netix.dl.sourceforge.net/project/ispcmirror/v1.9.1/ispc-v1.9.1-linux.tar.gz
tar zxvf ispc-v1.9.1-linux.tar.gz
# Install only the executable
mkdir $HOME/opt/ispc-${VERSION}
cp ispc $HOME/opt/ispc-${VERSION}
# # 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
......@@ -4,6 +4,6 @@
set version 1.9.1
set home $::env(HOME)
set prefix $home/opt/ispc-1.9.1
set prefix $home/opt/ispc-v1.9.1-linux
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