From add534ffcf19e8df7be70fc494ad36023e6311dd Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 9 Sep 2014 21:57:54 -0400
Subject: [PATCH] P4 to Git Change 1075101 by yaxunl@yaxunl_stg_win50 on
2014/09/09 21:48:45
ECR #304775 - Modify Makefiles to let TC SC_PRM use the same SC component for AMDIL and HSAIL path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#91 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclLoaders.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_9/aclLoaders.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/Makefile#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scCompileBase.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#72 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmdefs#35 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#142 edit
[ROCm/clr commit: 4f6f6aadc0c64cb0b239b2cdea4923e27a2c318b]
---
projects/clr/rocclr/compiler/lib/complibdefs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/projects/clr/rocclr/compiler/lib/complibdefs b/projects/clr/rocclr/compiler/lib/complibdefs
index 1e464b6b55..7f3c21a770 100644
--- a/projects/clr/rocclr/compiler/lib/complibdefs
+++ b/projects/clr/rocclr/compiler/lib/complibdefs
@@ -82,3 +82,6 @@ ifdef ATI_OS_LINUX
GCXXOPTS += -fno-rtti
endif
+ifeq ($(OPENCL_USE_ONE_SC),1)
+ GCPPFLAGS += $(DEFSWITCH) OPENCL_USE_ONE_SC
+endif
\ No newline at end of file