[hipcc] Remove the previous workaround.

Change-Id: Ie1c2aa21689bc343c10fd4b699546cf500ced5b2
Este cometimento está contido em:
Michael LIAO criou e Michael Hong Bin Liao cometeu 2020-03-30 10:18:47 -04:00
1 ascendente 55d869df99
cometimento 64bbce8e73
1 ficheiro modificado
-7
-7
Ver ficheiro
@@ -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.