2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-01-19 04:22:10 +00:00

Intsall MPI environement before configuring with CMake

This commit is contained in:
Alain Miniussi
2025-05-06 14:59:50 +02:00
parent 26a0aee7b6
commit 2fe4c4e9e9

View File

@@ -54,6 +54,17 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install MPI libraries on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libopenmpi-dev openmpi-bin
- name: Install MPI libraries on Windows
if: matrix.os == 'windows-latest'
run: |
choco install openmpi -y
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type