From nobody Mon Apr 29 20:43:36 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1503471722537775.4130001280113; Wed, 23 Aug 2017 00:02:02 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 749402095B9D8; Tue, 22 Aug 2017 23:59:26 -0700 (PDT) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7F68F21AEB0A1 for ; Tue, 22 Aug 2017 23:59:25 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 23 Aug 2017 00:01:58 -0700 Received: from jshi19-mobl.ccr.corp.intel.com ([10.255.24.37]) by orsmga001.jf.intel.com with ESMTP; 23 Aug 2017 00:01:57 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,415,1498546800"; d="scan'208";a="1165311044" From: Shi Steven To: edk2-devel@lists.01.org, liming.gao@intel.com Date: Wed, 23 Aug 2017 15:01:07 +0800 Message-Id: <20170823070107.38848-1-steven.shi@intel.com> X-Mailer: git-send-email 2.11.0.windows.1 Subject: [edk2] [PATCH] BaseTools/Conf: Support LLVM39 and LLVM40 in CLANG38 toolchain X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: "Shi, Steven" Add LLVM39 and LLVM40 support in CLANG38 toolchain Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Steven Shi Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 1fa3ca3..2f83341 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -380,7 +380,8 @@ DEFINE SOURCERY_CYGWIN_TOOLS =3D /cygdrive/c/Program Fi= les/CodeSourcery/Sourcery G # Intel(r) ACPI Compiler from # https://acpica.org/downloads # CLANG38 -Linux- Requires: -# Clang v3.8 or later, LLVMgold plugin and GNU= binutils 2.26 targeting x86_64-linux-gnu +# Clang v3.8, LLVMgold plugin and GNU binutils= 2.26 targeting x86_64-linux-gnu +# Clang v3.9 or later, LLVMgold plugin and GNU= binutils 2.28 targeting x86_64-linux-gnu # Optional: # Required to build platforms or ACPI tables: # Intel(r) ACPI Compiler from @@ -5512,7 +5513,7 @@ DEFINE CLANG38_X64_PREFIX =3D ENV(CLANG38_B= IN) DEFINE CLANG38_IA32_TARGET =3D -target i686-pc-linux-gnu DEFINE CLANG38_X64_TARGET =3D -target x86_64-pc-linux-gnu =20 -DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -Wno-empty= -body -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-= value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno-tautological-cons= tant-out-of-range-compare -Wno-incompatible-library-redeclaration -fno-asyn= chronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float = -ftrap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -funs= igned-char -fno-ms-extensions -Wno-null-dereference -Wno-tautological-compa= re -Wno-unknown-warning-option +DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -Wno-empty= -body -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-= value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno-tautological-cons= tant-out-of-range-compare -Wno-incompatible-library-redeclaration -fno-asyn= chronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float = -ftrap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -funs= igned-char -fno-ms-extensions -Wno-null-dereference -Wno-tautological-compa= re -Wno-unknown-warning-option -Wno-varargs =20 ########################### # CLANG38 IA32 definitions --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel