File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ rocprofiler_add_option(
5353rocprofiler_add_option (ROCPROFILER_BUILD_FMT "Enable building fmt library internally" ON )
5454rocprofiler_add_option (ROCPROFILER_BUILD_GLOG
5555 "Enable building glog (Google logging) library internally" ON )
56+ rocprofiler_add_option (ROCPROFILER_BUILD_OPENMP_TESTS
57+ "Enable building openmp tests and samples" OFF ADVANCED )
5658if (ROCPROFILER_BUILD_TESTS)
5759 rocprofiler_add_option (
5860 ROCPROFILER_BUILD_GTEST
Original file line number Diff line number Diff line change @@ -33,4 +33,6 @@ add_subdirectory(code_object_isa_decode)
3333add_subdirectory (advanced_thread_trace )
3434add_subdirectory (external_correlation_id_request )
3535add_subdirectory (pc_sampling )
36- add_subdirectory (openmp_target )
36+ if (ROCPROFILER_BUILD_OPENMP_TESTS)
37+ add_subdirectory (openmp_target )
38+ endif ()
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ add_subdirectory(pc_sampling)
6262add_subdirectory (thread-trace )
6363add_subdirectory (hip-graph-tracing )
6464add_subdirectory (counter-collection )
65- add_subdirectory (openmp-tools )
65+ if (ROCPROFILER_BUILD_OPENMP_TESTS)
66+ add_subdirectory (openmp-tools )
67+ endif ()
6668
6769# rocprofv3 validation tests
6870add_subdirectory (rocprofv3 )
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ set(CMAKE_BUILD_RPATH
1212# applications used by integration tests which DO link to rocprofiler-sdk-roctx
1313add_subdirectory (reproducible-runtime )
1414add_subdirectory (transpose )
15- add_subdirectory (openmp )
15+ if (ROCPROFILER_BUILD_OPENMP_TESTS)
16+ add_subdirectory (openmp )
17+ endif ()
1618
1719set (CMAKE_BUILD_RPATH "\$ ORIGIN:\$ ORIGIN/../lib" )
1820
You can’t perform that action at this time.
0 commit comments