From 2d224426ff9ff961db4daee1f324a55ca2fa605a Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 19 Aug 2015 10:20:51 -0400 Subject: [PATCH] P4 to Git Change 1182130 by yaxunl@yaxunl_stg_win50 on 2015/08/19 10:02:50 ECR #354633 - SPIR-V: Add -D for blowfish for compiler lib, which is required by ValidateBinaryImage as it is moved from runtime to compiler lib. Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#42 edit [ROCm/clr commit: 88e30fccb873e8c070d4bf9441e69fb258ffe73b] --- projects/clr/rocclr/compiler/lib/complibdefs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/clr/rocclr/compiler/lib/complibdefs b/projects/clr/rocclr/compiler/lib/complibdefs index 3afa878fe2..0b7b3c175c 100644 --- a/projects/clr/rocclr/compiler/lib/complibdefs +++ b/projects/clr/rocclr/compiler/lib/complibdefs @@ -86,3 +86,7 @@ endif ifeq ($(OPENCL_USE_ONE_SC),1) GCPPFLAGS += $(DEFSWITCH) OPENCL_USE_ONE_SC endif + +ifneq (,$(wildcard $(COMPLIB_DEPTH)/loaders/elf/utils/blowfish/blowfish.h)) + GCPPFLAGS += $(DEFSWITCH) HAVE_BLOWFISH_H +endif