Commit Graph

1359 Commits

Author SHA1 Message Date
Allen Byrne
229033fea6 Update cmake build scripts, split out options to seprate file 2017-02-17 11:37:43 -06:00
Allen Byrne
08b5edca0b Fix parallel h5diff test comapare 2017-02-14 14:59:57 -06:00
Allen Byrne
00cd884aed Convert string APPEND to set commands 2017-02-14 12:12:32 -06:00
Allen Byrne
05059545d7 HDFFV-9875 Add new PDB folder 2017-02-06 12:43:32 -06:00
Allen Byrne
d1292691c4 HDFFV-9875 enable static pdb and cleanup exports 2017-02-03 12:41:30 -06:00
Allen Byrne
750df40ffb HDFFV-9875 Fix typo 2017-02-02 15:49:21 -06:00
Allen Byrne
fb587185a2 HDFFV-9875 Change test for shared libs 2017-02-02 14:58:53 -06:00
Allen Byrne
b477d8142a HDFFV-9875 Remove compile pdb references 2017-02-02 13:47:39 -06:00
Allen Byrne
177c050891 HDFFV-9875 Fix target exports and add static tools pdb files 2017-02-02 12:09:10 -06:00
Allen Byrne
3c169f9473 HDFFV-10123 Use generator expression 2017-02-01 13:30:09 -06:00
Allen Byrne
7b85399dff HDFFV-10123 Add SHARED tools 2017-02-01 11:15:38 -06:00
Allen Byrne
110073450f Add unused -parameters to developer group. 2017-01-13 13:55:24 -06:00
Allen Byrne
8ad55c1775 Add addition hint info about option 2017-01-13 13:00:44 -06:00
Allen Byrne
0f10dedc6e Correct variable name 2017-01-12 17:09:56 -06:00
Allen Byrne
6616131ce2 Update developer flags to account for gcc version 2017-01-12 14:00:50 -06:00
Allen Byrne
f72c95209c Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '089afc48561ba8838d6a515c6b00fc6f7032ca13':
  Updated the developer flags so that they respect gcc versions.
  Description:     Added data files from the packet table vlen tests to the     CHECK_CLEANFILES list. Platforms tested:     Linux/64 (jelly)
2017-01-12 13:40:34 -06:00
Allen Byrne
5d09c3d28d Move Windows level 4 warnings to developer option 2017-01-12 12:41:50 -06:00
Dana Robinson
06570cd167 Updated the developer flags so that they respect gcc versions. 2017-01-12 12:40:28 -06:00
Allen Byrne
a03ab619d7 Changed severity of message state 2017-01-12 11:54:31 -06:00
Allen Byrne
ee485247b7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '8b4c9f848d63351c85cab3a5b2034f8e7e1a29db':
  h5format_convert was not built (missing from subdirs in tools/src and         tools/test Makefile.ams) but created dependencies that were not cleaned up by make clean and make distclean.
  Create h5repack convenience library for common code used by h5repack tool and h5repacktst.  Fixes broken distclean.
  Added an --enable-developer-warnings option to configure so users can ignore -Wsuggest-attribute warnings and other noise that doesn't indicate poor code quality.
2017-01-11 14:24:09 -06:00
Allen Byrne
7fb991e8ed CMake command cleanup 2017-01-11 14:17:21 -06:00
Allen Byrne
244faaa0d0 HDFFV-10094: upgrade cmake command conventions
Also converted tests to use macros
2017-01-11 14:02:34 -06:00
Allen Byrne
e1bcae8a6a Update cmake min version and cmake command convention 2017-01-10 17:10:03 -06:00
Dana Robinson
e6a12a3fea Added an --enable-developer-warnings option to configure so
users can ignore -Wsuggest-attribute warnings and other
noise that doesn't indicate poor code quality.
2017-01-10 13:49:49 -05:00
Quincey Koziol
57afb68e46 Bring SWMR-related tools changes from revise_chunks to develop. 2016-12-11 11:25:08 -08:00
derobins
1c5029f21b Updated the icc flags (C flags only). 2016-12-02 17:38:55 -06:00
Allen Byrne
c2e60909e3 Add test to memcheck ignore and increase cache test timeout 2016-11-22 15:04:34 -06:00
Allen Byrne
e40faaa8fb Update installdir format for windows 2016-11-10 12:22:11 -06:00
Allen Byrne
0f94a43c46 Update with changes from buildbot process 2016-10-27 14:23:38 -05:00
Allen Byrne
1c3b006651 Remove duplicate block 2016-10-27 14:13:04 -05:00
Allen Byrne
1bf4544a2e Update with latest changes used in buildbot process 2016-10-27 13:55:27 -05:00
Allen Byrne
b96f0bc9ed Add new file to ignore 2016-10-27 10:14:31 -05:00
Allen Byrne
9ccadb2e6d Correct text - missing GIT option 2016-10-14 13:57:47 -05:00
Allen Byrne
3ee36553b9 Add support for namespace and add tools to binaries config 2016-10-14 11:22:22 -05:00
Allen Byrne
4cb4a78179 Merge from master cmake_conf project 2016-10-07 10:22:02 -05:00
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