Skip to content

Commit

Permalink
simplified build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Konrad Rieck committed Apr 12, 2016
1 parent 074a93c commit 6c9d9ca
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,15 @@ fi

# Apply configuration
case $arg in
scarecrow*|sec01*)
echo "Configuration: Laptop (Goettingen)"
freeze*)
echo "Configuration: Laptop (TUBS)"
CC="gcc" \
LDFLAGS="-L/usr/local/opt/libarchive/lib" \
CPPFLAGS="-I/usr/local/opt/libarchive/include" \
CFLAGS="-pedantic -pipe -O3 -g" \
./configure --prefix=/opt/rieck
;;

gwd*)
echo "Configuration: GWDG Cluster (Goettingen)"
CC="gcc" \
LDFLAGS="-L$HOME/usr/lib" \
CPPFLAGS="-I$HOME/usr/include" \
PKG_CONFIG_PATH="$HOME/usr/lib/pkgconfig" \
CFLAGS="-pedantic -pipe -O3 -g" \
./configure --prefix=$HOME/usr
;;

schulle*)
echo "Configuration: Schulle (ESX Cluster)"
CC="gcc" \
CFLAGS="-pedantic -pipe -O3 -g" \
./configure
;;

kindl*)
echo "Configuration: Kindl (OpenBSD)"
LDFLAGS="-L/usr/local/lib" \
CPPFLAGS="-I/usr/local/include" \
CFLAGS="-pedantic -pipe -O3 -g" \
./configure --prefix=/opt/rieck
;;
profile|debug)
echo "Configuration: Profiling & Debugging"
CC="gcc" \
Expand Down

0 comments on commit 6c9d9ca

Please sign in to comment.