From 64bbce8e73e0488086b490e4aa793ec243f4361c Mon Sep 17 00:00:00 2001 From: Michael LIAO Date: Mon, 23 Mar 2020 14:28:46 -0400 Subject: [PATCH] [hipcc] Remove the previous workaround. Change-Id: Ie1c2aa21689bc343c10fd4b699546cf500ced5b2 --- hipamd/bin/hipcc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hipamd/bin/hipcc b/hipamd/bin/hipcc index 013179b49e..0163324d65 100755 --- a/hipamd/bin/hipcc +++ b/hipamd/bin/hipcc @@ -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.