Commit Graph

1324 Commits

Author SHA1 Message Date
Allen Byrne
9d71583920 Merge pull request #61 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9961-add-git-to-ext-filter to develop
* commit 'd817b63020310b6f275a569529075551dd2b756e':
  Fix copyright to point to cmake
  Fix cyclic depends due to typo
  Correct how include is used when located inside project
  HDFFV-9961: Add GIT option to ext lib macros
  Update copyright to latest from kitware
2016-10-06 17:12:46 -05:00
Scot Breitenfeld
c604bca044 Merge pull request #47 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'f9364c0080405bb36d704eb3f9505029d3da41f4':
  removed the use of C_SIZEOF for non BIND(C) derived type
  Fixed test to use storage_size instead of c_sizeof when available.
  fixed missing closing bracket
  Removed unused variables.
  Fixed: Fortran_DOUBLE was being set to  C_LONG_DOUBLE when C_LONG_DOUBLE is not available.
  Removed duplicate FCFLAG
  Removed duplicate FCFLAG.
  Added number of integer KINDs found to the header files.
  Added path to source include files when building buidiface.
  Added rule to build buildiface program, without a rule, build would add repeated compile options when using the NAG compiler.
  Misc. cleaning up of the program.
  Added SEQUENCE to derived types for NAG:
  misc. format code-cleanup
  Removed the use of hard-coded integer KINDs.
  Code clean-up.
  HDFFV-9973 Fortran library fails to compile and fails tests with NAG compiler
2016-10-06 15:34:39 -05:00
Allen Byrne
d817b63020 Fix copyright to point to cmake 2016-10-06 13:52:55 -05:00
Allen Byrne
aee8233f16 Correct how include is used when located inside project 2016-10-05 15:49:26 -05:00
Allen Byrne
c6bc6dbbfb HDFFV-9961: Add GIT option to ext lib macros 2016-10-04 16:46:13 -05:00
Allen Byrne
0d0c711e88 Update copyright to latest from kitware 2016-10-04 14:53:21 -05:00
Allen Byrne
8c49b6e05a HDFFV-9991: Remove uneeded file 2016-10-04 09:36:01 -05:00
Allen Byrne
869ef118e9 Move clear-objects inside runTest 2016-10-03 14:50:41 -05:00
Allen Byrne
2299ff06c3 Correct variable name 2016-09-30 09:41:18 -05:00
Allen Byrne
fe71ac8d0e Fix error reporting 2016-09-30 09:35:09 -05:00
M. Scot Breitenfeld
cd702dd051 fixed missing closing bracket 2016-09-29 13:12:07 -05:00
M. Scot Breitenfeld
064073307a Removed duplicate FCFLAG. 2016-09-29 10:49:08 -05:00
M. Scot Breitenfeld
3befe647ee Added number of integer KINDs found to the header files. 2016-09-26 13:27:50 -05:00
Allen Byrne
3585b37350 Add default site names 2016-09-16 15:57:28 -05:00
Allen Byrne
bea6ab9ea4 Revert to using old set command 2016-09-16 11:23:38 -05:00
Allen Byrne
6a3551eba0 Change string to list - older usage 2016-09-16 10:08:36 -05:00
Allen Byrne
1963f50928 Add option to submit to Cdash 2016-09-15 16:07:08 -05:00
Allen Byrne
04634520cf Update CMake java functions 2016-09-15 13:32:01 -05:00
Allen Byrne
3c331b231a [svn-r30314] HDFFV-9971: Change the usage of a CMake variable for the build type to the recommended variable name. Updated documentation. 2016-08-22 12:22:38 -05:00
Allen Byrne
2387b1efbd [svn-r30211] Remove extra cygwin files 2016-07-20 13:31:15 -05:00
Allen Byrne
f79cabde38 [svn-r30206] HDFFV-9946: Change cygwin config to a single file 2016-07-20 09:49:43 -05:00
Allen Byrne
760685eba6 [svn-r30205] Correct name of UNSUPPORTED option 2016-07-20 09:45:55 -05:00
Allen Byrne
a621f5f668 [svn-r30204] Move CXX tests to C++ compiler test file 2016-07-20 09:45:25 -05:00
Scot Breitenfeld
304d85c3e7 [svn-r30196] HDFFV-9467: Use the same test programs for CMake and autotools
Tested: jelly (gnu)
2016-07-18 13:37:17 -05:00
Quincey Koziol
b72eff1659 [svn-r30134] Description:
Add CMake macros and detections for the "round" family of routines.

Tested on:
    Upcoming Windows daily tests
2016-07-01 22:16:20 -05:00
Scot Breitenfeld
1db1d99883 [svn-r30064] Changed configure's behavior from a warning to an error
if the available Fortran KINDs, 
or Fortran decimal precision, can not be determined.

(MSB, HDFFV-9922)
2016-06-09 15:39:17 -05:00
Quincey Koziol
2a16af5703 [svn-r30026] Description:
Remove -Wnormalized from GCC 4.x builds.

Tested on:
    elk (w/gcc 4.4.7)
    moohan (w/gcc 4.8.5)
2016-06-05 23:34:20 -05:00
Quincey Koziol
60aebe36b6 [svn-r30015] Description:
Update GNU compiler flags for 6.x release.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 18:20:48 -05:00
Scot Breitenfeld
5871eed008 [svn-r29928] HDFFV-9912:
configure fails to detect valid KINDs on FreeBSD

Added the exponential option to SELECTED_REAL_KIND to distinguish KINDs of same precision.

Tested: FredBSD, jam, platypus.
2016-05-12 16:57:08 -05:00
Allen Byrne
9494f92ae2 [svn-r29911] Fix script version ext text 2016-05-11 09:23:48 -05:00
Allen Byrne
949853b047 [svn-r29864] Add ignore test names for Valgrind process.
Add files to clear test generated files tests.
2016-05-04 10:19:34 -05:00
Dana Robinson
f50629ed52 [svn-r29793] Removed -Waggregate-return from gnu C++ flags.
This flag generates a large number of warnings and is considered obsolete
since its primary purpose seems to have been to support ancient compilers
that could not return an aggregate.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ C++
2016-04-25 11:35:40 -05:00
Larry Knox
c63f96d6e7 [svn-r29755] test/ohdr.c apply fix for HDFFV-9713 to not open test file in source with write permission.
config/linux-gnulibc1   reapply filx for HDFFV-9439 which was partially removed, probably by merge from revise_chunks branch.

Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-20 15:53:47 -05:00
Larry Knox
e2c8d94ac1 [svn-r29696] Applied fix for HDFFV-9439 to mpicc config as well as mpif90 in config/linux-gnulibc1.
Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-14 15:18:02 -05:00
Allen Byrne
8e41b14811 [svn-r29601] Cleanup case of CMake commands in tools.
Update CTestCustom file for new tests.
Add connection from HDF5_ENABLE_USING_MEMCHECKER cmake option to library define USING_MEMCHECKER.
2016-03-31 09:02:24 -05:00
Allen Byrne
d9ab44fe46 [svn-r29557] Add comments to CMake macros and do append error file
revise_chunks rev 29556
2016-03-24 10:59:00 -05:00
Dana Robinson
5a9a9e8f0e [svn-r29534] Normalization w/ revise_chunks in preparation for big merge.
tools directory

Also fixes a minor Java test output error.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-23 12:42:06 -05:00
Allen Byrne
7f8f2feaf9 [svn-r29450] Separate error compare from output compare 2016-03-16 12:35:51 -05:00
Allen Byrne
b8d2f399fd [svn-r29427] Correct name of build option in script 2016-03-15 14:47:06 -05:00
Allen Byrne
4ed758aa3d [svn-r29404] correct filename in comment 2016-03-14 13:33:12 -05:00
Allen Byrne
4c4cc0fa09 [svn-r29402] Add Java option 2016-03-14 13:12:30 -05:00
Allen Byrne
85711b31d8 [svn-r29399] HDFFV-9717: add overview section to javadocs 2016-03-14 12:51:41 -05:00
Larry Knox
5938b81835 [svn-r29382] Change LT_VERS_* to 1000, 0, 0 for HDF5 1.10.0 release. 2016-03-09 15:14:16 -05:00
Larry Knox
f5234cd194 [svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently.
Disabled auto-increment of shared object version numbers by h5vers.

Files modified:
    config/lt_vers.am
    java/src/jni/Makefile.am
    hl/src/Makefile.am
    hl/c++/src/Makefile.am
    hl/fortran/src/Makefile.am
    c++/src/Makefile.am
    bin/h5vers
    fortran/src/Makefile.am
2016-03-09 13:55:31 -05:00
Larry Knox
d380f20a0d [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted:  29341, 29326
Branch features/h5check_version was created for further development.

Files changed
     test/tcheck_version.c
     test/testcheck_version.sh.in
     src/H5public.h
     src/H5.c
     config/lt_vers.am
     bin/h5vers

Tested with h5committest.new
2016-03-08 12:49:38 -05:00
Allen Byrne
3fabbf45f0 [svn-r29348] Correct script process for options 2016-03-08 12:18:17 -05:00
Dana Robinson
a1035bd806 [svn-r29336] Removed unused variables from Fortran code.
Updated gnu Fortran flags.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ Fortran
2016-03-08 01:38:33 -05:00
Dana Robinson
b18aaf39f0 [svn-r29332] Removed -Wunreachable-code from the gnu C++ flags.
This flag generates a large number of spurious warnings in our code
so we've disabled it for now.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 22:27:46 -05:00
Albert Cheng
2c36685010 [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared library version numbers instead of the library version numbers.
bin/h5vers: 
    Changed to copy the shared lib version from lt_vers.am to H5public.h
    (Thanks to Larry who made the changes.)
config/lt_vers.am:
    cosmetic change, nothing material.

src/H5public.h:
    Changed by bin/h5vers.

src/H5.c:
    Changed H5check_version() to use shared library version for compatibility
    checking.

test/tcheck_version.c:
test/testcheck_version.sh.in:
    Changed to use shared library version numbers instead of the HDF5 library
    version numbers for testing.

Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).
2016-03-07 17:03:57 -05:00
Dana Robinson
b99b5d494e [svn-r29325] Removed -Wmissing-declarations from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 16:35:51 -05:00
Allen Byrne
53a381894e [svn-r29314] Add Java option 2016-03-07 12:25:46 -05:00
Dana Robinson
5fabfb6079 [svn-r29312] Removed -Wnonnull from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 11:58:11 -05:00
Allen Byrne
3247df1224 [svn-r29301] Update valgrind cacheinit file to match regular. 2016-03-07 08:29:12 -05:00
Allen Byrne
6e7e6bb3aa [svn-r29266] Header generation default should be OFF.
For Trunk - cacheinit.cmake should enable it ON
2016-03-04 10:22:29 -05:00
Allen Byrne
c9ea243157 [svn-r29233] Add ARGN option for soversion arguments 2016-02-29 16:07:27 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Allen Byrne
016ebfcdf2 [svn-r29198] Remove if condition for test mask situation 2016-02-24 09:55:14 -05:00
Allen Byrne
f74042d4e8 [svn-r29190] Add checking for *.err file before trying to read 2016-02-23 15:50:02 -05:00
Dana Robinson
b3df4e9c8d [svn-r29142] Updated the Intel files in config to use the new NO_SYMBOLS flags
and modified the failsafe configure flags in ibm-aix to use the
new scheme.
2016-02-17 13:15:58 -05:00
Dana Robinson
52705fa6f0 [svn-r29139] Updated PGI compiler files to set NO_SYMBOLS_CFLAGS/FCFLAGS and
moved the -s (strip symbols) option from the production flags to the
no symbols flags.

Tested on: platypus w/ PGI 15.7 (C, C++, Fortran)
2016-02-17 10:08:33 -05:00
Dana Robinson
d334af98c1 [svn-r29134] Updated config/solaris to use the latest configure option
and compiler flag scheme.

Tested on: Solaris 11.1 (emu) w/ SunPro 5.12 CC/FC/CXX
           autotools serial
2016-02-17 04:54:07 -05:00
Dana Robinson
77f2f1c132 [svn-r29131] Updated the GNU g++ compiler config file to use the new debug/
production, etc. system.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial - prod/debug w/ C++
2016-02-16 21:16:27 -05:00
Dana Robinson
ad0925c214 [svn-r29129] Added NO_SYMBOLS_CFLAGS, etc. to allow stripping symbols when
--disable-symbols is specified and to ensure that production
mode (where symbol stripping is usually a part of the FLAGS)
doesn't conflict with --enable-symbols. This will allow better
(though still limited) debugging of production/optimized code.

The PGI, XLC, Intel, and Solaris files were not modified and
do not generate the symbol removal flag at this time. They'll
be updated in future check-ins. In the meantime, production
mode on those platforms still usually strips symbols.

This check-in also updates the Cygwin-specific files to use
the new autotools FLAGS and option scheme when uncommon
(non-gnu, etc.) Fortran compilers are used.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (prod/debug w/ and w/o symbols)
           symbol presence/absence checked with objdump
2016-02-16 20:09:04 -05:00
Dana Robinson
e7c1236543 [svn-r29090] Changed "smart quotes" to ASCII ' and " in r28960 code.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools parallel (MPICH 3.1.4)
           CMake serial (CMake 3.3.2)
2016-02-11 14:37:14 -05:00
Dana Robinson
2fb4f0b35e [svn-r29023] Fixed typos in symbols flags that prevented using -g, etc.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-01 14:28:38 -05:00
Dana Robinson
1454a45826 [svn-r28996] Autotools configure updates to allow separation of build type, debug
symbols, asserts, profiling, and optimization.

Also much refactoring, improved help, and --enable-<foo> options will
now emit errors on nonsense (e.g.: --enable-foo="asdfasdf").

The libhdf5.settings.in file was also reformatted.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial and parallel autotools w/ various options
2016-01-27 16:45:23 -05:00
Dana Robinson
7abd70b809 [svn-r28990] Removed spurious BIND() warnings from Fortran.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools w/ Fortran
2016-01-27 14:12:38 -05:00
Dana Robinson
20a3462089 [svn-r28977] Added autotools g++ compiler flags/warnings file to config/
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-01-27 01:23:40 -05:00
Dana Robinson
8bbdc947c4 [svn-r28972] Removed option to clear file buffers from autotools, CMake, and library.
Buffers that will be written to disk will now always be cleared since
not doing this has huge security implications.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0, x86_64) gcc 5.2.1
           serial autotools
           parallel autotools (MPICH 3.1.4)
           serial CMake
2016-01-26 16:26:12 -05:00
Dana Robinson
8aa7c27fb7 [svn-r28963] Updated the gnu Fortran configure files to set flags when the gnu compiler
is used. The gnu-fflags file was never included.

Tested on ostrich
2016-01-23 19:34:29 -05:00
Larry Knox
0d714830a8 [svn-r28960] Fix for HDFFV-9439
Escape quotes in fortran version output to find fortran version for libhdf5.settings

Tested with buildhdf5 on platypus, ostrich, moohan and mayll.
2016-01-22 13:18:04 -05:00
Quincey Koziol
f017eb6fc0 [svn-r28777] Description:
Add --enable-memory-alloc-sanity-check option to configure, to track and
sanity check memory allocations within the library.  This is orthogonal to the
--enable-using-memchecker option and can be used with/without it.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-03 17:06:52 -05:00
HDF Tester
6d8b831b31 [svn-r28730] Snapshot version 1.9 release 233 2015-12-27 23:20:23 -05:00
Dana Robinson
f53c939bd0 [svn-r28581] Brought flock changes over from revise_chunks as well as a few
minor tweaks from H5private.h.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only, autotools and CMake (3.3.2)
2015-12-11 03:19:10 -05:00
Dana Robinson
af371007e8 [svn-r28538] Merge of r28479 from revise_chunks.
Fixes OS X compilation problems and brings some Linux symbols in
line with the Autotools when building with CMake.

Tested on: 64-bit OS X 10.11.1 El Capitan (Darwin 15.0.0)
           Xcode 7.1 Apple LLVM 7.0.0 (clang-700.1.76)
2015-12-08 15:49:12 -05:00
Dana Robinson
8de50ab664 [svn-r28463] Merge of -r28460 from revise_chunks. Removes -std=c99 from
C++ flags under CMake.

Tested on: Ubuntu 15.10 (x86_64 Linux 4.2.0)
    gcc 5.2.1, CMake 3.3.2
2015-11-24 14:29:21 -05:00
Allen Byrne
54aa68df1a [svn-r28403] Update to include cdash submit options 2015-11-19 13:32:41 -05:00
Jerome Soumagne
7791549252 [svn-r28188] Fix inline/__inline__/__inline detection with CMake after autotools changes 2015-10-22 11:23:01 -05:00
Allen Byrne
37ed7e8b5f [svn-r28184] correct import targets 2015-10-22 10:47:29 -05:00
Allen Byrne
aa4284b2a3 [svn-r28174] HDFFV-9550: Add VS2015 fix for timezone. 2015-10-21 16:22:06 -05:00
Allen Byrne
7d34c32445 [svn-r28160] Update comment about VS versions 2015-10-21 11:28:17 -05:00
Allen Byrne
78c820b1ee [svn-r28158] Merge from CMAMKE_EXT_MOD repo.
Add VS2015 support.
2015-10-21 10:44:41 -05:00
Allen Byrne
83d7feb63c [svn-r28154] Correct define vs variable usage 2015-10-20 17:13:26 -05:00
Allen Byrne
6a6e921d2f [svn-r28152] Correct define vs variable usage
Add VS2015
2015-10-20 17:11:10 -05:00
Allen Byrne
01a198ac1b [svn-r28148] Correct define vs variable usage 2015-10-20 16:13:45 -05:00
Allen Byrne
84c4dc0039 [svn-r28147] Correct define vs variable usage 2015-10-20 16:09:27 -05:00
Allen Byrne
1bf086b080 [svn-r28145] Correct define vs variable usage 2015-10-20 16:01:07 -05:00
Jerome Soumagne
2094d86461 [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly and fix misuse of hbool_t in various places

Fix initialization of H5Pgcpl/ocpl structs in property decoding routines

Tested on:
    Linux/32 (jam)
    Linux/64 (platypus)
    Linux/PPC64 (ostrich)
    MacOSX/64 10.11
2015-10-20 01:28:17 -05:00
Jerome Soumagne
a9da5b8cc5 [svn-r28131] Cleanup cmake output of HDF5UseFortran 2015-10-19 15:32:49 -05:00
Allen Byrne
eca1bd1d8b [svn-r28130] Updated scripts 2015-10-19 14:20:04 -05:00
Jerome Soumagne
0be7b0d524 [svn-r28113] A few warning fixes in cmake conversion tests 2015-10-16 17:01:51 -05:00
Jerome Soumagne
60cdc22cd3 [svn-r28112] CMake check for gettimeofday if not on windows 2015-10-16 17:01:24 -05:00
Allen Byrne
86f450c240 [svn-r28089] Need to set a variable for matching install config names. 2015-10-15 14:58:41 -05:00
Allen Byrne
58db7babe4 [svn-r27973] Update to new style usage 2015-10-06 13:48:50 -05:00
Elena Pourmal
d0babe88da [svn-r27968] Modified version number to 1.9.233 before creating a tar ball for DLS. 2015-10-06 12:03:41 -05:00
Allen Byrne
f0adeb1cdd [svn-r27937] fix case 2015-10-02 15:08:54 -05:00
Allen Byrne
af5c2697a1 [svn-r27933] Cmake 3.3 allowed execute_process to merge output and error files if the filename or the variable were the same.
Changed instances to make the outpu_variable different.
2015-10-02 12:55:08 -05:00
Allen Byrne
e8073c0d80 [svn-r27910] Rework flex-bison generated files to eliminate dual depends when building both shared and static 2015-09-29 12:23:55 -05:00
Allen Byrne
179d122d59 [svn-r27904] Correct missing target name chars 2015-09-28 15:43:25 -05:00
Allen Byrne
431c69474c [svn-r27903] Add extra line for replacement from revision 27898 2015-09-28 15:23:46 -05:00