Commit Graph

187 Commits

Author SHA1 Message Date
Dana Robinson
77f1054b3d [svn-r26429] Merge of r26393-26428 from the trunk.
Tested w/ h5committest
2015-03-11 04:59:37 -05:00
Dana Robinson
9afdf275f8 [svn-r26423] Made the thread-safe + high-level library combination "unsupported".
A detailed error message is emitted if this combination is attempted.
Builders can use --enable-unsupported to build the combo.

Note that default builds will now need to use --disable-hl with
--enable-threadsafe since the high-level library is built by default. 

Part of: HDFFV-8719

Tested on: Local Linux w/ various combinations of configure options.
2015-03-10 23:59:20 -05:00
Dana Robinson
47bb12bc82 [svn-r26412] Merge of r26081-2, 26226, and 26399 from the autotools rework branch.
Various tweaks for autotools thread-safety and Pthreads support.

- Moved the check for pthread_attr_setscope() into the thread-safe
  checks section. Documented its necessity and added a cross-compiling
  option and helpful comment.

- Moved the high-level library checks up to the same place where
  Fortran and C++ are checked. This will make it easier to handle
  threadsafe/high-level combinations later.

- Also changed the default of --enable-pthread to 'check', which is
  the same as the old 'yes' behavior where we just check the standard
  locations. 'yes' and 'no' are still accepted, though 'no' will
  currently produce an error since the autotools only support Pthreads.

Fixes: HDFFV-9087

Tested on: h5committest
           jam (w/ threadsafe)
2015-03-09 22:35:13 -05:00
Allen Byrne
50f6da2062 [svn-r26410] HDFFV-9131: remove obsolete functions and other small changes 2015-03-09 16:55:43 -05:00
Dana Robinson
2f77d8c5ea [svn-r26399] Converted an AC_TRY_RUN macro to an AC_RUN_IFELSE macro.
Used with checking Pthread scope.

Part of: HDFFV-9087

Tested on: Local Linux w/ thread-safety enabled
2015-03-09 07:50:27 -05:00
Dana Robinson
ce19753d87 [svn-r26396] Merge of r26349-26392 from the trunk.
Tested on: h5committest
2015-03-09 03:47:16 -05:00
Mike McGreevy
84f0d4735a [svn-r26382] Merge r26289 from autotools_rework branch to trunk:
Purpose:

    Fix HDFFV-9124 - Remove old libtool post-processing
    
Description:
 
    This revision removes some post-processing of the generated libtool
    script, which was added back in 2003 (see svn revisions 6285 and 6293)
    to address a deficiency in which the script failed to set the '$wl'
    variable for icc and pgcc compilers. Libtool has since fixed the issue,
    and the post-processing we've been running has essentially been a no-op
    for years, so it's safe for us to remove the post-processing snippet.
    
Tested:

    Jam using pgcc and icc compilers.
2015-03-06 11:16:04 -05:00
Dana Robinson
da1bfda645 [svn-r26363] Partial revert of r26347.
Since off_t is exposed by the C API, the large file definitions MUST
be exposed so that client code matches the library.

These definitions have been switched back to AM_CPPFLAGS, which is
exported to h5cc, etc. The POSIX and GNU definitions changes from
r26347 have been left as using H5_CPPFLAGS, which is not sent to
h5cc as we don't want to inflict our needs on external users.

Fixes: HDFFV-9152

Tested on: h5committest
2015-03-04 17:01:37 -05:00
Dana Robinson
5b294640c0 [svn-r26350] Merge of r26273-26348 from the trunk.
Tested on: h5committest
2015-03-03 19:27:40 -05:00
Dana Robinson
f56cb6a8f0 [svn-r26347] Moves large file and POSIX/GNU defines from AM_CPPFLAGS to H5_CPPFLAGS,
which is where the rest of the #defines reside.

The key difference is that AM_CPPFLAGS is exported to h5cc. These #defines
are not necessary to consume the HDF5 API and it's bad form to inflict
our build configuration on users. In particular, the GNU/POSIX defines
could easily conflict with a user's.

Fixes: HDFFV-9152

Tested on: h5committest
2015-03-03 17:27:21 -05:00
Dana Robinson
7462a7ef1c [svn-r26329] Merge of r26069, r26070, and r26072 from the features/autotools_rework
branch.

Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).

This feature mucked up the code with a lot of #ifdefs, saved very little space,
and was not scalable to a general scheme for library size reduction. We've
decided to remove the feature while we investigate a more general scheme for
decreasing the library size.

Part of: HDFFV-9086

Tested on: h5committest
2015-02-27 07:50:38 -05:00
Mike McGreevy
d3728f8d64 [svn-r26289] Purpose:
Fix HDFFV-9124 - Remove old libtool post-processing
    
Description:

    This revision removes some post-processing of the generated libtool
    script, which was added back in 2003 (see svn revisions 6285 and 6293)
    to address a deficiency in which the script failed to set the '$wl'
    variable for icc and pgcc compilers. Libtool has since fixed the issue,
    and the post-processing we've been running has essentially been a no-op
    for years, so it's safe for us to remove the post-processing snippet.
    
Tested:

    Jam using pgcc and icc compilers.
2015-02-23 15:40:40 -05:00
Dana Robinson
7e220930da [svn-r26276] Merged r26075-80, 86 from features/autotools_rework branch.
Cleans up time functions in the autotools input files. Removed deprecated
gettimeofday() time zone code and configure processing. Also removed
some unused time function configure checks and defines.

Fixes: HDFFV-9083 and HDFFV-9085

Tested on: 32-bit linux, serial and parallel (jam)
           OS X (kite)
           Solaris (emu)
2015-02-23 01:56:16 -05:00
Dana Robinson
7c13406814 [svn-r26275] Merge of r26042, 26083, 26084, 26085 from features/autotools_rework
- Updated configure.ac so that the direct VFD can now be built
  without specifying _GNU_SOURCE, etc. on the command line.

- The direct VFD is now disabled by default. It was previously
  enabled, but the configuration script couldn't configure it
  properly, making it a moot point.

Fixes: HDFFV-9057, HDFFV-7567, HDFFV-9088, HDFFV-7566

Tested on: h5committest
           jam w/ direct VFD (*very* slow!)

NOTE: platypus cmake fails, but this is not a new error.
2015-02-22 10:09:26 -05:00
Dana Robinson
c07d803659 [svn-r26274] Merge of r26096 to r26271 from trunk.
Tested on: jam - serial: C++/Fortran
                 parallel: Fortran
2015-02-22 07:16:30 -05:00
Dana Robinson
bfc0395507 [svn-r26272] Merge of r26071 from features/autotools_rework
Removes the --with-default-vfd option from configure. This was basically
useless and only allowed selecting the stdio VFD. Since this is a demo
VFD and not really a production VFD, we decided to retire this option.

Fixes: HDFFV-9081

Tested on: h5committest

NOTE: platypus cmake fails, but this is not a new error.
2015-02-22 05:44:41 -05:00
Dana Robinson
a5e2167b3e [svn-r26262] Restores maintainer mode to the configure.ac file but leaves it on
by default (unlike the trunk and 1.8 branches, where it's disabled
by default).

Users can build with --disable-maintainer-mode to remove autotools
build dependencies.

Part of: HDFFV-9122

Tested on: 64-bit linux VM (configure and autogen only)
2015-02-21 04:41:03 -05:00
Quincey Koziol
c52835f4c1 [svn-r26258] Description:
Remove LDOUBLE_TO_INTEGER_WORKS macro/define from configure/library/tests,
since it was added to support non-standard behavior on SGI IRIX & HP-UX, which
we don't support any longer.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-02-20 15:52:39 -05:00
Quincey Koziol
707965be8a [svn-r26257] Description:
Remove the LDOUBLE_TO_INTEGER_ACCURATE macro, since it was added to work
around non-standard behavior on SGI IRIX, which we are no longer supporting.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest not required on this branch)
2015-02-20 14:19:15 -05:00
Dana Robinson
265782d3eb [svn-r26226] Fixed the --with-pthread option so that it correctly handles 'yes' and
'no', which was broken after other work in this area.

Part of: HDFFV-9087

Tested on: 64-bit linux VM
2015-02-19 02:44:55 -05:00
Dana Robinson
a7f70203b4 [svn-r26225] Removes broken open() call work-around that was specific to the now
unsupported Code Warrior compiler. Also removes the H5_NO_SHARED_WRITING
symbol from the pubconf file.

Fixes: HDFFV-9080

Tested on: jam only, after bin/reconfigure
           (all platforms should see no source changes)
2015-02-19 00:24:09 -05:00
Dana Robinson
63d38ca75a [svn-r26219] Merge r26029 from autotools_rework feature branch.
Adds a comment to configure.ac indicating that Cygwin still has
problems with srcdir and time.

Fixes: HDFFV-9082

Tested on: jam (comment only change) w/ bin/reconfigure
2015-02-18 16:06:47 -05:00
Scot Breitenfeld
b28b5fade9 [svn-r26188] Merged autotools fixes into the trunk:
HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
2015-02-16 12:17:49 -05:00
Mohamad Chaarawi
74fbb9e327 [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:
- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.

tested with h5committest.
2015-02-16 11:17:03 -05:00
HDF Tester
9a376e4ee9 [svn-r26177] Snapshot version 1.9 release 214 2015-02-15 06:13:34 -05:00
Albert Cheng
d0c224ae18 [svn-r26173] HDF5-9117: if testing for proper working 'tr' command is needed.
Long time ago, the tr command in some platform does not work properly and this test was added
to detect broken tr and abort the configure process.
We are not aware of such broken tr command in current systems and decided to retire this test.

The setup of ${TR} is still needed as it is used to process DEBUG_PKG.

Tested: h5committested plus using "./configure --enable-debug=all" in jam.
2015-02-13 19:24:50 -05:00
Mohamad Chaarawi
d38f3d888d [svn-r26171] fix MPE setup. 2015-02-13 16:21:00 -05:00
Albert Cheng
6b01332709 [svn-r26165] HDF5-9117: if testing for proper working 'tr' command is needed.
Long time ago, the tr command in some platform does not work properly and this test was added
to detect broken tr and abort the configure process.
We are not aware of such broken tr command in current systems and decided to retire this test.

The setup of ${TR} is still needed as it is used to process DEBUG_PKG.

Tested: in jam using "./configure" and "./configure --enable-debug=all".
2015-02-13 10:15:49 -05:00
HDF Tester
f4a60fc34c [svn-r26146] Snapshot version 1.9 release 213 2015-02-08 06:05:07 -05:00
Scot Breitenfeld
167619a75d [svn-r26132] reverted change 26177
svn merge -c -26117 .

Shared Fortran libraries don't work on Mac, the check for building shared on Mac needs to stay in.
2015-02-05 14:36:51 -05:00
Scot Breitenfeld
46d39603ad [svn-r26127] Fixed typo. 2015-02-05 09:59:15 -05:00
Scot Breitenfeld
8a528170ec [svn-r26117] Autotools work HDFFV-9067,
Removed restiction of disabling shared libraries on the MAC, H5_FORTRAN_SHARED was replaced with HAVE_SHARED_CONDITIONAL since H5_FORTRAN_SHARED was removed.

tested: jam
2015-02-03 10:42:15 -05:00
Mohamad Chaarawi
cbf280a22d [svn-r26115] explain why If RUNSERIAL or RUNPARALLEL is the word `none' then replace it with empty string. 2015-02-03 09:33:25 -05:00
Mohamad Chaarawi
473feff3c6 [svn-r26114] remove option to toggle large file support. 2015-02-02 15:54:59 -05:00
Dana Robinson
51de1ce902 [svn-r26100] Removed maintainer mode (AM_MAINTAINER_MODE) from configure.ac.
This is no longer needed since we don't check in generated files anymore.
Actually, it was not really recommended in the first place:

http://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html

Part of: HDFFV-9122

Tested on: jam
2015-02-02 04:16:07 -05:00
Dana Robinson
cd1d1d41df [svn-r26096] Merged r26024-26095 from trunk.
Tested on: jam with Fortran and C++
2015-02-02 01:46:40 -05:00
HDF Tester
67f41bf9f8 [svn-r26092] Snapshot version 1.9 release 212 2015-02-01 06:03:18 -05:00
Dana Robinson
ba002bcc8f [svn-r26086] Solaris no longer has issues with requiring early checking for time
functions so the checks were merged with the other system call
checks.

Fixes HDFFV-9083

Tested on: Linux (jam) and Solaris (emu)
2015-01-30 06:57:10 -05:00
Dana Robinson
8cb70b47cb [svn-r26085] Improved the direct VFD configure checks.
- Results of O_DIRECT and posix_memalign() checks are now
  output so users can more easily diagnose problems.

- Configure now fails if --enable-direct-vfd was requested
  but either O_DIRECT or posix_memalign() are not
  present.

Part of HDFFV-7566

Tested on: jam (configure only)
2015-01-30 05:38:59 -05:00
Dana Robinson
21a38c4e67 [svn-r26084] Configure now just checks for O_DIRECT being defined instead of trying
to build and run a program using it, which is problematic (depends on
file system, issues with cross-compiling).

Part of HDFFV-9057

Tested on: jam (configure only)
2015-01-30 04:42:26 -05:00
Dana Robinson
ec45cabfc7 [svn-r26083] Changed the default for building the direct VFD to 'no'.
Updated the direct VFD help string to make it more clear where
it is suported.

Part of HDFFV-7566 and HDFFV-7567

Tested on: jam (configure only)
2015-01-30 03:08:57 -05:00
Dana Robinson
37d1800ec0 [svn-r26082] Moved the high-level library checks up to the same place where
Fortran and C++ are checked. This will make it easier to
handle threadsafe/high-level combinations later.

Also changed the default of --enable-pthread to 'check' and
removed yes/no behavior. If you ask for thread-safety, you
can't disable Pthreads...

Part of HDFFV-8719

Tested on: jam (configure only)
2015-01-30 02:38:40 -05:00
Dana Robinson
adc1845b48 [svn-r26081] Moved the check for pthread_attr_setscope() into the thread-safe checks
section. Documented its necessity and added a cross-compiling option
and helpful comment.

Also removed a check for BSDgettimeofday from configure.ac, which
was for Irix 5.3 support.

Part of HDFFV-9087

Tested on: jam with threadsafe
2015-01-29 18:48:20 -05:00
Dana Robinson
da2a2d9400 [svn-r26079] Removed obsolete HAVE___TM_GMTOFF defines. This is an artifact of the Linux
fork of glibc. It's been deprecated since at least 1997.

Part of HDFFV-9085

Tested on: jam
2015-01-29 17:33:01 -05:00
Dana Robinson
f44d493a4b [svn-r26076] Removed gettimeofday() time zone struct functionality.
Part of HDFFV-9085

Tested on: jam
2015-01-29 16:02:19 -05:00
Dana Robinson
aea0b5b46e [svn-r26071] Moved setting H5_DEFAULT_VFD from configure to src/H5private.h.
Fixes HDFFV-9081

Tested on: jam
2015-01-29 09:15:48 -05:00
Dana Robinson
45aece2434 [svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time.

Fixes HDFFV-9086

Tested on: jam, both serial and parallel w/ fortran & C++
2015-01-29 08:19:22 -05:00
Scot Breitenfeld
7046addd0b [svn-r26060] Fix for HDFFV-9091
405-408::fortran vars should be scoped

Scoped:

HAVE_SIZEOF
HAVE_C_SIZEOF
HAVE_STORAGE_SIZE
FORTRAN_DEFAULT_REALisDBLE

to where the tests are (in m4/aclocal_fc.m4)

Tested: jam (gnu)
2015-01-27 16:52:53 -05:00
Scot Breitenfeld
f142970ac2 [svn-r26059] Fix for: HDFFV-9095
4159:: Check if Fortran's default real is double precision. If it is and HL is being built then configure should fail due to bug HDFFV-889.

Fix:
This check should be located where HL is check for, and it is. Updated the comment to elimenate confusion.
2015-01-27 16:35:30 -05:00
Scot Breitenfeld
06587c6e91 [svn-r26057] Fix for: HDFFV-9094
change include 'mpif.h' to module in tests

Solution:

changed to 'USE mpi' and moved the tests to m4/aclocal_fc.m4

Tested: jam (mpicc, mpif90)
2015-01-27 16:24:31 -05:00