Skip to content

Commit

Permalink
[FIX,PROFILING] Add USE_PAPI configuration to config.cmake (#8567)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonolige authored Aug 2, 2021
1 parent f656a22 commit 9b97bad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmake/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,11 @@ set(BUILD_STATIC_RUNTIME OFF)
# - OFF: disable ccache
# - /path/to/ccache: use specific path to ccache
set(USE_CCACHE AUTO)

# Whether to enable PAPI support in profiling. PAPI provides access to hardware
# counters while profiling.
# Possible values:
# - ON: enable PAPI support. Will search PKG_CONFIG_PATH for a papi.pc
# - OFF: disable PAPI support.
# - /path/to/folder/containing/: Path to folder containing papi.pc.
set(USE_PAPI OFF)

0 comments on commit 9b97bad

Please sign in to comment.