diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2007-07-05 02:47:16 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2007-07-05 02:47:16 (GMT) |
commit | 21ff623bf571d49735b73f5fa23d920071d35aa7 (patch) | |
tree | 6daae5d61be13b79ce98041adc1a62a128a533bb /config | |
parent | 5de1f218aac2a04ead52af0f92ba71a7f8f5e91e (diff) | |
download | hdf5-21ff623bf571d49735b73f5fa23d920071d35aa7.zip hdf5-21ff623bf571d49735b73f5fa23d920071d35aa7.tar.gz hdf5-21ff623bf571d49735b73f5fa23d920071d35aa7.tar.bz2 |
[svn-r13940] 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')
-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 86e86e1..b95ad9a 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -94,6 +94,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" |