only install those hdf5 utils that we find/could build

Create issue
Issue #1264 closed
Roland Haas created an issue

the attached patch only tries to install those hdf5 utilities that were eihter build by us or can be found in HDF5_DIR/bin since eg. a sytem package provides them.

This helps with users that use the system provided hdf5 package but do not install the hdf5-tools package (package names are debian names).

Keyword: HDF5

Comments (6)

  1. Erik Schnetter
    • removed comment

    The first half of the patch is fine. Instead of a wildcard expansion, you can also call "ls" with the respective file names, ignore errors, and this will then output only those files that exist.

    The second half of the patch is also interesting. However, I suggest to use the "done" file to store options instead of creating a new "options" file. The "done" file would then contain a fingerprint of the current installation, and changes to this fingerprint would cause a rebuild.

  2. Roland Haas reporter
    • removed comment

    updated patch for first half. Second half will appear eventually in 1017.

  3. Log in to comment