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

[ROCm/clr commit: 9420f56c66]
Этот коммит содержится в:
Michael Hong Bin Liao
2020-03-31 10:05:56 -04:00
коммит произвёл Gerrit Code Review
родитель dc0ddc29fe ee25f80e54
Коммит 04fe29d1e0
-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.