diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2007-07-05 02:46:31 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2007-07-05 02:46:31 (GMT) |
commit | 7bce23170f7c957454a885c70a30b073eda11e5c (patch) | |
tree | 1da5e5932c043323f8a7a8f90de4b2575e081299 /config/intel-flags | |
parent | dbe1a47e931c2d193f7e6fefb6e4263a98fd9561 (diff) | |
download | hdf5-7bce23170f7c957454a885c70a30b073eda11e5c.zip hdf5-7bce23170f7c957454a885c70a30b073eda11e5c.tar.gz hdf5-7bce23170f7c957454a885c70a30b073eda11e5c.tar.bz2 |
[svn-r13939] Problem: High level of optimazation causes test failures when library is built
with Intel 10.0 compiler.
Solution: Use -O1 optimization flag with Intel 10.0
Platforms tested: abe and kagiso with Intel 10.0 and Intel 9.1 compilers; no committest
is needed since this is a compiler specific change.
Diffstat (limited to 'config/intel-flags')
-rw-r--r-- | config/intel-flags | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/intel-flags b/config/intel-flags index ad59a2b..30e8f4d 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -98,6 +98,9 @@ fi # Please follow the pattern below by adding new versions at the top, copying # the information from the previous version and adding modifications to that. case "$cc_vendor-$cc_version" in + icc-10.0*) + PROD_CFLAGS="-O1 -Wl,-s" + ;; icc-8.0*) # v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2. PROD_CFLAGS="-O2 -Wl,-s" |