summaryrefslogtreecommitdiffstats
path: root/config/ibm-flags
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-01-29 13:51:29 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-01-29 13:51:29 (GMT)
commit61ab7b8bf3f15e31728ed5d4274a4e826f76ff7a (patch)
treeec8d1f78ce20288e0151cda3393561ed34215329 /config/ibm-flags
parent821ce6874d9e2b322dda171f95901d5f68a1c26a (diff)
downloadhdf5-61ab7b8bf3f15e31728ed5d4274a4e826f76ff7a.zip
hdf5-61ab7b8bf3f15e31728ed5d4274a4e826f76ff7a.tar.gz
hdf5-61ab7b8bf3f15e31728ed5d4274a4e826f76ff7a.tar.bz2
[svn-r29016] Merge of r28936, 28949, 28960-29009 from trunk.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ Fortran and C++ autotools parallel (MPICH 3.1.4) w/ Fortran CMake serial (3.3.2, via cmakehdf5)
Diffstat (limited to 'config/ibm-flags')
-rw-r--r--config/ibm-flags29
1 files changed, 24 insertions, 5 deletions
diff --git a/config/ibm-flags b/config/ibm-flags
index 462372d..731968d 100644
--- a/config/ibm-flags
+++ b/config/ibm-flags
@@ -55,19 +55,38 @@ if test "XL" = "$cc_vendor"; then
# Turn off shared lib option. It causes some test suite to fail.
enable_shared="${enable_shared:-no}"
+
# Make sure this is applied to other API compile options such as C++.
AM_CFLAGS="$AM_CFLAGS"
+
# -qflag=w:w makes the lowest level of reported compile issues to be "warning"
# instead of "information". This suppresses a very large number of messages
# concerning the portability of __inline__.
H5_CFLAGS="-qlanglvl=stdc99 -qflag=w:w $H5_CFLAGS"
- DEBUG_CFLAGS="-g -qfullpath"
- DEBUG_CPPFLAGS=
- # -O causes test/dtypes to fail badly. Turn it off for now.
- PROD_CFLAGS=""
+
+ # Produciton
+ PROD_CFLAGS=
PROD_CPPFLAGS=
- PROFILE_CFLAGS="-g -qfullpath -pg"
+
+ # Debug
+ # NDEBUG is handled explicitly in configure
+ DEBUG_CFLAGS="-qfullpath"
+ DEBUG_CPPFLAGS=
+
+ # Symbols
+ SYMBOL_CFLAGS="-g"
+ SYMBOL_CPPFLAGS=
+
+ # Profiling
+ PROFILE_CFLAGS="-pg"
PROFILE_CPPFLAGS=
+
+ # Optimization
+ # -O causes test/dtypes to fail badly. Turn it off for now.
+ HIGH_OPT_CFLAGS=
+ DEBUG_OPT_CFLAGS=
+ NO_OPT_CFLAGS=
+
# Flags are set
cc_flags_set=yes
fi