Commit faa887e5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

config/default update for gcc on bailung.

parent 1f9578e0
......@@ -37,7 +37,7 @@ case "${HOSTNAME}" in
--with-hdf5=$HOME/local/hdf5-1.8.19-threadsafe \
--with-udunits2=/opt/local \
--with-curl=/opt/local \
--with-libxml2=/usr \
--with-libxml2=/opt/local \
--with-ossp-uuid=/opt/local \
--with-cmor=$HOME/local/cmor-3.3 \
--with-proj=/opt/local/lib/proj5 \
......@@ -77,13 +77,13 @@ case "${HOSTNAME}" in
elif test "$COMP" = gnu5 ; then
${CONFPATH}configure --prefix=$HOME/local \
$CDOLIBS \
LDFLAGS="/opt/local/lib/gcc5/libstdc++.6.dylib -Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
CXX=g++-mp-5 CXXFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native" \
CC=gcc-mp-5 CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native"
elif test "$COMP" = gnu_pic ; then
${CONFPATH}configure \
$CDOLIBS \
LDFLAGS="/opt/local/lib/gcc8/libstdc++.6.dylib -Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
CXX=g++ CXXFLAGS="-g -fPIC" \
CC=gcc CFLAGS="-g -fPIC"
elif test "$COMP" = gnu_stack ; then
......@@ -95,13 +95,13 @@ case "${HOSTNAME}" in
elif test "$COMP" = gribapi ; then
${CONFPATH}configure --disable-cgribex \
$CDOLIBS \
LDFLAGS="/opt/local/lib/gcc8/libstdc++.6.dylib -Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
CXX=g++ CXXFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native" \
CC=gcc CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native"
elif test "$COMP" = hirlam_extensions ; then
${CONFPATH}configure --enable-hirlam-extensions \
$CDOLIBS \
LDFLAGS="/opt/local/lib/gcc8/libstdc++.6.dylib -Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
CXX=g++ CXXFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native" \
CC=gcc CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native"
elif test "$COMP" = sanitize_address ; then
......@@ -128,8 +128,8 @@ case "${HOSTNAME}" in
${CONFPATH}configure --prefix=$HOME/local \
--enable-maintainer-mode \
$CDOLIBS \
LDFLAGS="/opt/local/lib/gcc8/libstdc++.6.dylib -Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
F77=gfortran
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.6.0/lib" \
F77=gfortran \
CXX=g++ CXXFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native" \
CC=gcc CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native"
fi
......
Markdown is supported
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