Skip to content

Commit 89268e8

Browse files
authored
use latest cmake in CI (#243)
* install latest cmake * fix mercury version to match the docs * try fix
1 parent 0884588 commit 89268e8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/dependencies-linux.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -eu -o pipefail
44

55
sudo apt-get update
6-
sudo apt-get install libopenmpi-dev libhdf5-dev uuid-dev
6+
sudo apt-get install libopenmpi-dev libhdf5-dev uuid-dev cmake
77

88
# libfabric
99
wget https://github.com/ofiwg/libfabric/archive/refs/tags/v1.12.1.tar.gz
@@ -18,8 +18,8 @@ cd ..
1818
# Mercury
1919
git clone --recursive https://github.com/mercury-hpc/mercury.git
2020
cd mercury
21-
git checkout v2.1.0
21+
git checkout v2.2.0
2222
mkdir build && cd build
23-
cmake ../ -DCMAKE_C_COMPILER=gcc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DMERCURY_USE_CHECKSUMS=OFF
23+
cmake ../ -DCMAKE_C_COMPILER=gcc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DMERCURY_USE_CHECKSUMS=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5
2424
make -j2 && sudo make install
2525
ctest

.github/workflows/ubuntu-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build PDC
2424
run: |
2525
mkdir build && cd build
26-
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
26+
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc -DCMAKE_POLICY_VERSION_MINIMUM=3.5
2727
make -j2
2828
2929
- name: Test PDC

.github/workflows/ubuntu-no-cache.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build PDC
2424
run: |
2525
mkdir build && cd build
26-
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
26+
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc -DCMAKE_POLICY_VERSION_MINIMUM=3.5
2727
make -j2
2828
2929
- name: Test PDC

0 commit comments

Comments
 (0)