Skip to content

Commit dd3c5c4

Browse files
No warning policy for CI
No warning policy
2 parents f1ad0de + e89b4c8 commit dd3c5c4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/linux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
4545
- name: Build KokkosComm
4646
run: |
47-
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
47+
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
4848
VERBOSE=1 cmake --build "$COMM_BUILD"
4949
- name: Test KokkosComm
5050
run: |
@@ -76,7 +76,7 @@ jobs:
7676
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
7777
- name: Build KokkosComm
7878
run: |
79-
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
79+
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
8080
VERBOSE=1 cmake --build "$COMM_BUILD"
8181
- name: Test KokkosComm
8282
run: |

.github/workflows/osx.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
3939
- name: Build KokkosComm
4040
run: |
41-
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
41+
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
4242
VERBOSE=1 cmake --build "$COMM_BUILD"
4343
- name: Test KokkosComm
4444
run: |
@@ -70,7 +70,7 @@ jobs:
7070
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
7171
- name: Build KokkosComm
7272
run: |
73-
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
73+
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
7474
VERBOSE=1 cmake --build "$COMM_BUILD"
7575
- name: Test KokkosComm
7676
run: |

unit_tests/test_allgather.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void test_allgather_0d() {
4040

4141
// fill send buffer
4242
Kokkos::parallel_for(
43-
sv.extent(0), KOKKOS_LAMBDA(const int i) { sv() = rank; });
43+
sv.extent(0), KOKKOS_LAMBDA(const int) { sv() = rank; });
4444

4545
KokkosComm::allgather(Kokkos::DefaultExecutionSpace(), sv, rv, MPI_COMM_WORLD);
4646

0 commit comments

Comments
 (0)