Build utility
This commit is contained in:
11
utils/build.sh
Executable file
11
utils/build.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if [[ $(hostname -s) =~ ^head[0-9]+$ ]] || [[ $(hostname -s) =~ ^node[0-9]+$ ]]; then
|
||||||
|
# Elwetritsch cluster - heads or nodes
|
||||||
|
module load qt/5.5
|
||||||
|
fi
|
||||||
|
cd ..
|
||||||
|
rm -rf build
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
qmake ../DRAMSys/DRAMSys.pro
|
||||||
|
make -j `cat /proc/cpuinfo | grep processor | wc -l`
|
||||||
Reference in New Issue
Block a user