Skip Building of OpenMP Samples and Tests (#77)

* Add option to disable openmp samples

* Skip building openmp tests and samples for now
Этот коммит содержится в:
Trowbridge, Ian
2024-12-18 11:37:51 -06:00
коммит произвёл GitHub
родитель 590f2a1cd0
Коммит 9de284a568
4 изменённых файлов: 11 добавлений и 3 удалений
+2
Просмотреть файл
@@ -53,6 +53,8 @@ rocprofiler_add_option(
rocprofiler_add_option(ROCPROFILER_BUILD_FMT "Enable building fmt library internally" ON)
rocprofiler_add_option(ROCPROFILER_BUILD_GLOG
"Enable building glog (Google logging) library internally" ON)
rocprofiler_add_option(ROCPROFILER_BUILD_OPENMP_TESTS
"Enable building openmp tests and samples" OFF ADVANCED)
if(ROCPROFILER_BUILD_TESTS)
rocprofiler_add_option(
ROCPROFILER_BUILD_GTEST
+3 -1
Просмотреть файл
@@ -33,4 +33,6 @@ add_subdirectory(code_object_isa_decode)
add_subdirectory(advanced_thread_trace)
add_subdirectory(external_correlation_id_request)
add_subdirectory(pc_sampling)
add_subdirectory(openmp_target)
if(ROCPROFILER_BUILD_OPENMP_TESTS)
add_subdirectory(openmp_target)
endif()
+3 -1
Просмотреть файл
@@ -62,7 +62,9 @@ add_subdirectory(pc_sampling)
add_subdirectory(thread-trace)
add_subdirectory(hip-graph-tracing)
add_subdirectory(counter-collection)
add_subdirectory(openmp-tools)
if(ROCPROFILER_BUILD_OPENMP_TESTS)
add_subdirectory(openmp-tools)
endif()
# rocprofv3 validation tests
add_subdirectory(rocprofv3)
+3 -1
Просмотреть файл
@@ -12,7 +12,9 @@ set(CMAKE_BUILD_RPATH
# applications used by integration tests which DO link to rocprofiler-sdk-roctx
add_subdirectory(reproducible-runtime)
add_subdirectory(transpose)
add_subdirectory(openmp)
if(ROCPROFILER_BUILD_OPENMP_TESTS)
add_subdirectory(openmp)
endif()
set(CMAKE_BUILD_RPATH "\$ORIGIN:\$ORIGIN/../lib")