From a98a4b31995326a6ee4c5886e05b66c27832dc39 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 8 Apr 2018 07:10:28 +0200 Subject: [PATCH] libhdf5: limit to aarch64 for now ... until we have the output of H5make_libsettings and H5detect for other architectures. --- packages/libhdf5/build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/libhdf5/build.sh b/packages/libhdf5/build.sh index a44099b11..40f4b19e0 100755 --- a/packages/libhdf5/build.sh +++ b/packages/libhdf5/build.sh @@ -9,15 +9,17 @@ TERMUX_PKG_SRCURL=https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${_HDF5_MA TERMUX_PKG_DEPENDS="libzopfli" TERMUX_PKG_FORCE_CMAKE=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-C$TERMUX_PKG_BUILDER_DIR/aarch64/TryRunResults_out.cmake " +TERMUX_PKG_BLACKLISTED_ARCHES="arm,686,x86_64" + termux_step_pre_configure () { - cp $TERMUX_PKG_BUILDER_DIR/aarch64/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/ + cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/ mkdir -p $TERMUX_PKG_BUILDDIR/shared/ - cp $TERMUX_PKG_BUILDER_DIR/aarch64/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/ + cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/ } termux_step_post_configure () { - cp $TERMUX_PKG_BUILDER_DIR/aarch64/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/ + cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/ } termux_step_post_make_install() {