Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
d76a1aa3
Commit
d76a1aa3
authored
May 16, 2017
by
Uwe Schulzweida
Browse files
config/default update.
parent
34f34d05
Changes
3
Hide whitespace changes
Inline
Side-by-side
config/default
View file @
d76a1aa3
...
...
@@ -54,7 +54,8 @@ case "${HOSTNAME}" in
CXX
=
clang++
CXXFLAGS
=
"-g -Wall -O3"
\
CC
=
clang
CFLAGS
=
"-g -Wall -O3"
elif
test
"
$COMP
"
=
gnu
;
then
${
CONFPATH
}
configure
\
${
CONFPATH
}
configure
--prefix
=
$HOME
/local
\
--enable-maintainer-mode
\
$CDOLIBS
\
CXX
=
g++
CXXFLAGS
=
"-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native -march=native"
\
CC
=
gcc
CFLAGS
=
"-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native -march=native"
...
...
configure
View file @
d76a1aa3
...
...
@@ -17686,12 +17686,12 @@ done
# Check compiler version
case "$C
C
" in
case "$C
XX
" in
pgcc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
*gcc*) CXX_VERSION=`$CXX --version | head -n 1`;;
g++*) CXX_VERSION=`$CXX --version | head -n 1`;;
clang*) CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*)
CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*) CXX_VERSION=`$CXX --version | head -n 1`;;
sxc*) CXX_VERSION=`$CXX -V 2>&1 | tail -n 1`;;
xlc*) CXX_VERSION=`$CXX -qversion 2>&1 | head -n 1`;;
*) CXX_VERSION=`$CXX -V 2>&1 | head -n 1 | grep -v error`;;
...
...
configure.ac
View file @
d76a1aa3
...
...
@@ -81,12 +81,12 @@ AC_CHECK_FUNCS(getrlimit)
AC_CHECK_FUNCS(gethostname)
# Check compiler version
case "$C
C
" in
case "$C
XX
" in
pgcc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
*gcc*) CXX_VERSION=`$CXX --version | head -n 1`;;
g++*) CXX_VERSION=`$CXX --version | head -n 1`;;
clang*) CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*)
CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*) CXX_VERSION=`$CXX --version | head -n 1`;;
sxc*) CXX_VERSION=`$CXX -V 2>&1 | tail -n 1`;;
xlc*) CXX_VERSION=`$CXX -qversion 2>&1 | head -n 1`;;
*) CXX_VERSION=`$CXX -V 2>&1 | head -n 1 | grep -v error`;;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment