man: Fix MarkDown format issue in fi_lnx man page #10435
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Checks | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
pull-requests: read | |
env: | |
APT_PACKAGES: >- | |
abi-compliance-checker | |
abi-dumper | |
build-essential | |
debhelper | |
fakeroot | |
gcc | |
git | |
liblttng-ust-dev | |
libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev | |
libnuma-dev | |
libudev-dev | |
uuid-dev | |
make | |
ninja-build | |
pandoc | |
pkg-config | |
python-is-python3 | |
rpm | |
sparse | |
valgrind | |
wget | |
OFI_PROVIDER_FLAGS: >- | |
--enable-efa=$PWD/rdma-core/build | |
--enable-mrail | |
--enable-psm3=$PWD/rdma-core/build | |
--enable-rxd | |
--enable-rxm | |
--enable-shm | |
--enable-tcp | |
--enable-udp | |
--enable-usnic | |
--enable-verbs=$PWD/rdma-core/build | |
--enable-lpp | |
RDMA_CORE_PATH: '$PWD/rdma-core/build' | |
RDMA_CORE_VERSION: v34.1 | |
jobs: | |
linux: | |
runs-on: '${{ matrix.os }}' | |
strategy: | |
matrix: | |
os: | |
- ubuntu-22.04 | |
cc: | |
- gcc | |
- clang | |
fail-fast: false | |
steps: | |
- name: Install dependencies (Linux) | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ${{ env.APT_PACKAGES }} | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Build Check | |
run: | | |
set -x | |
git clone --depth 1 -b ${{ env.RDMA_CORE_VERSION }} https://github.com/linux-rdma/rdma-core.git | |
pushd rdma-core; bash build.sh; popd | |
export LD_LIBRARY_PATH="${{ env.RDMA_CORE_PATH }}/lib:$LD_LIBRARY_PATH" | |
./autogen.sh | |
./configure --prefix=$PWD/install ${{ env.OFI_PROVIDER_FLAGS }} CC=${{ matrix.cc }} --with-lttng | |
make -j 2 AM_CFLAGS="-Wall -Werror"; make install | |
DISTCHECK_CONFIGURE_FLAGS="${{ env.OFI_PROVIDER_FLAGS }}" make -j 2 distcheck | |
$PWD/install/bin/fi_info -l | |
- name: Upload build logs | |
if: failure() | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: ${{ matrix.os }}-${{ matrix.cc }}-config.log | |
path: config.log | |
hmem: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install dependencies (Linux) | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ${{ env.APT_PACKAGES }} | |
- name: Install CUDA | |
run: | | |
sudo apt-get install -y nvidia-cuda-toolkit | |
- name: Install ROCm | |
run: | | |
echo "Installing ROCm SDK" | |
# TODO: Install ROCm dependencies and add --with-rocm to build in next step | |
- name: Install Ze | |
run: | | |
echo "Installing Ze SDK" | |
sudo apt-get install -y gpg-agent wget | |
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add - | |
sudo apt-add-repository 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main' | |
sudo apt-get update | |
sudo apt-get install -y level-zero level-zero-dev | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: HMEM Checks | |
run: | | |
set -x | |
# We could use 'upload-artifact' and persist the rdma-core build | |
# across jobs, but this is just as quick. | |
git clone --depth 1 -b ${{ env.RDMA_CORE_VERSION }} https://github.com/linux-rdma/rdma-core.git | |
pushd rdma-core; bash build.sh; popd | |
export LD_LIBRARY_PATH="${{ env.RDMA_CORE_PATH }}/lib:$LD_LIBRARY_PATH" | |
./autogen.sh | |
./configure --prefix=$PWD/install ${{ env.OFI_PROVIDER_FLAGS }} \ | |
--with-cuda=/usr/local/cuda --with-ze \ | |
--with-lttng \ | |
CC=${{ matrix.cc }} | |
make -j 2 AM_CFLAGS="-Wall -Werror"; make install | |
$PWD/install/bin/fi_info -l | |
$PWD/install/bin/fi_info -c FI_HMEM | |
- name: Upload build logs | |
if: failure() | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: hmem-config.log | |
path: config.log | |
macos: | |
runs-on: macos-13 | |
steps: | |
- name: Install dependencies (Mac OS) | |
run: | | |
brew install automake | |
brew install --quiet libtool | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Build Check | |
run: | | |
./autogen.sh | |
./configure --prefix=$PWD/install | |
make -j 2; make install | |
$PWD/install/bin/fi_info -l | |
cd fabtests | |
./autogen.sh | |
./configure --with-libfabric=$PWD/../install | |
make -j2 | |
- name: Upload build logs | |
if: failure() | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: macos-config.log | |
path: config.log |