diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 18:20:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 18:20:16 (GMT) |
commit | 53d5ccb17e75f4ce182f3d98f2b60891de07e716 (patch) | |
tree | 9d4bc41c0da2bc5b0e876cbb1c139f7a4743b290 /config | |
parent | bb8251f926850758dadb6251855d051d03f3f883 (diff) | |
download | hdf5-53d5ccb17e75f4ce182f3d98f2b60891de07e716.zip hdf5-53d5ccb17e75f4ce182f3d98f2b60891de07e716.tar.gz hdf5-53d5ccb17e75f4ce182f3d98f2b60891de07e716.tar.bz2 |
[svn-r18633] Description:
Bring r18632 from trunk to 1.8 branch:
Clean up memory leak in test code.
Tested on:
Linux/64 2.4 (amani) w/debug & valgrind
Diffstat (limited to 'config')
-rw-r--r-- | config/pgi-flags | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/config/pgi-flags b/config/pgi-flags index 2b03f3d..287ccce 100644 --- a/config/pgi-flags +++ b/config/pgi-flags @@ -68,15 +68,17 @@ if test "X-pgcc" = "X-$cc_vendor"; then #esac # General - H5_CFLAGS="$H5_CFLAGS $arch -Minform,warn" + H5_CFLAGS="$H5_CFLAGS $arch -Xa -c99 -Minform=inform" # Production - # Check for MPI wrapper being used and tweak down compiler options - if test "X-" == "X-$is_mpi"; then - PROD_CFLAGS="-fast -s -Mnoframe" - else - PROD_CFLAGS="-O2 -s" - fi + case "$cc_vendor-$cc_version" in + pgcc-10.*) + PROD_CFLAGS="-fast -s" + ;; + *) + PROD_CFLAGS="-O1 -s" + ;; + esac PROD_CPPFLAGS= # Debug |