From 46f983b9ae75abff045c3144a9d36fec1d3d08fc Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 7 Sep 2021 14:45:18 +0200 Subject: [PATCH] Update build-all.py --- nix/build-all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index a697913fdb..8c5b0b7ada 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -500,13 +500,14 @@ os.environ["LDFLAGS"] = LDFLAGS if 'hdf5' in targets: HDF5_MAJOR=".".join(HDF5_VERSION.split(".")[:-1]) + get_os_result = get_os() build_dependency( name="hdf5-{HDF5_VERSION}".format(**locals()), mode="ctest", build_tool_args=[], download_url="https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-{HDF5_MAJOR}/hdf5-{HDF5_VERSION}/src/".format(**locals()), download_name="CMake-hdf5-{HDF5_VERSION}.tar.gz".format(**locals()), - ctest_result="HDF5-{HDF5_VERSION}-Linux".format(**locals()), + ctest_result="HDF5-{HDF5_VERSION}-{get_os_result}".format(**locals()), ctest_result_path="HDF_Group/HDF5/{HDF5_VERSION}".format(**locals()) )