From 665267533ecb1af67d321f91653e98135bcc1bfc Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 29 Apr 2024 10:35:36 -0400 Subject: [PATCH 1/2] Remove KOKKOSTOOLS_LIBRARY_MODE --- common/kernel-filter/CMakeLists.txt | 2 +- common/kokkos-sampler/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/kernel-filter/CMakeLists.txt b/common/kernel-filter/CMakeLists.txt index efe6d7c6b..1bef9189f 100644 --- a/common/kernel-filter/CMakeLists.txt +++ b/common/kernel-filter/CMakeLists.txt @@ -1 +1 @@ -kp_add_library(kp_kernel_filter ${KOKKOSTOOLS_LIBRARY_MODE} kp_kernel_filter.cpp) +kp_add_library(kp_kernel_filter kp_kernel_filter.cpp) diff --git a/common/kokkos-sampler/CMakeLists.txt b/common/kokkos-sampler/CMakeLists.txt index eb94dbd0f..dd269a369 100644 --- a/common/kokkos-sampler/CMakeLists.txt +++ b/common/kokkos-sampler/CMakeLists.txt @@ -1 +1 @@ -kp_add_library(kp_kokkos_sampler ${KOKKOSTOOLS_LIBRARY_MODE} kp_sampler_skip.cpp) +kp_add_library(kp_kokkos_sampler kp_sampler_skip.cpp) From cbaf27e174859b16c6787f2e3867bb52baceb54e Mon Sep 17 00:00:00 2001 From: Vivek Kale Date: Fri, 31 May 2024 09:02:30 -0700 Subject: [PATCH 2/2] profiling/all/CMakeLists.txt: delete KOKKOS_TOOLS_LIBRARYMODE --- profiling/all/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiling/all/CMakeLists.txt b/profiling/all/CMakeLists.txt index ce8b13e27..32ef0a1f7 100644 --- a/profiling/all/CMakeLists.txt +++ b/profiling/all/CMakeLists.txt @@ -5,7 +5,7 @@ set(LIBNAME kokkostools) # return() #endif() -add_library(${LIBNAME} ${KOKKOSTOOLS_LIBRARY_MODE} kp_all.cpp) +add_library(${LIBNAME} kp_all.cpp) target_include_directories(${LIBNAME} PUBLIC $ @@ -19,4 +19,4 @@ endif() file(GLOB_RECURSE HEADER_FILES CONFIGURE_DEPENDS kp_all.hpp "${COMMON_HEADERS_PATH}/*.hpp") install(FILES ${HEADER_FILES} DESTINATION ${EXPORT_INCLUDE_DIR}) -install(TARGETS ${LIBNAME} EXPORT ${EXPORT_NAME}) \ No newline at end of file +install(TARGETS ${LIBNAME} EXPORT ${EXPORT_NAME})