From a01b2626608cfef4c604c8b8efc81049905e9e63 Mon Sep 17 00:00:00 2001 From: mhbliao <47895780+mhbliao@users.noreply.github.com> Date: Fri, 7 Feb 2020 16:28:26 -0500 Subject: [PATCH] [hip] Cleanup compiler wrapper for HIP-Clang. (#1847) --- bin/hipcc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/hipcc b/bin/hipcc index 1bacef953c..eb3f185424 100755 --- a/bin/hipcc +++ b/bin/hipcc @@ -138,10 +138,6 @@ if (defined $HIP_RUNTIME and $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") { $DEVICE_LIB_PATH = "$HIP_VDI_HOME/lib/bitcode";