summaryrefslogtreecommitdiffstats
path: root/config/pgi-fflags
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-01-27 21:45:23 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-01-27 21:45:23 (GMT)
commit1454a458262dd012c94f56ccc55ccbbe57b63399 (patch)
tree3924efe3b45657d02b8dcc394df30626591a6610 /config/pgi-fflags
parent7afa7bb6afd1cf4daee58010e4f9411262abeab9 (diff)
downloadhdf5-1454a458262dd012c94f56ccc55ccbbe57b63399.zip
hdf5-1454a458262dd012c94f56ccc55ccbbe57b63399.tar.gz
hdf5-1454a458262dd012c94f56ccc55ccbbe57b63399.tar.bz2
[svn-r28996] Autotools configure updates to allow separation of build type, debug
symbols, asserts, profiling, and optimization. Also much refactoring, improved help, and --enable-<foo> options will now emit errors on nonsense (e.g.: --enable-foo="asdfasdf"). The libhdf5.settings.in file was also reformatted. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial and parallel autotools w/ various options
Diffstat (limited to 'config/pgi-fflags')
-rw-r--r--config/pgi-fflags16
1 files changed, 12 insertions, 4 deletions
diff --git a/config/pgi-fflags b/config/pgi-fflags
index 8e574e4..fbcba52 100644
--- a/config/pgi-fflags
+++ b/config/pgi-fflags
@@ -87,12 +87,20 @@ if test "X-pgf90" = "X-$f9x_vendor"; then
PROD_FCFLAGS="-fast -s -Mnoframe"
# Debug
- DEBUG_FCFLAGS="-g -Mbounds -Mchkptr -Mdclchk"
+ DEBUG_FCFLAGS="-Mbounds -Mchkptr -Mdclchk"
- # Profile
- PROFILE_FCFLAGS="-g -Mprof=func,line"
+ # Symbols
+ SYMBOLS_FCFLAGS="-g"
+
+ # Profiling
+ PROFILE_FCFLAGS="-Mprof=func,line"
# Use this for profiling with gprof
- #PROFILE_FCFLAGS="-g -pg"
+ #PROFILE_FCFLAGS="-pg"
+
+ # Optimization
+ HIGH_OPT_FCFLAGS=
+ DEBUG_OPT_FCFLAGS=
+ NO_OPT_FCFLAGS=
# Flags are set
f9x_flags_set=yes