From nobody Tue Sep 03 21:39:09 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WyzXZ2lDDz5MTT1; Tue, 03 Sep 2024 21:39:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WyzXZ0fBNz42tM; Tue, 3 Sep 2024 21:39:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725399550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l+uh6f2cNW51EKOYA0yEH4eFLkY0Hd/p+uw5rgXliWA=; b=AYZRjTk3F4V/LVyCKN2kPi7e01rDKqPztCHrblexrQ1gg7Otfp78lFVt+7wit4CUOLLRGR 4n218Dlm/EZyeMWPgCUGwOHZiCJ8Q5kETFLo1sCMEokCk1pDMGLnkq7IiT1M8qgQ6/Sp65 3EVtPpiyo01Yo6qQujHJV0firjvxFDKc75MIVnUj9jNJrKf2WsatQkPGNoJbC7HXZydtOC P/UrUVDIcCufm1HGAQLNFyl+dKEEfmAs0p6vD7GuxWKMQYJyTOWMEf7QScVT5COipSeA9M r+coHu9UCk9T/dTcSS5TlIetWpzMVPQA3f7jHL/AmVzP+8tVLEpi/QTLRJ03CQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725399550; a=rsa-sha256; cv=none; b=yYhXsg3kgPeUTc8St5DNxuYZmve6s8ixJKYtJ79JUq1alToni0CRWo09Aa9GPC6LvyhKGG pcH9qH0iFmIPHHURFTqVvgfk+3ua2rMP9TP82jG5/L2BNI+4sRVjnUmSVivfEeTfM5DiT0 YPovePqvDd5utrruY5mIGzfOBvfv8LjuzOqreolZqE+Z9b6dD+Sh4mP8feOY5G+bOD4a0W IqnOw5zuQFNeBgpa5Cfxwr0q2kIM1oVd7YxQIiMis+y4+SG05VTbMymk61Cw9Y/gpFIqpK PZO+D6phWx4rfIW9hwiQFu/AtQtORxobBPhFbdeimos7WxjN1JTHM2T++TwajA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725399550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l+uh6f2cNW51EKOYA0yEH4eFLkY0Hd/p+uw5rgXliWA=; b=j/4PeiCf4V10cGDUeFn1s0sdMuPpD0hR57i9T5DqPIrNQ1FdmXe1DF1IqiJgjW0rj+Z6tY Q2UXjnqgf8MIMzU2wiCHCgCxg5R+mzR0v88SKCx6ot2EWr25sBcc+sfpYsj3gu6seR/wbM bh3Sy3Bn2PgZNQ1xZiJQBpn4AgGtGi/0fFNAJMazWgqPePRSHyzto3hpw52xsoLYJ7dkE4 X9HhQlCJgj/ip+tUPrBx1bhT/t171crdjbB7zCKJ2f9HTa8SWq8WwBCIrjwe05RaUyanbd UIuh49/SJZMv/h5J4zb9CjWdoGwvUGBzrlIsxgsirMDKU439THodE0LDkSzSog== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WyzXY56VyzxRw; Tue, 3 Sep 2024 21:39:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 483Ld9J1051740; Tue, 3 Sep 2024 21:39:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483Ld9db051737; Tue, 3 Sep 2024 21:39:09 GMT (envelope-from git) Date: Tue, 3 Sep 2024 21:39:09 GMT Message-Id: <202409032139.483Ld9db051737@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: f3785e527f7f - main - devel/llvm19: update to 19.1.0-rc4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3785e527f7f924b78c7b9049db40faa1ba0c095 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3785e527f7f924b78c7b9049db40faa1ba0c095 commit f3785e527f7f924b78c7b9049db40faa1ba0c095 Author: Brooks Davis AuthorDate: 2024-09-03 21:30:27 +0000 Commit: Brooks Davis CommitDate: 2024-09-03 21:38:28 +0000 devel/llvm19: update to 19.1.0-rc4 arm_bf16.h is installed by the ARM backend as well as AArch64 so handle that. Patch out upstream 6d7e428df611 which traded a false negative for a false positive when compiling compiler-rt for i386. Fix default options for 32-bit powerpc arches. PR: 281179 --- devel/llvm19/Makefile | 18 ++++++++++-------- devel/llvm19/distinfo | 6 +++--- devel/llvm19/files/patch-revert-6d7e428df611 | 17 +++++++++++++++++ 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/devel/llvm19/Makefile b/devel/llvm19/Makefile index 3762328ec186..bb3ead7aaf31 100644 --- a/devel/llvm19/Makefile +++ b/devel/llvm19/Makefile @@ -1,5 +1,5 @@ PORTNAME= llvm -DISTVERSION= 19.1.0-rc3 +DISTVERSION= 19.1.0-rc4 PORTREVISION= 0 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION}/ @@ -92,10 +92,11 @@ OPTIONS_SINGLE_BACKENDS=BE_FREEBSD BE_NATIVE BE_STANDARD OPTIONS_DEFAULT= CLANG LLD # BE_NATIVE for 32-bit -OPTIONS_DEFAULT_armv6= BE_NATIVE -OPTIONS_DEFAULT_armv7= BE_NATIVE -OPTIONS_DEFAULT_i386= BE_NATIVE -OPTIONS_DEFAULT_power= BE_NATIVE +OPTIONS_DEFAULT_armv6= BE_NATIVE +OPTIONS_DEFAULT_armv7= BE_NATIVE +OPTIONS_DEFAULT_i386= BE_NATIVE +OPTIONS_DEFAULT_powerpc= BE_NATIVE +OPTIONS_DEFAULT_powerpcspe= BE_NATIVE # FLAVOR-dependent BE for 64-bit _BE_default= BE_STANDARD BE_AMDGPU BE_WASM _BE_lite= BE_FREEBSD BE_AMDGPU BE_WASM @@ -394,8 +395,8 @@ _BE_INCS_AArch64= arm_bf16.h _BE_LIBS_AArch64= AsmParser Disassembler Utils _BE_LIBS_BACKWARDS_AArch64=Exegesis _BE_LIBS_AMDGPU= AsmParser Disassembler TargetMCA Utils -_BE_INCS_ARM= arm_cde.h arm_fp16.h arm_mve.h arm_neon.h arm_sme.h \ - arm_sve.h arm_vector_types.h +_BE_INCS_ARM= arm_bf16.h arm_cde.h arm_fp16.h arm_mve.h arm_neon.h \ + arm_sme.h arm_sve.h arm_vector_types.h _BE_LIBS_ARM= AsmParser Disassembler Utils _BE_LIBS_AVR= AsmParser Disassembler _BE_LIBS_BPF= AsmParser Disassembler @@ -422,9 +423,10 @@ _BE_LIBS_XCore= Disassembler _BE_LIBS_${BE}+= ${_BE_LIBS_COMMON:S/^/${BE_ARCH}/} \ ${_BE_LIBS_${BE_ARCH}:S/^/${BE_ARCH}/} \ ${_BE_LIBS_BACKWARDS_${BE_ARCH}:S/$/${BE_ARCH}/} -_BE_INCS_${BE}+= ${_BE_INCS_${BE_ARCH}} +__BE_INCS_${BE}+= ${_BE_INCS_${BE_ARCH}} _BE_MODS_${BE}+= ${_BE_MODS_${BE_ARCH}} .endfor +_BE_INCS_${BE}= ${__BE_INCS_${BE}:O:u} .endfor BE_PATTERN=LLVM(${_BE_LIBS_STANDARD:O:S/$/.a/:ts|})|${_BE_INCS_STANDARD:ts|}|${_BE_MODS_STANDARD:ts|} diff --git a/devel/llvm19/distinfo b/devel/llvm19/distinfo index 429c3558117b..ee9c202dc018 100644 --- a/devel/llvm19/distinfo +++ b/devel/llvm19/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724434564 -SHA256 (llvm-project-19.1.0-rc3.src.tar.xz) = ea80f9d588abb4837bd6bfb84ee5e4fff3ea2bd87e754615bc578308ad248e38 -SIZE (llvm-project-19.1.0-rc3.src.tar.xz) = 141250388 +TIMESTAMP = 1725385330 +SHA256 (llvm-project-19.1.0-rc4.src.tar.xz) = 224eb00d8281377802545442f24ae085c493d5caffaaac610056fa6835b9c4b4 +SIZE (llvm-project-19.1.0-rc4.src.tar.xz) = 141255904 diff --git a/devel/llvm19/files/patch-revert-6d7e428df611 b/devel/llvm19/files/patch-revert-6d7e428df611 new file mode 100644 index 000000000000..07f556e9284c --- /dev/null +++ b/devel/llvm19/files/patch-revert-6d7e428df611 @@ -0,0 +1,17 @@ +--- compiler-rt/lib/builtins/CMakeLists.txt.orig ++++ compiler-rt/lib/builtins/CMakeLists.txt +@@ -867,12 +867,10 @@ + endif() + endif() + endif() +- check_c_source_compiles("_Float16 foo(_Float16 x) { return x; } +- int main(void) { return 0; }" ++ check_c_source_compiles("_Float16 foo(_Float16 x) { return x; }" + COMPILER_RT_HAS_${arch}_FLOAT16) + append_list_if(COMPILER_RT_HAS_${arch}_FLOAT16 -DCOMPILER_RT_HAS_FLOAT16 BUILTIN_CFLAGS_${arch}) +- check_c_source_compiles("__bf16 foo(__bf16 x) { return x; } +- int main(void) { return 0; }" ++ check_c_source_compiles("__bf16 foo(__bf16 x) { return x; }" + COMPILER_RT_HAS_${arch}_BFLOAT16) + # Build BF16 files only when "__bf16" is available. + if(COMPILER_RT_HAS_${arch}_BFLOAT16)