Commit a4b4482a authored by Ralf Mueller's avatar Ralf Mueller
Browse files

add compiling on luthien for gcc/g++/clang/clang++

parent 768fbaad
......@@ -232,6 +232,8 @@ case "${HOSTNAME}" in
;;
# x86_64-archlinux
luthien*)
case "$COMP" in
gcc|clang)
${CONFPATH}configure --prefix=$HOME/local \
--program-suffix=-dev \
--enable-maintainer-mode \
......@@ -241,9 +243,30 @@ case "${HOSTNAME}" in
--with-szlib \
--with-grib_api \
--with-udunits2 \
--with-grib_api \
--with-fftw3 \
--with-proj \
--with-pic \
CC=gcc CFLAGS="-g -Wall -O2" LIBS=-lopenjpeg
CC=$COMP CFLAGS="-g -Wall -O3" LIBS="-lopenjpeg" LDFLAGS='-lelf -v'
;;
g++|clang++)
${CONFPATH}configure --prefix=$HOME/local \
--program-suffix=-dev \
--enable-maintainer-mode \
--enable-data \
--enable-cxx \
--with-netcdf \
--with-hdf5 \
--with-szlib \
--with-grib_api \
--with-udunits2 \
--with-grib_api \
--with-fftw3 \
--with-proj \
--with-pic \
CC=$COMP CFLAGS="-g -Wall -O2" LIBS=-lopenjpeg
;;
esac
;;
# standard workstations at MPI-M x86_64-lenny
mpipc* )
......
Supports Markdown
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