diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000000000000000000000000000000000..62c79b7705e7a2839974ff29811d9f7243b1a117 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +#!groovy +node ('gin') +{ + stage 'build' + checkout scm + sh "./build_device.sh $WORKSPACE $NODE_NAME" + + stage 'run' + sh "./src/mem" +} + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5614fb5df2ea19128008e3e37ef72cf29554ec2 --- /dev/null +++ b/build.sh @@ -0,0 +1,21 @@ +#! /bin/bash + +mkdir src/config + +sh ./autogen.sh +if [ "$2" == "master" ] +then + sh ./configure --disable-gpu +elif [ "$2" == "gin" ] +then + module load gcc/4.9.2 + module load boost/1.54.0 + sh ./configure --with-boost=/sw/apps/boost/1.54.0/ +else + sh ./configure +fi + +make + + +