build_device.sh 279 Bytes
Newer Older
incardon's avatar
incardon committed
1 2
#! /bin/bash

incardon's avatar
incardon committed
3
mkdir src/config
incardon's avatar
incardon committed
4

incardon's avatar
incardon committed
5 6 7 8
sh ./autogen.sh
if [ "$2" == "master" ]
then
 sh ./configure --disable-gpu
incardon's avatar
incardon committed
9
elif [ "$2" == "gin" ]
incardon's avatar
incardon committed
10
then
incardon's avatar
incardon committed
11 12
 module load gcc/4.9.2
 module load boost/1.54.0
incardon's avatar
incardon committed
13
 sh ./configure --with-boost=/sw/apps/boost/1.54.0/
incardon's avatar
incardon committed
14 15 16 17 18 19 20 21 22
else
 sh ./configure
fi

make

./src/mem