Commit Graph

12 Commits

Author SHA1 Message Date
Albert Cheng
6f2b6f8d07 [svn-r25667] HDFFV-8933:
Did not provide default values for clang++ options.
Also, applied wrong values for the *_CPPFLAGS.

Solution:
Added default values for *_CXXFLAGS.
Fixed the *_CPPFLAGS values.

Tested: duck, swallow, quail with --eanble-production.
2014-10-03 17:16:24 -05:00
Albert Cheng
40c1751340 [svn-r25652] Bug fix: HDFFV-8933
Description:
Mac has changed to use the clang/clang++ compilers but compiler settings for production, debug and profile
were not setup.

Solution:
Setup default values for PROD_CFLAGS, PROD_CPPFLAGS, DEBUG_CFLAGS, DEBUG_CPPFLAGS.
PROFILE_CFLAGS and PROFILE_CPPFLAGS were set too but clang does not -pg or such for
profiling. Need to fix it later.

Tested: duck, swallow, and quail using --enable-production.
2014-10-01 17:26:02 -05:00
Albert Cheng
82869120a9 [svn-r23610] Improvement: DFFV-8245
Use Clang as the compiler for the Mac platform.

Changed all Mac to use clang/clang++ as the default C and CXX compilers if
not provided by the user. Still use gfortran as the default fortran
compiler since Apple does not provide any fortran compiler.

HDFFV-8245: bug fix. Snow Leopard (darwin 10.X) does not have clang++.
Reversed it to use gcc/g++ as the default C and CXX compilers for Darwin 10.X
systems.

Tested: h5committest plus duck (darwin 11), wren (darwin 12) and fred
(darwin 10).
2013-04-22 17:24:37 -05:00
Scot Breitenfeld
8dcb0ee3d0 [svn-r23261] Brought r23235 from trunk into branch. 2013-02-12 19:04:15 -05:00
Albert Cheng
9ea64eb0b8 [svn-r22880] Bug Fix: HDFFV 8017
dt_arith would fail in Lion and Mountain Lion system when GCC version 4.2.1
is used with --enable-production. Somehow the -O optimization will fail some of
the hard conversion code.

Solution:
This is just a temporary patch by detecting if this is a Lion or Mountain Lion
system using GCC 4.2.1, then just remove the any -O option from the PROD_CFLAGS.
A better fix should be deviced later.

Tested: Duck(lion) and Owl (mountain lion) tested with --enable-production.
Also tested in Fred and Tejeda, both Snow Leopard systems to verify there is
no undesired side effect.
2012-10-10 00:08:59 -05:00
Mike McGreevy
699098014b [svn-r20525] Description:
Merge revisions 20475, 20502, and 20504 from trunk to 1.8 branch.

Tested:

    Tested on jam, fred, bangan (CYGWIN), and h5committested.
2011-04-15 15:41:32 -05:00
Elena Pourmal
0e617633fc [svn-r19567] Maintenance: Added -O3 to be used with the C Intel v 11 compilers; set default to -O for all
unknown versions of the C Intel compilers.
             Modified apple config file to display Intel compiler information.
             Updated RELEASE.txt notes accordingly.
Platfroms tested: jam, amani and dubna (Mac 64-bit) with Intel C, Fortran and C++ compilers.
2010-10-08 15:57:57 -05:00
Larry Knox
a41fb65b7c [svn-r18836] Added code to config files, libhdf5.settings.in and configure.in to add compiler version information for fortran and C++ in the settings file and the configure output for our common compilers on linux, solaris, and mac(gnu only).
Tested:  amani, jam, linew (h5committest) and with configure on these machines and tejeda.
2010-05-17 17:23:23 -05:00
Elena Pourmal
eb8838be0b [svn-r17637] Maintenance: Brought changes back from the trunk.
Platforms tested: pahra with ifort, g95 and gfortran.
2009-10-12 23:58:27 -05:00
Elena Pourmal
835e13806c [svn-r16031] Bug fix: While testing hdf5-1.8.2-pre1 on Mac I dicovered that I made
a typo in a configuration file for Mac checked in on 
         October 31 (rev 16008). Since this change affects only Fortran
         users on Mac Intel and doesn't affect daily tests on any platforms,
         I am checking in the fix.
Platforms tested:
	 pahra with Intel compilers
2008-11-04 16:38:45 -05:00
Elena Pourmal
27d42dfae5 [svn-r16008] Maintenance: Updated compilers and system information for Mac Intel in
RELEASE.txt
             Modified config file to disable shared libraries only
             when Fortran is enabled.
Platforms tested:
             pahra (Mac Intel 10.5.4)
2008-10-31 09:27:54 -05:00
Quincey Koziol
2dfde3e4fc [svn-r13934] Description:
Rename Mac OS X compiler configuration file to more generic name, which
should allow Intel Macs to configure better.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-07-03 12:20:44 -05:00