Only include and run Subfiling example when Subfiling is enabled (#1991)

This commit is contained in:
jhendersonHDF 2022-08-10 16:20:28 -05:00 committed by GitHub
parent 174505ca3c
commit a3e37c587b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -47,8 +47,11 @@ if (H5_HAVE_PARALLEL)
ph5example
ph5_filtered_writes
ph5_filtered_writes_no_sel
ph5_subfiling
)
if (HDF5_ENABLE_SUBFILING_VFD)
list (APPEND parallel_examples ph5_subfiling)
endif ()
endif ()
foreach (example ${examples})

View File

@ -20,7 +20,12 @@
include $(top_srcdir)/config/commence.am
if BUILD_PARALLEL_CONDITIONAL
EXAMPLE_PROG_PARA = ph5example ph5_filtered_writes ph5_filtered_writes_no_sel ph5_subfiling
EXAMPLE_PROG_PARA = ph5example ph5_filtered_writes ph5_filtered_writes_no_sel
if SUBFILING_VFD_CONDITIONAL
EXAMPLE_PROG_PARA += ph5_subfiling
endif
endif
INSTALL_SCRIPT_FILES = run-c-ex.sh