Skip to content

Commit f4b1d75

Browse files
authored
Merge pull request #43 from jacobmerson/main
add perfstubs
2 parents c768ad6 + bf7d007 commit f4b1d75

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ find_package(MPI REQUIRED)
1818
#adios2 adds C and Fortran depending on how it was built
1919
find_package(ADIOS2 CONFIG 2.7.1 REQUIRED)
2020
# external packages (perfstubs)
21-
add_subdirectory(external)
21+
# FetchContent seems to have issues with downstream (coupler)
22+
# this may be resolvalbe by "installing" perfstubs.
23+
# for now, we can use the external build provided via spack
24+
# If you want to build with spack see: https://github.com/jacobmerson/pcms-spack
25+
#add_subdirectory(external)
26+
find_package(perfstubs REQUIRED)
2227

2328
set(REDEV_HEADERS
2429
redev.h

config.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ include(CMakeFindDependencyMacro)
99
enable_language(C) #required for MPI::MPI_C
1010
find_dependency(MPI)
1111
find_dependency(ADIOS2 CONFIG HINTS @ADIOS2_DIR@)
12+
find_dependency(perfstubs)
1213

0 commit comments

Comments
 (0)