Commit Graph

47 Commits

Author SHA1 Message Date
Allen Byrne
ca4db46c5a
Deprecate bin/cmakehdf5 (#4127)
* Deprecate bin/cmakehdf5

* Add reference text
2024-03-13 08:02:47 -07:00
Dana Robinson
fd933f30b1
Remove programmer/date from comments (#3210)
* Removes Programmer: and Date: fields
* Fixes a few Modifications: fields leftover from previous work
2023-06-29 12:13:29 -07:00
H. Joe Lee
10093f7c43
Fix path to libhdf5.settings in cmakehdf5 (#3140) 2023-06-15 21:46:33 -07:00
mattjala
966d7e1055
Add java options to build scripts (#3127)
* Add java options to build scripts

Previously, cmakehdf5 turned on compiling of the java interface
by default due to a value set in cacheinit.cmake.

Now, consistent with how Fortran and CPP interfaces are handled,
the script overwrites this default value to disable the libraries,
fixing #2958.

I also implemented the --enable-java/--disable java options for
cmakehdf5, and -java for buildhdf5.

Allen said these scripts should mention that
compilers are to be specified in environment variables, but missing
compilers causes errors at the CMake level, and
CMake's error messages are already pretty informative (See the one
in #2958 about JAVA_COMPILER).
2023-06-15 10:20:10 -07:00
Scot Breitenfeld
f859cb732b
Fixed Spelling Errors (#1166)
* fixed missed closing of a dataset

* fixed missed closing of a dataset

* fixed typo in error return

* Committing clang-format changes

* minor edits

* code format

* Committing clang-format changes

* code format

* minor edit

* switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging

* Committing clang-format changes

* changed size_i in printf to reflect the I/O.

* Committing clang-format changes

* Fixed seg fault with xlf on BE with -qintsize=8

* fixed error function string

* spelling corrections via codespell, added new spell check github actions

* Committing clang-format changes

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* misc

* Committing clang-format changes

* misc

* misc

* misc

* misc

* misc

* misc

* Committing clang-format changes

* misc

* work around for https://github.com/codespell-project/codespell/issues/2137

* misc

* added missing file

* misc

* misc.

* misc

* switch to using Codespell with GitHub Actions

* misc.

* misc.

* fixed more sp errors

* Fix new typos found by codespell.

* fixed proceed with precede

* fixed variable in fortran test

* fixed minnum

* updated spelling list

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2021-12-07 08:27:29 -06:00
Larry Knox
77fa93e07b Add cmakehdf5 command line option to turn on shell script testing.
Option is on by default but can be disabled with --disable-shell-testing.
2018-07-19 09:49:32 -05:00
Dana Robinson
710d1caf54 [svn-r29531] Normalization w/ revise_chunks in preparation for big merge.
hl and bin directories

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-23 11:50:42 -05:00
Albert Cheng
8ca4c2f44b [svn-r28949] HDFFV-9660: add an option to enable threadsafe feature in cmakehdf5
Tested: platypus.

There are still something strange messages during the configure step.
Waiting for Allen to response.
2016-01-21 17:11:25 -05:00
Albert Cheng
67570ce476 [svn-r28853] HDFFV-9649: cmakehdf5 needs a proper implementation to verify the installation images created for Mac OSX.
The current implementation for Mac OSX platform is a kludge that sometimes left behind mounted volumes.
Temporary screen out the checking of installtion_check step (so that daily test may pass).

Tested: by hand running cmakehdf5 in platypus and osx1010test.
2016-01-11 11:16:38 -05:00
Albert Cheng
74fbe507ae [svn-r28841] indentations were messed up by some previous commit.
Restored them to more readable spacing. No code change.

Test: visual inspection.
2016-01-07 15:27:37 -05:00
Albert Cheng
322816c966 [svn-r28638] HDFFV-9273: cmakehdf5 --script failed in linux platypus
Solution: remove --script option from cmakehdf5.

Tested: platypus
2015-12-14 12:42:26 -05:00
Albert Cheng
bb2cdb9283 [svn-r28563] HDFFV-9612: added ability to run multiple make commands.
Added --njobs option to special number of jobs (-j N) to allow multiple
commands during build (cmamke) and testing (ctest).

Tested: platypus.
2015-12-10 18:01:27 -05:00
Allen Byrne
893d5a4e7a [svn-r28371] Update script mode order of commands 2015-11-17 09:07:51 -05:00
Albert Cheng
3bdc5d7aa4 [svn-r28342] DAILYTEST-195: Osx1010test has culmulated a lot of mounted volumes from cmakehdf5
installation.

Tried to find out what went wrong but all output files were deleted already.
Added a verbose option to display all cmake process output in order to see what
might have gone wrong. Default is on.

Using --disable-verbose will turn it off.

Tested: osx1010dev, osx1010test, playtypus.
2015-11-13 17:22:41 -05:00
Albert Cheng
0e4ee6d829 [svn-r27836] HDFFV-8932: added option --with-szlib to support szip library support.
Tested: platypus 32 or 64bit, with or without zlib.
2015-09-20 23:59:43 -05:00
Albert Cheng
809dcb5c8e [svn-r27831] HDF5-0: Removed enable-fortran2003 which is no longer needed.
HDFFV-8932: added option to specify which zlib to use.

Tested: platypus 32 or 64bit, with or without zlib.
2015-09-18 17:59:24 -05:00
Albert Cheng
9fc7e89a09 [svn-r26929] Added support for shared lib and zlib.
Tested: linux (jam), Mac (osx1010dev)
2015-04-27 05:10:07 -05:00
Albert Cheng
ceff4fe58f [svn-r26926] Fixed previous typo in the installation of DMG file.
Tested: osx1010dev
2015-04-27 03:15:17 -05:00
Albert Cheng
28f355e81e [svn-r26925] Added method to install the Mac OSX DMG file by line commands.
Group all install method into a function call for easier maintenance.

Tested: Linux (jam, platypus), Mac (osx1010dev)
2015-04-27 02:52:37 -05:00
Albert Cheng
34a1da1731 [svn-r26857] Bugs:
The configure summary (libhdf5.settings) was missing from the configure output.

Solution:
Append the configure summary to the configure logfile if configure succeeds.

Tested:
hand ran cmakehdf5 in jam and inspected the logfile.
2015-04-20 19:25:56 -05:00
Albert Cheng
abad30a44d [svn-r26712] Bug fix: cmakehdf5 broken because zlib is no longer configure in by default.
That broke the testings as some testfiles have zlib compressed datasets.

Added options control to enable the linking of zlib external libarary by
default and turn off the szip library linking as szip library may not be
avaiable. This matches the established settings.

Tested: run cmakehdf5 by hand in jam and platypus.
Also tested in wren but it failed in the testing stage.
Also tried "cmakehdf5 --script" in jam. It failed.
2015-04-02 17:36:46 -05:00
Albert Cheng
f207efd6f3 [svn-r26671] Since cmake always redoes everything from start, I change the logfiles to
start fresh everytime.

Tested: platypus
2015-03-30 23:30:58 -05:00
Albert Cheng
88f8a3c11f [svn-r26662] added option to configure support for fortran2003 API.
--enable-fortran2003 | --disable-fortran2003:
  enable or disable fortran2003 API. Default is off.

Tested: by hand in platypus.
2015-03-30 14:32:31 -05:00
Allen Byrne
73bb11dda3 [svn-r26208] Update cmake minimums 2015-02-18 11:56:22 -05:00
Albert Cheng
609636acaa [svn-r25876] DAILYTEST-31: Fix cmakehdf5 for Daily Test use
Fix cmakehdf5 so that it can figure out where the source directory is.
It expects cmakehdf5 itself resides at $srcdir/bin/cmamkehdf5.

Tested: Jam by invoking cmakehdf4 with different paths.
2014-12-09 19:51:29 -05:00
Albert Cheng
b3852a9f1e [svn-r25870] HDFFV-8932: configure options added to enable or disable the building of
different language API's and testings. See "cmakehdf5 --help" for details.

Tested: jam using different combinations of option and verified correctness
by inspeacting libhdf5.settings output.
2014-12-09 17:03:39 -05:00
Allen Byrne
429dce1736 [svn-r25740] HDFFV-8953: remove svn url references 2014-10-27 13:30:50 -05:00
Albert Cheng
a65212ed9f [svn-r25694] HDFFV-8932:
added Fortran interface to the default build.

Tested: jam, koala, platypus
2014-10-13 00:51:00 -05:00
Albert Cheng
9a074a6679 [svn-r25685] HDFFV-8932:
added C++ and High level interface to the default build.

Tested: jam, koala, platypus
2014-10-09 07:42:21 -05:00
Allen Byrne
98bbf4a36a [svn-r24948] Group tests by Common name
Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32

Tested: local linux CMake
2014-04-02 13:35:01 -05:00
Allen Byrne
a3292a77ce [svn-r24781] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Remove INCLUDE_DIRECTORIES in src for target level includes.
Change ADD_DEFINITIONS package debug defines into CMake option.
Remove -DNDEBUG
2014-03-11 16:14:57 -05:00
Albert Cheng
f30276c462 [svn-r24617] Changed --old to --script as directed by Allen.
Tested: jam (only verify help message is correct and --script is invoked
correctly.)
2014-01-07 14:31:02 -05:00
Albert Cheng
0a128b20a6 [svn-r24604] Feature: HDFFV-8336
Changed to use the quick steps described in INSTALL_CMake.txt.
Previous version is available by --old.
Added a help page to explain how to use.
Added a fix to figure out the current HDF5 version and use that to find the
correct file for install. (Still need to figure out the platform name.)

Tested: Jam and Koala
2014-01-01 13:31:36 -05:00
Allen Byrne
9d05904ae0 [svn-r24253] Add var for install file 2013-10-02 16:51:01 -05:00
Allen Byrne
738f1f0bd6 [svn-r24252] add log vars 2013-10-02 16:38:25 -05:00
Allen Byrne
80ff6d8fee [svn-r24251] Add packaging to process 2013-10-02 15:42:58 -05:00
Allen Byrne
8b2f7c2183 [svn-r24003] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive).
Updated CDash site name in cmake script.
2013-08-13 12:50:56 -05:00
Allen Byrne
52d1190883 [svn-r23449] Update script for reporting errors from configure, build, test.
Tested: jam
2013-03-25 14:22:10 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
Albert Cheng
cf1821d116 [svn-r23197] prints out what and where the log files are.
Set it NOT to submit result to the CDASH.
2013-01-23 18:22:39 -05:00
Albert Cheng
629b737016 [svn-r23167] Removed the working in Jam only statement since it works for all THG unix
platforms except Linew (SunOS).
2013-01-16 11:08:38 -05:00
Allen Byrne
93bdf382dc [svn-r23133] Force static builds on MAC machines 2013-01-03 16:44:43 -05:00
Allen Byrne
0c50bcd929 [svn-r23131] Correct missing command name 2013-01-02 13:12:29 -05:00
Allen Byrne
55e0df638b [svn-r23127] Add MAC options to script in IF(APPLE) block. 2013-01-02 12:01:06 -05:00
Albert Cheng
8d5525df85 [svn-r23120] Removed -VV from the ctest command line so that it does not send debug output
to the standout.  This keeps command output terse and easier to tell if it
passes or not.

Added time stamps printing.
Added exit code and command executation summary.

All these will make it easier for user to tell if the command succeeds or not.

Tested: {jam,koala,ostrich} all passed. {Linew,fred,duck,owl} failed.
The failure is the cmake process, not cmakehdf5 itself.
2012-12-27 16:04:50 -05:00
Allen Byrne
357d94328c [svn-r23114] remove "AT-" from buildname 2012-12-20 10:39:37 -05:00
Albert Cheng
8dd246fb2c [svn-r23094] cmakehdf5 is a build command script similar to buildhdf5.
This is an initial implementation and is known to work in
Jam only. More porting is in progress.

Tested: Jam
2012-12-12 14:37:20 -05:00