Skip to content

Commit

Permalink
Bump ucx to 1.16.0
Browse files Browse the repository at this point in the history
- Use aliBuild system requirement checks rather than polluting the recipe.
  • Loading branch information
ktf committed Apr 30, 2024
1 parent fc03858 commit 30c4bec
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions ucx.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
package: ucx
version: "%(tag_basename)s"
tag: v1.13.1
tag: v1.16.0
requires:
- "GCC-Toolchain:(?!osx)"
build_requires:
- "autotools:(slc6|slc7)"
- 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 <rdma/rdma_cma.h>" | 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 <rdma/rdma_cma.h>" | 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 \
Expand Down

0 comments on commit 30c4bec

Please sign in to comment.