P4 to Git Change 1466121 by lmoriche@lmoriche_opencl_dev on 2017/10/03 18:21:02

SWDEV-86035 - Fix OCL/PAL build on Linux
	- Remove BUILD_HSA_TARGET (Was HSA's OpenCL/HSA/HSAIL build)
	- Make it possible to build OCL/PAL without OCL/ORCA (BUILD_PAL_DEVICE=yes BUILD_GPU_DEVICE=no)

Affected files ...

... //depot/stg/opencl/drivers/opencl/Makefile#58 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/Makefile#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#162 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#68 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/build/Makefile.clc#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/build/Makefile.clc#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/build/Makefile.edg#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/Makefile#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/build/Makefile.common#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/build/Makefile.scwrapper#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/build/Makefile.complib#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/Makefile#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#40 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#96 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvmdefs#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/Makefile#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/llvmdefs#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#33 edit
... //depot/stg/opencl/drivers/opencl/library/Makefile#28 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile#8 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#60 edit
... //depot/stg/opencl/drivers/opencl/library/gpu/common/build/Makefile.common#28 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#46 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#212 edit
... //depot/stg/opencl/drivers/opencl/openclrules#97 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#43 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/build/Makefile.spir#21 edit
Dieser Commit ist enthalten in:
foreman
2017-10-03 18:34:48 -04:00
Ursprung acd5580045
Commit 4833d179d9
-5
Datei anzeigen
@@ -14,11 +14,6 @@ GCPPFLAGS += $(SC_LIB_DEFS)
ELFTOOLCHAIN_DIR = $(COMPLIB_DEPTH)/loaders/elf/utils
ifdef GONE_TO_BUILD_DIR
ifeq ($(BUILD_HSA_TARGET),yes)
override BUILD_LLVM_ARM_TARGET = no
override BUILD_LLVM_X86_TARGET = no
override BUILD_LLVM_AMDIL_TARGET = no
endif
ifneq ($(BUILD_LEGACY_COMPLIB),yes)
override BUILD_LLVM_AMDIL_TARGET = no
endif