Merge pull request #1171 from mhbliao/hliao/master/hipcc

[hipcc] Revise include path calculation.

[ROCm/hip commit: 6b83b6bfca]
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2019-06-19 13:36:51 +05:30
2 tuismitheoirí cd72288515 49fce7ba8a
tiomantas 2a41dc2a64
1 comhad athraithe
+3
+3
Féach ar an gComhad
@@ -118,6 +118,9 @@ if ($HIP_RUNTIME eq "VDI" and !defined $HIP_VDI_HOME) {
if (defined $HIP_VDI_HOME) {
if (!defined $HIP_CLANG_PATH and (-e "$HIP_VDI_HOME/bin/clang" or -e "$HIP_VDI_HOME/bin/clang.exe")) {
$HIP_CLANG_PATH = "$HIP_VDI_HOME/bin";
}
# With HIP_VDI_HOME defined, assume the installation of clang components, including headers.
if (!defined $HIP_CLANG_INCLUDE_PATH) {
$HIP_CLANG_INCLUDE_PATH = "$HIP_VDI_HOME/include/clang";
}
if (!defined $DEVICE_LIB_PATH and -e "$HIP_VDI_HOME/lib/bitcode") {