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

Added coindeseigner.

parent 5b7c16c8
## 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*
# 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 coindesigner-$d
cd coindesigner-$d
mkdir Release
cd Release
cmake .. -DCMAKE_BUILD_TYPE=Release \
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