make Kokkos lib compatible with musl-libc
Note: this was adapted from https://github.com/kokkos/kokkos/pull/5678 to be usable without requiring C++17
This commit is contained in:
@ -653,7 +653,9 @@ static constexpr bool kokkos_omp_on_host() { return false; }
|
|||||||
#if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) || \
|
#if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) || \
|
||||||
defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_PGI)) && \
|
defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_PGI)) && \
|
||||||
!defined(_WIN32)
|
!defined(_WIN32)
|
||||||
|
#if (defined(__linux__) && defined(__GLIBC_MINOR__))
|
||||||
#define KOKKOS_IMPL_ENABLE_STACKTRACE
|
#define KOKKOS_IMPL_ENABLE_STACKTRACE
|
||||||
|
#endif
|
||||||
#define KOKKOS_IMPL_ENABLE_CXXABI
|
#define KOKKOS_IMPL_ENABLE_CXXABI
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user