[hipcc] Remove the previous workaround.

Change-Id: Ie1c2aa21689bc343c10fd4b699546cf500ced5b2
Этот коммит содержится в:
Michael LIAO
2020-03-23 14:28:46 -04:00
коммит произвёл Michael Hong Bin Liao
родитель 3a690e960f
Коммит f1566f6dc5
-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.