git: cd2c8b5c599c - main - devel/ispc: Make ARM support conditional on the new ARM option on amd64 and i386 architectures

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 08:15:26 UTC
The branch main has been updated by yuri:

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

commit cd2c8b5c599c4b6e030469c6844287a92bc8f6cd
Author:     VVD <vvd@unislabs.com>
AuthorDate: 2022-02-09 08:12:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-09 08:15:24 +0000

    devel/ispc: Make ARM support conditional on the new ARM option on amd64 and i386 architectures
    
    PR:             261735
---
 devel/ispc/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/devel/ispc/Makefile b/devel/ispc/Makefile
index 351eee3e4bde..e889a3938d63 100644
--- a/devel/ispc/Makefile
+++ b/devel/ispc/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	ispc
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.17.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -40,7 +40,11 @@ BINARY_ALIAS=	flex=${LOCALBASE}/bin/flex python=${PYTHON_CMD} m4=${LOCALBASE}/bi
 PLIST_FILES=	bin/ispc \
 		bin/check_isa
 
-OPTIONS_DEFINE_amd64=	XE
+OPTIONS_DEFINE_amd64=	ARM XE
+OPTIONS_DEFINE_i386=	ARM
+
+ARM_DESC=		Enable ARM support - requires ARM backend in LLVM
+ARM_CMAKE_BOOL=		ARM_ENABLED
 
 XE_DESC=		Enable Intel Xe support
 XE_BUILD_DEPENDS=	${LOCALBASE}/llvm${LLVM_VERSION}/lib/libLLVMGenXIntrinsics.a:devel/vc-intrinsics@llvm${LLVM_VERSION}