From owner-dev-commits-ports-all@freebsd.org Sun Apr 18 15:53:53 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BDB65ED90B; Sun, 18 Apr 2021 15:53:53 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FNZHj0GmTz3nd5; Sun, 18 Apr 2021 15:53:53 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 F06386AAD; Sun, 18 Apr 2021 15:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13IFrqjS013568; Sun, 18 Apr 2021 15:53:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13IFrqSm013567; Sun, 18 Apr 2021 15:53:52 GMT (envelope-from git) Date: Sun, 18 Apr 2021 15:53:52 GMT Message-Id: <202104181553.13IFrqSm013567@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason W. Bacon" Subject: git: 48ddc73c5822 - main - biology/bowtie2: Add support for powerpc64le MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jwb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 48ddc73c5822130dd3f00361ec6998eec0a29e6d Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2021 15:53:53 -0000 The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=48ddc73c5822130dd3f00361ec6998eec0a29e6d commit 48ddc73c5822130dd3f00361ec6998eec0a29e6d Author: Jason W. Bacon AuthorDate: 2021-04-18 15:52:07 +0000 Commit: Jason W. Bacon CommitDate: 2021-04-18 15:53:14 +0000 biology/bowtie2: Add support for powerpc64le PR: 255092 Submitted by: pkubaj --- biology/bowtie2/Makefile | 13 ++++++++++++- biology/bowtie2/distinfo | 4 +++- biology/bowtie2/files/patch-Makefile | 4 ++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/biology/bowtie2/Makefile b/biology/bowtie2/Makefile index 198cf295e73e..2cd89b18642b 100644 --- a/biology/bowtie2/Makefile +++ b/biology/bowtie2/Makefile @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE # Requires a 64-bit processor and depends on hard-coded SSE instructions # Experimental support for AARCH64 as of 2.3.5 -ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le LIB_DEPENDS= libtbb.so:devel/onetbb RUN_DEPENDS= bash:shells/bash @@ -23,11 +23,22 @@ USE_GITHUB= yes SHEBANG_FILES= bowtie2 bowtie2-build bowtie2-inspect \ scripts/bowtie2-hbb.sh scripts/*.pl GH_ACCOUNT= BenLangmead +GH_TUPLE= nemequ:simde:422ed9c:simde OPTIONS_DEFINE= DOCS EXAMPLES SUB_FILES= bowtie2-test +.include + +.if ${ARCH} != amd64 +post-extract: + (cd ${WRKSRC_simde}; \ + ${COPYTREE_SHARE} . ${WRKSRC}/third_party/simde/) + +MAKE_ENV= POPCNT_CAPABILITY=0 +.endif + pre-configure: @${REINPLACE_CMD} \ -e 's|^RELEASE_FLAGS|# RELEASE_FLAGS|' \ diff --git a/biology/bowtie2/distinfo b/biology/bowtie2/distinfo index 100d7cba6fb8..57c4443eb8df 100644 --- a/biology/bowtie2/distinfo +++ b/biology/bowtie2/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1604617529 +TIMESTAMP = 1618499065 SHA256 (BenLangmead-bowtie2-v2.4.2_GH0.tar.gz) = ea33a1562faf759b21b3a905e20b87a3524ac4e53af8cd723d9a9f31ee159c8a SIZE (BenLangmead-bowtie2-v2.4.2_GH0.tar.gz) = 10590144 +SHA256 (nemequ-simde-422ed9c_GH0.tar.gz) = 3e7e962b499212cdddcaeca973d1c15d71a4b620afb46113d936ce5c3a8236ba +SIZE (nemequ-simde-422ed9c_GH0.tar.gz) = 332230 diff --git a/biology/bowtie2/files/patch-Makefile b/biology/bowtie2/files/patch-Makefile index 092870a96abf..f082b4abb0d3 100644 --- a/biology/bowtie2/files/patch-Makefile +++ b/biology/bowtie2/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2020-11-05 23:04:50 UTC +--- Makefile.orig 2020-10-06 03:46:41 UTC +++ Makefile @@ -24,7 +24,7 @@ PREFIX := /usr/local @@ -33,7 +33,7 @@ CPPFLAGS += -Ithird_party/simde SANITIZER_FLAGS := -else ifeq (ppc64le,$(shell uname -m)) -+else ifeq (ppc64le,$(shell uname -p)) ++else ifeq (powerpc64le,$(shell uname -p)) BITS := 64 SSE_FLAG := CXXFLAGS += -fopenmp-simd