P4 to Git Change 1203770 by yaxunl@yaxunl_stg_win50 on 2015/10/26 09:32:39

SWDEV-77174 - Change compiler lib def and sc lib def to be consistent.

	SC interface depends on some compile options which need to be consistent between compiler library and SC.

	This change will add the SC interface dependent build options to opencldefs so that they are shared between compiler lib def and sc lib def.

	Both compilier lib def and sc lib def will include scinterfacedefs, which will generate consistent compile options required by sc interface based on variables defined in opencldefs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#45 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#163 edit
This commit is contained in:
foreman
2015-10-26 09:41:01 -04:00
parent 5281d48d5c
commit 266e0e3507
+9
View File
@@ -2,6 +2,15 @@ OPENCL_DEPTH ?= $(COMPLIB_DEPTH)/../..
include $(OPENCL_DEPTH)/opencldefs
# Set the #defines for sc/Interface like that used to build sc.
# For a non-default configuration (for instance adding GFX9),
# make GFX9_BUILD=1 wNow.dbg
# or change
# ../../opencldefs
# to make sure that the settings for sc and sc's uses match.
include $(OPENCL_DEPTH)/compiler/sc/Interface/scinterfacedefs
GCPPFLAGS += $(SC_LIB_DEFS)
ELFTOOLCHAIN_DIR = $(COMPLIB_DEPTH)/loaders/elf/utils
ifdef GONE_TO_BUILD_DIR