include codexl marker path, if found

[ROCm/hip commit: 2348091b62]
This commit is contained in:
Ben Sander
2016-03-29 17:26:44 -05:00
rodzic abf24c2147
commit 5e3431ecc0
+5
Wyświetl plik
@@ -79,6 +79,11 @@ if ($HIP_PLATFORM eq "hcc") {
$HIPLDFLAGS .= " -L$HSA_PATH/lib -lhsa-runtime64 -lhc_am";
# Add trace marker library:
# TODO - once we cleanly separate the HIP API headers from HIP library headers this logic should move to CMakebuild option - apps do not need to see the marker library.
$marker_inc_path = "$marker_path/include";
if (-e $marker_inc_path) {
$HIPCXXFLAGS .= " -I$marker_inc_path";
}
$marker_lib_path = "$marker_path/bin/x86_64";
if (-e $marker_lib_path) {