Merge "[hipcc] Remove the previous workaround." into amd-master-next

[ROCm/hip commit: 5b96f38c1e]
이 커밋은 다음에 포함됨:
Michael Hong Bin Liao 작성하고 Gerrit Code Review가 2020-03-31 10:05:56 -04:00를 커밋함
커밋 e89abbb63b
1 파일이 변경됨
-7
-7
파일 보기
@@ -470,13 +470,6 @@ foreach $arg (@ARGV)
$optArg = $arg;
}
## This is a temporary workaround for CMake detection of OpenMP support.
## It should be removed when the OpenMP detection c++ test in CMake is updated
## and corrected CMake version is available.
if((defined $HIP_COMPILER) and ($HIP_COMPILER eq "clang") and ($arg eq '-fopenmp')) {
$HIPCXXFLAGS .= " -D_OPENMP "
}
## process linker response file for hip-clang
## extract object files from static library and pass them directly to
## hip-clang in command line.