Unified setup_environ b/t libomni and libomni-dl (#86)
- omnitrace::common::setup_environ provides a standardized exporting of relevant env variables
This commit is contained in:
committed by
GitHub
parent
7745c12417
commit
a2dcc7381b
@@ -43,6 +43,7 @@ function(ROCM_VERSION_PARSE_VERSION_FILES)
|
||||
|
||||
# the list of variables set by module. when one of these changes, we need to unset the
|
||||
# cache variables after it
|
||||
set(_ALL_VARIABLES)
|
||||
foreach(
|
||||
_V
|
||||
EPOCH
|
||||
|
||||
@@ -170,6 +170,9 @@ if(OMNITRACE_USE_HIP
|
||||
GREATER 3)
|
||||
set(roctracer_kfdwrapper_LIBRARY)
|
||||
endif()
|
||||
if(NOT roctracer_kfdwrapper_LIBRARY)
|
||||
set(roctracer_kfdwrapper_LIBRARY)
|
||||
endif()
|
||||
omnitrace_add_feature(OMNITRACE_ROCM_VERSION "ROCm version used by omnitrace")
|
||||
else()
|
||||
set(OMNITRACE_HIP_VERSION "0.0.0")
|
||||
|
||||
Reference in New Issue
Block a user