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:
11
.github/workflows/cmake-multi-platform.yml
vendored
11
.github/workflows/cmake-multi-platform.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user