diff options
Diffstat (limited to 'benchmarks/ior/files')
-rw-r--r-- | benchmarks/ior/files/patch-configure.ac | 11 | ||||
-rw-r--r-- | benchmarks/ior/files/patch-src_utilities.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/ior/files/patch-configure.ac b/benchmarks/ior/files/patch-configure.ac new file mode 100644 index 000000000000..aef9a0ddc960 --- /dev/null +++ b/benchmarks/ior/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2023-01-20 07:54:41 UTC ++++ configure.ac +@@ -145,7 +145,7 @@ AM_COND_IF([HAVE_GPU_DIRECT],[ + # Check for system capabilities + AC_SYS_LARGEFILE + +-AC_DEFINE([_XOPEN_SOURCE], [700], [C99 compatibility]) ++#AC_DEFINE([_XOPEN_SOURCE], [700], [C99 compatibility]) + + # Check for lustre availability + AC_ARG_WITH([lustre], diff --git a/benchmarks/ior/files/patch-src_utilities.c b/benchmarks/ior/files/patch-src_utilities.c new file mode 100644 index 000000000000..bfc5e99e8b8c --- /dev/null +++ b/benchmarks/ior/files/patch-src_utilities.c @@ -0,0 +1,11 @@ +--- src/utilities.c.orig 2023-01-20 07:46:47 UTC ++++ src/utilities.c +@@ -45,7 +45,7 @@ + # include <regex.h> + # ifdef __sun /* SunOS does not support statfs(), instead uses statvfs() */ + # include <sys/statvfs.h> +-# elif (defined __APPLE__) ++# elif (defined __APPLE__) || (defined __FreeBSD__) + # include <sys/param.h> + # include <sys/mount.h> + # else /* ! __sun or __APPLE__ */ |