From 30c4becc1dc04915e375d96fd57d3eab2771329b Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:03:41 +0200 Subject: [PATCH] Bump ucx to 1.16.0 - Use aliBuild system requirement checks rather than polluting the recipe. --- ucx.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/ucx.sh b/ucx.sh index a5faaf7e9e..abcd0c8b4a 100644 --- a/ucx.sh +++ b/ucx.sh @@ -1,6 +1,6 @@ package: ucx version: "%(tag_basename)s" -tag: v1.13.1 +tag: v1.16.0 requires: - "GCC-Toolchain:(?!osx)" build_requires: @@ -8,17 +8,16 @@ build_requires: - alibuild-recipe-tools - "GCC-Toolchain:(?!osx)" source: https://github.com/openucx/ucx +system_requirement_missing: | + rdma-core not found. + * On RHEL-compatible systems you probably need: rdma-core-devel +system_requirement: ".*" +system_requirement_check: | + printf "#include " | cc -xc - -c -o /dev/null --- -#!/bin/bash -e - # Unified Communication X Library (linux only) ## NOTE: rdma-core and rdma-core-devel (v35+) packages must be installed for O2 FLP/EPN use - -printf "#include " | cc -xc - -c -o /dev/null || -( printf "rdma-core not found.\n * On RHEL-compatible systems you probably need: rdma-core-devel\n"; exit 1; ) - -rsync -a --delete --exclude "**/.git" ${SOURCEDIR}/ . -./autogen.sh +${SOURCEDIR}/autogen.sh ./contrib/configure-release-mt --prefix=${INSTALLROOT} \ --with-verbs \ --with-rdmacm \