Skip to content

Commit

Permalink
distcheck: Use the EFA installer like the other steps
Browse files Browse the repository at this point in the history
Signed-off-by: Raghu Raja <[email protected]>
  • Loading branch information
rajachan committed May 29, 2024
1 parent 3731a88 commit 00b22db
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions .github/workflows/distcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
run: |
curl -O https://efa-installer.amazonaws.com/aws-efa-installer-${{ matrix.efainstaller }}.tar.gz
tar -xf aws-efa-installer-*.tar.gz
cd aws-efa-installer/RPMS/${{ matrix.efainstallerdir }}/x86_64
find . | grep rpm$ | xargs sudo yum -y localinstall
pushd aws-efa-installer/
sudo ./efa_installer.sh -y --skip-kmod
popd
- name: Install hwloc, utilities.
run: |
sudo yum -y install hwloc-devel yum-utils
Expand Down Expand Up @@ -178,22 +179,12 @@ jobs:
packages: liblttng-ust-dev
version: lttng

- name: Install Libfabric
- name: Fetch and Install EFA Installer Dependencies
run: |
# We're just doing distchecks, so it is fine if we
# just grab the latest master and built a lean build.
git clone --depth 1 https://github.com/ofiwg/libfabric.git
pushd libfabric
./autogen.sh
export CC="${{ matrix.realcc || matrix.cc }}"
./configure --prefix="$PWD/install" \
--disable-sockets \
--disable-udp \
--disable-mrail \
--disable-opx
make -j "$(nproc)"
make install
curl -O https://efa-installer.amazonaws.com/aws-efa-installer-latest.tar.gz
tar -xf aws-efa-installer-*.tar.gz
pushd aws-efa-installer/
sudo ./efa_installer.sh -y --skip-kmod
popd
- name: Build Plugin
Expand All @@ -207,11 +198,13 @@ jobs:
./autogen.sh
if [ "${{ matrix.sdk }}" == "cuda" ]
then
./configure --with-libfabric="$PWD/libfabric/install" \
./configure --with-mpi=/opt/amazon/openmpi \
--with-libfabric=/opt/amazon/efa \
--with-cuda=/usr/local/cuda/ \
--enable-platform-aws
else
./configure --with-libfabric="$PWD/libfabric/install" \
./configure --with-mpi=/opt/amazon/openmpi \
--with-libfabric=/opt/amazon/efa \
--enable-neuron \
--enable-platform-aws
fi
Expand Down

0 comments on commit 00b22db

Please sign in to comment.