Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2026 14:21:35 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9ea1d9ac6075 - main - biology/iqtree: fix build on arm64
Message-ID:  <699084ef.4686e.704ab4fb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

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

commit 9ea1d9ac6075ee3a83ee9e9dc37950288496e5ee
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-02-11 09:10:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-14 14:17:52 +0000

    biology/iqtree: fix build on arm64
    
    We call the platform "arm64", not "aarch64" (though it seems to be
    inconsistent).  Tested on powerpc64le, didn't build, as some
    headers get confused by the whole "emulate SSE with Altivec" business.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q1
    Sponsored by:   Raptor Computing Systems, LLC
---
 biology/iqtree/Makefile                   |  6 ++----
 biology/iqtree/files/patch-CMakeLists.txt | 11 +++++++++++
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/biology/iqtree/Makefile b/biology/iqtree/Makefile
index af11d67a7c5a..00876a241868 100644
--- a/biology/iqtree/Makefile
+++ b/biology/iqtree/Makefile
@@ -10,10 +10,8 @@ WWW=		http://www.iqtree.org/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_aarch64=	fails to compile: unrecognized command line option '-msse3'
-BROKEN_powerpc64=	fails to build: GCC version must be at least 4.8!
-NOT_FOR_ARCHS=	armv6 armv7 i386 powerpc
-NOT_FOR_ARCHS_REASON=	32-bit compilation is not supported
+ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS_REASON=	requires 64-bit platform with SSE or NEON
 
 LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs
 
diff --git a/biology/iqtree/files/patch-CMakeLists.txt b/biology/iqtree/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..e8939e1256d6
--- /dev/null
+++ b/biology/iqtree/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2026-02-11 08:46:02 UTC
++++ CMakeLists.txt
+@@ -229,7 +229,7 @@ elseif (UNIX AND NOT APPLE)  # Unix and Linux
+       OUTPUT_VARIABLE OS_NATIVE_ARCHITECTURE
+       OUTPUT_STRIP_TRAILING_WHITESPACE
+     )
+-    if(OS_NATIVE_ARCHITECTURE STREQUAL "aarch64")
++    if(OS_NATIVE_ARCHITECTURE STREQUAL "aarch64" OR OS_NATIVE_ARCHITECTURE STREQUAL "arm64")
+         message("Unix/Linux ARM64 DETECTED!")
+ 	    set (__ARM_NEON "TRUE")
+ 		set (NEON 1)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699084ef.4686e.704ab4fb>