Skip to content

Commit

Permalink
Make libnuma optional (#203)
Browse files Browse the repository at this point in the history
libucx 1.15 made libnuma optional. Only include libnuma in the wheel if our libucx depends on it.

Authors:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

Approvers:
  - Peter Andreas Entschev (https://github.com/pentschev)
  - Bradley Dice (https://github.com/bdice)
  - https://github.com/jakirkham
  - Jake Awe (https://github.com/AyodeAwe)

URL: #203
  • Loading branch information
KyleFromNVIDIA authored Mar 12, 2024
1 parent b05b429 commit 46d3b7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ elif [[ ${package_name} == "ucxx" ]]; then
patchelf --replace-needed libuct.so.0 $LIBUCT $f
patchelf --replace-needed libucs.so.0 $LIBUCS $f
patchelf --replace-needed libucm.so.0 $LIBUCM $f
patchelf --replace-needed libnuma.so.1 $LIBNUMA $f
if [[ -n "$LIBNUMA" ]]; then
patchelf --replace-needed libnuma.so.1 $LIBNUMA $f
fi
patchelf --add-rpath '$ORIGIN/..' $f
fi
done
Expand Down

0 comments on commit 46d3b7b

Please sign in to comment.