summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-13 15:16:41 (GMT)
committerGitHub <noreply@github.com>2023-06-13 15:16:41 (GMT)
commitd4605919f970e2f84d00d802f1b01db1b98fafc6 (patch)
treee6699bf07edd54ceacf5741941c327d497b2e29f /bin
parent9e7e2f8b8edc868b50e6d004f37ce1a2bf9da3f9 (diff)
downloadhdf5-d4605919f970e2f84d00d802f1b01db1b98fafc6.zip
hdf5-d4605919f970e2f84d00d802f1b01db1b98fafc6.tar.gz
hdf5-d4605919f970e2f84d00d802f1b01db1b98fafc6.tar.bz2
Remove H5detect and H5make_libsettings (#3104)
Removes H5detect and H5make_libsettings from the build and replaces their functionality with things that don't affect cross-compiling. H5detect --> floating-point types are now detected on library load H5make_libsettings --> Moved functionality to a new H5build_settings.c template file
Diffstat (limited to 'bin')
-rw-r--r--bin/batch/knl_H5detect.sl.in.cmake20
-rwxr-xr-xbin/checkposix6
2 files changed, 1 insertions, 25 deletions
diff --git a/bin/batch/knl_H5detect.sl.in.cmake b/bin/batch/knl_H5detect.sl.in.cmake
deleted file mode 100644
index 39a3ef3..0000000
--- a/bin/batch/knl_H5detect.sl.in.cmake
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-#SBATCH -p knl -C quad
-#SBATCH --nodes=1
-#SBATCH -t 00:10:00
-#SBATCH --mail-type=BEGIN,END,FAIL
-#SBATCH --mail-user=<username>@sandia.gov
-#SBATCH --export=ALL
-#SBATCH --job-name=knl_h5detect
-
-
-# Inputs: Build directory, output file name, executable file name (username/email if available).
-PROGNAME=H5detect
-OUTPUT=H5Tinit.c
-
-CMD="@HDF5_BINARY_DIR@/bin/${PROGNAME} @HDF5_GENERATED_SOURCE_DIR@/${OUTPUT}"
-echo "Run $CMD"
-srun -n 1 $CMD
-echo "Done running $CMD"
-
diff --git a/bin/checkposix b/bin/checkposix
index bb6b81b..4daa0e0 100755
--- a/bin/checkposix
+++ b/bin/checkposix
@@ -37,17 +37,13 @@ foreach $arg (@ARGV) {
# Skip files that don't include H5private.h
# H5system. has to be inspected by hand since it wraps POSIX files
#
- # H5detect and H5make_libsettings are created before the library exists
- # so calls that link to function replacements won't work. We'll ignore
- # it here.
- #
# If a user specifies one file, process it no matter what so people
# can inspect files we normally skip (like H5system.c).
$ignore = 0;
# Ignored files in src/
- if($#ARGV gt 0 and $filename =~ /H5FDmulti|H5FDstdio|H5VLpassthru|H5system|H5detect|H5make_libsettings/) {
+ if($#ARGV gt 0 and $filename =~ /H5FDmulti|H5FDstdio|H5VLpassthru|H5system/) {
$ignore = 1;
}
# Ignored atomic test files in test/