summaryrefslogtreecommitdiffstats
path: root/examples/run-c-ex.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* Apparently, + has no special meaning, and neither does \+, in so-calledDavid Young2019-11-121-1/+1
| | | | | | | | "obsolete" / POSIX "basic" regular expressions. Also, not every version of `sed` out there supports the `-E` option. So delete the -E flag and use the regex `[^/][^/]*` instead of `[^/]+`. Add config/netbsd to the MANIFEST.
* Merge pull request #1984 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to developDavid Young2019-11-051-3/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0b721858e46a317c370a24115032d5be41688f67': Make these scripts relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Get the path to prefix right: needs a ../ to back out of subdirectory c/. Make this script relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Let us override the examples directory using --with-examplesdir=DIR. This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Follow longstanding execv convention for compatibility with NetBSD. Under the examples directories, always find the installed HDF5 executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Make the HDF5 configure script grok NetBSD. For portability, insulate the HDF5 library from some system macros. Not every system has perl installed in /usr/bin/, so change the shebang (#!) line to `/usr/bin/env perl` to locate perl on the PATH. For portability, use the POSIX sh(1) string-comparison operator `=` instead of `==`.
| * Get the path to prefix right: needs a ../ to back out of subdirectoryDavid Young2019-11-051-1/+1
| | | | | | | | c/.
| * Make this script relocatable again: derive a relative path for theDavid Young2019-11-051-2/+25
| | | | | | | | | | | | | | original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived.
| * Let us override the examples directory using --with-examplesdir=DIR.David Young2019-10-031-1/+1
| | | | | | | | | | | | | | | | | | This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Place hdf5_examples/ under ${datarootdir} which on most systems will be ${prefix}/share/, anyway.
| * Under the examples directories, always find the installed HDF5David Young2019-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Examples on NetBSD are installed at ${prefix}/share/examples/hdf5/ instead of at ${prefix}/share/hdf5_examples/, by convention. It may be the same on other BSDs, I'm not sure.
* | Add new H5R API that abstracts object, region and attribute reference typesJerome Soumagne2019-10-081-4/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also support references to external files Add new H5T_REF type and type conversion routines Support conversion from H5T_REF_OBJ/DSET_REG to H5T_REF Add H5Treclaim() API to reclaim memory of vlen/reference types Deprecate H5Dvlen_reclaim() Fix H5T_vlen_reclaim() and H5T_reclaim() to use private callback Add H5T_ref_reclaim() Move previous H5R APIs to H5Rdeprec.c Clean up H5Ocopy Separate H5O_copy_expand_ref() to H5Ocopy_ref() Add support for copying new reference types Clean up deprecated routines to go through VOL and same code path Fix return codes in existing trefer.c test Rename trefer.c to trefer_deprec.c trefer.c is for new references Add performance test for trefer Add additional obj_copy_ref test Make use of tokens and blobs to store references Skip blob encoding for object references Start adding new reference examples
* Remove reference to h5_vol_external_log_native.Quincey Koziol2018-12-061-3/+1
|
* Fixed warnings in the VOL example and run it from the script.Dana Robinson2018-10-211-1/+3
|
* Change prefix in example scripts to relative path to bin. This was doneLarry Knox2018-08-231-1/+1
| | | | | for 1.8, and works wherever installed without the need to replace the original prefix.
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* [svn-r27025] Enabled compilation and run for the new vds examples for "make ↵Elena Pourmal2015-05-051-0/+4
| | | | installcheck"; added to MANIFET.
* [svn-r26781] Merge revisions 26305 through 26780 from trunk to vds branch.Neil Fortner2015-04-101-1/+1
|\ | | | | | | Tested: ummon
| * [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and ↵Larry Knox2015-04-021-1/+1
| | | | | | | | | | | | | | | | redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure. Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths. Tested with h5committest.
* | [svn-r26564] Modified related files after adding example/h5_vds-percival.cElena Pourmal2015-03-241-0/+2
| | | | | | | | Tested on jam.
* | [svn-r26420] Added new example for simple I/O. Modified other examples ↵Elena Pourmal2015-03-101-3/+5
| | | | | | | | according to the suggestion in H5VDS-7 (see VDS-178)
* | [svn-r26376] Added new examples for fixed-size Excalibur and for Eiger use ↵Elena Pourmal2015-03-051-0/+4
| | | | | | | | | | | | cases. Fixed several typos. Tested on jam.
* | [svn-r26359] Added h5_vds-exc.c to misc. files and ran bin/reconfigure.Elena Pourmal2015-03-041-2/+4
| | | | | | | | Tested on jam.
* | [svn-r26268] Added VDS example.Elena Pourmal2015-02-221-1/+3
|/ | | | | | | I ran bin/reconfigure on jam and it modified test/Makefile.in. May be Neil fixed Makefile.am, but didn't run reconfigure? Tested on jam.
* [svn-r23091] Changed C examples to reflect changes in documentation via Barbara;Scot Breitenfeld2012-12-121-1/+19
| | | | | | mainly program additions from tutorial. Tested: jam (gnu compilers)
* [svn-r22170] Removed extraneous svn executable properties from ↵Dana Robinson2012-03-281-0/+0
| | | | non-executable files.
* [svn-r20720] Merge changes to scripts to run installed examples from hdf5 ↵Larry Knox2011-05-041-2/+2
| | | | | | | 1.8.7 r 20718. The default prefix in the scripts will use the compile scripts in the installed bin directory.
* [svn-r20482] Larry Knox2011-04-121-4/+19
| | | | | | | | | | | | | | | | Fixed issue HDFFV-5866 (BZ 2156). Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default. Removed issue from known problems section of RELEASE.txt. Tested with Cygwin 1.7.8 on Windows 7. This line, and those below, will be ignored-- M release_docs/RELEASE.txt M hl/c++/examples/run-hlc++-ex.sh.in M hl/fortran/examples/run-hlfortran-ex.sh.in M hl/examples/run-hlc-ex.sh.in M c++/examples/run-c++-ex.sh.in M fortran/examples/run-fortran-ex.sh.in M examples/run-c-ex.sh.in
* [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from ↵Larry Knox2010-10-041-1/+2
| | | | | | branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs. Tested on amani, heiwa and jam by h5committest and with CYGWIN.
* [svn-r19059] Brought changes from hdf5_1_8 to add version information for ↵Larry Knox2010-07-091-0/+108
fortran and c++ compilers in libhdf5.settings file and configure output (r18836), to install examples as part of make install (r18680), and to provide scripts to compile and run the examples after they are installed (r18817). Tested with new/h5committest on amani, heiwa, and jam.