Skip to content

Commit

Permalink
gmres: disable examples for builds with ibm/xl
Browse files Browse the repository at this point in the history
  • Loading branch information
ndellingwood committed Oct 5, 2021
1 parent ce5e984 commit adaa551
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/gmres/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

# Workaround https://github.com/kokkos/kokkos/issues/4376 for ibm/xl
IF (NOT ${KOKKOS_COMPILER_IBM})
KOKKOSKERNELS_ADD_EXECUTABLE(
gmres_ex_real_A
SOURCES ex_real_A.cpp
Expand All @@ -21,3 +23,7 @@ KOKKOSKERNELS_ADD_EXECUTABLE_AND_TEST(
SOURCES test_prec.cpp
)

ELSE ()
MESSAGE (STATUS "SKIPPING gmres examples - Kokkos::complex<half_t> unsupported with ibm/xlC as host compiler")
ENDIF ()

0 comments on commit adaa551

Please sign in to comment.