From nobody Mon Oct 28 12:43:55 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 4XcY3b5D3Zz5bJSR; Mon, 28 Oct 2024 12:43:55 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcY3b4kK9z4VjH; Mon, 28 Oct 2024 12:43:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119435; 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=dDSvMCAjHhV4pQLgIDojVR1JfOcqsNRYPXzeQO6x81E=; b=nfsWF1J9FqTRAww2YwMHBhUrxZBm5CYy4oYAiJu9K9xbx7DWuJjinxAI/64WFDlWR/PjoP OwEnkxwlYG5upLqbm2m2LyJJ1i5TqcGPcXJCuiDFDazqpQCVLRETvAZWE7P6b9RqYB+QkD NjGOXxG0E83g5Pzzihy1JKB1YerhR2cDmh6WgR2rTJFhLD/Nuz7bLyK3B37WWOErCTTLPV Wdc3xzO1u1eHG3UzhYYBnR0ioZmlc6pnM6WLwT00oqTwvSwfBMTPtEzW6twDPkwBM36UQZ bSJFtAiYXPEZ8M111cA3NQxr+Rrv/XYQ2FJ5hxbEP6RI4f5urNgO1xO8p4AUdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119435; 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=dDSvMCAjHhV4pQLgIDojVR1JfOcqsNRYPXzeQO6x81E=; b=OHvB/OgBSk8uvM8DKoizqrt/sVupeayu6o90xv+NLdtCIta7fsWiaZ1p6NgtUEzV/TiNT+ I0wrzJLgJjad990GnLXiXCd9FevhG1PWrnFGZfi0G6vwrk4HU3SH1493XyLSx3XXAo/T3+ FA7To/Y2Mw5VmV0mrfAITj7xQL6RPy3jBH1Z3Jx1Wg/ZUkSms8hmgaLKMARW8ud9FZ6VG3 bxr13+4kUTrN/AI5xrwRDXfIKqoiK9mBe49YgLDF02TlAgSpgvJiQZ0jMiVCU6MZVCqyNW mfl9wRBIbZLF6JxImNYcf5N+13jQ/LWPAgHtISwRBxW6j9y6JUq2MovI+SN65A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730119435; a=rsa-sha256; cv=none; b=BM/KEtywzPb+xcemrZJFsEPwhYZHGX8VCulvdc/Ho4xKIolRhI8WKusrMCskpPrXRJKI3S 1fLIww6v/9NaZca1brXNTGyanOzB3A5iwL1gc+PPrxilEuYAUMxIzFtv3g6e5o23hMDgrU XYJLFNILRQ446VYI8bTOyEvFuTUHvta7zoo6VKW6iu/Xyx4mw6801lnohreW2kkTChYTCx GwlutWu/LOedtGUYVgojlAITqJM4JCqve8K5nvoPmFbWDWof9bHQmNsx0FQrodoGo4oj1E QpTR2rAIY9ASkE/FUq+pE7XgEpDMmhvcIXKvE+bC7+HFGcn20zf2E8GVWScE2w== 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 4XcY3b4KnXzg4W; Mon, 28 Oct 2024 12:43:55 +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 49SCht1g073187; Mon, 28 Oct 2024 12:43:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49SChtdg073184; Mon, 28 Oct 2024 12:43:55 GMT (envelope-from git) Date: Mon, 28 Oct 2024 12:43:55 GMT Message-Id: <202410281243.49SChtdg073184@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 9ecc74ab460e - main - biology/fermi-lite: port to armv7/aarch64 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ecc74ab460e4ad157885c16661871b58cc98352 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ecc74ab460e4ad157885c16661871b58cc98352 commit 9ecc74ab460e4ad157885c16661871b58cc98352 Author: Robert Clausecker AuthorDate: 2024-10-15 14:48:45 +0000 Commit: Robert Clausecker CommitDate: 2024-10-28 12:41:48 +0000 biology/fermi-lite: port to armv7/aarch64 This applies the sse2neon header on armv7 and aarch64 to implement the SSE intrinsics. Approved by: yuri (maintainer timeout, two weeks) Differential Revision: https://reviews.freebsd.org/D47128 --- biology/fermi-lite/Makefile | 8 ++++++-- biology/fermi-lite/files/patch-ksw.c | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/biology/fermi-lite/Makefile b/biology/fermi-lite/Makefile index 5a2a8f5817e0..003ba3006bae 100644 --- a/biology/fermi-lite/Makefile +++ b/biology/fermi-lite/Makefile @@ -11,10 +11,14 @@ WWW= https://github.com/lh3/fermi-lite LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 ONLY_FOR_ARCHS_REASON= Use of the header in ksw.c which is only for SSE2 -USES= gmake +armv7_BUILD_DEPENDS= ${LOCALBASE}/include/sse2neon.h:devel/sse2neon +aarch64_BUILD_DEPENDS= ${armv7_BUILD_DEPENDS} +BUILD_DEPENDS+= ${${ARCH}_BUILD_DEPENDS} + +USES= gmake localbase USE_LDCONFIG= yes USE_GITHUB= yes diff --git a/biology/fermi-lite/files/patch-ksw.c b/biology/fermi-lite/files/patch-ksw.c new file mode 100644 index 000000000000..ec5348eedc45 --- /dev/null +++ b/biology/fermi-lite/files/patch-ksw.c @@ -0,0 +1,14 @@ +--- ksw.c.orig 2024-10-15 14:34:34 UTC ++++ ksw.c +@@ -25,7 +25,11 @@ + + #include + #include ++#if defined(__arm__) || defined(__aarch64__) ++#include ++#else + #include ++#endif + #include "ksw.h" + + #ifdef __GNUC__