Commit 6332c1de authored by Pablo Toharia's avatar Pablo Toharia

Added coindeseigner.

parent 5b7c16c8
#%Module1.0
##
## coindesigner VERSION
set version VERSION
set home $::env(HOME)
set prefix $home/opt/coindesigner-VERSION
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib
......@@ -12,3 +12,4 @@ jambs*
Debug
Release
RelWithDebInfo
coindesigner-*
#!/bin/bash
# Install dependencies
sudo apt-get install libcoin80-dev libassimp-dev \
libqt4-dev libsoqt4-dev libsimage-dev bison flex
# Build
cd $HOME/opt/src
# As we are downloading master the date will be added
d=`date '+%Y%m%d'`
git clone https://github.com/iocroblab/coindesigner coindesigner-$d
cd coindesigner-$d
mkdir Release
cd Release
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$HOME/opt/coindesigner-$d
make install
sed -e "s/VERSION/$d/g" $HOME/opt/modules/.coindesigner \
> $HOME/opt/modules/coindesigner-$d
echo "module load coindesigner-$d" >> $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