git: 72f87a53eddf - main - devel/llvm*: Fix BE_NATIVE on aarch64

Brooks Davis brooks at FreeBSD.org
Thu May 20 23:33:38 UTC 2021


The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72f87a53eddfea7940f2378a9a218b15d489e493

commit 72f87a53eddfea7940f2378a9a218b15d489e493
Author:     Brooks Davis <brooks at FreeBSD.org>
AuthorDate: 2021-05-20 23:16:54 +0000
Commit:     Brooks Davis <brooks at FreeBSD.org>
CommitDate: 2021-05-20 23:33:28 +0000

    devel/llvm*: Fix BE_NATIVE on aarch64
    
    Fix two bugs in native-only backend support (BE_NATIVE).  First, ARCH
    is aarch64 not arm64.  Second, consistently spell AArch64 not AAarch64
    (extra 'a').
    
    Because this only effects aarch64 in a non-default configuration, skip
    the PORTREVISION bump that is technically required to reduce excess
    heating in common cases.
    
    Reported by:    Mark Millard
---
 devel/llvm10/Makefile | 4 ++--
 devel/llvm11/Makefile | 2 +-
 devel/llvm12/Makefile | 2 +-
 devel/llvm80/Makefile | 4 ++--
 devel/llvm90/Makefile | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/devel/llvm10/Makefile b/devel/llvm10/Makefile
index 69a6bbfb1ebe..64c8be1bd046 100644
--- a/devel/llvm10/Makefile
+++ b/devel/llvm10/Makefile
@@ -310,8 +310,8 @@ _FREEBSD_BACKENDS=	AArch64 ARM Mips PowerPC RISCV Sparc X86
 FREEBSD_BACKENDS=	${_FREEBSD_BACKENDS}
 .if ${ARCH} == amd64
 _NATIVE_BACKENDS=	X86
-.elif ${ARCH} == arm64
-_NATIVE_BACKENDS=	AAarch64
+.elif ${ARCH} == aarch64
+_NATIVE_BACKENDS=	AArch64
 .elif ${ARCH:Marmv*}
 _NATIVE_BACKENDS=	ARM
 .elif ${ARCH} == i386
diff --git a/devel/llvm11/Makefile b/devel/llvm11/Makefile
index 10dacf513ea1..a844b6e69fd5 100644
--- a/devel/llvm11/Makefile
+++ b/devel/llvm11/Makefile
@@ -305,7 +305,7 @@ _FREEBSD_BACKENDS=	AArch64 ARM Mips PowerPC RISCV Sparc X86
 FREEBSD_BACKENDS=	${_FREEBSD_BACKENDS}
 .if ${ARCH} == amd64
 _NATIVE_BACKENDS=	X86
-.elif ${ARCH} == arm64
+.elif ${ARCH} == aarch64
 _NATIVE_BACKENDS=	AArch64
 .elif ${ARCH:Marmv*}
 _NATIVE_BACKENDS=	ARM
diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile
index 7f371832fed3..373735bbff6a 100644
--- a/devel/llvm12/Makefile
+++ b/devel/llvm12/Makefile
@@ -314,7 +314,7 @@ _FREEBSD_BACKENDS=	AArch64 ARM Mips PowerPC RISCV Sparc X86
 FREEBSD_BACKENDS=	${_FREEBSD_BACKENDS}
 .if ${ARCH} == amd64
 _NATIVE_BACKENDS=	X86
-.elif ${ARCH} == arm64
+.elif ${ARCH} == aarch64
 _NATIVE_BACKENDS=	AArch64
 .elif ${ARCH:Marmv*}
 _NATIVE_BACKENDS=	ARM
diff --git a/devel/llvm80/Makefile b/devel/llvm80/Makefile
index dbf123d6bdf4..9a218f566ede 100644
--- a/devel/llvm80/Makefile
+++ b/devel/llvm80/Makefile
@@ -246,8 +246,8 @@ _FREEBSD_BACKENDS=	AArch64 ARM Mips PowerPC Sparc X86
 FREEBSD_BACKENDS=	${_FREEBSD_BACKENDS}
 .if ${ARCH} == amd64
 _NATIVE_BACKENDS=	X86
-.elif ${ARCH} == arm64
-_NATIVE_BACKENDS=	AAarch64
+.elif ${ARCH} == aarch64
+_NATIVE_BACKENDS=	AArch64
 .elif ${ARCH:Marmv*}
 _NATIVE_BACKENDS=	ARM
 .elif ${ARCH} == i386
diff --git a/devel/llvm90/Makefile b/devel/llvm90/Makefile
index 51f1bb7d8ff0..9ecfec47c48d 100644
--- a/devel/llvm90/Makefile
+++ b/devel/llvm90/Makefile
@@ -283,8 +283,8 @@ _FREEBSD_BACKENDS=	AArch64 ARM Mips PowerPC RISCV Sparc X86
 FREEBSD_BACKENDS=	${_FREEBSD_BACKENDS}
 .if ${ARCH} == amd64
 _NATIVE_BACKENDS=	X86
-.elif ${ARCH} == arm64
-_NATIVE_BACKENDS=	AAarch64
+.elif ${ARCH} == aarch64
+_NATIVE_BACKENDS=	AArch64
 .elif ${ARCH:Marmv*}
 _NATIVE_BACKENDS=	ARM
 .elif ${ARCH} == i386


More information about the dev-commits-ports-all mailing list