Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1171 from mhbliao/hliao/master/hipcc
[hipcc] Revise include path calculation.
  • Loading branch information
mangupta committed Jun 19, 2019
2 parents fc074d9 + e329403 commit 6b83b6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/hipcc
Expand Up @@ -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") {
Expand Down

0 comments on commit 6b83b6b

Please sign in to comment.