From nobody Sun Jul 16 13:42:03 2023 X-Original-To: dev-commits-ports-all@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 4R3mbb4yNzz4nDQK; Sun, 16 Jul 2023 13:42:03 +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 4R3mbb4SF8z3wsp; Sun, 16 Jul 2023 13:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689514923; 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=c89+mZGjPih+OmKjN/LPBXSxaQfAtRQzwLLB3KSPk00=; b=T9hfjgJkg3Fz09JZiiR4rvvhyKsyfWNWyVDS5mPQfRnxC8QRs8UvMr75OoAhtUH4F54Zn+ PjBTrW4/UFxWW8ozkfRofcucOwVnUFDr5ml5wdLmSHYBUyuoSCTv0/VxrW67S38XPJ/LWA MZBeOFwjeCW/vFlXFoI3fHLFA+QdK/2NygcW69xf4UpMddRkPM2/D6Cm3qP+aWxjmg9G5v rep6Cbcsrw+j+gMaFczuR1hrMbaEWW42i3fcOxAcneOfO+2kJo5MoU2ycKwq2m3KRrnguv Xa69jsBdGnbmNCfZSYtFKhAgK8YSr1t39ck6jcAV1HqF8S0cQYcsO4TwmzIXpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689514923; 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=c89+mZGjPih+OmKjN/LPBXSxaQfAtRQzwLLB3KSPk00=; b=yJ3YKcz/jw18HBKdjPQWsbDH0G0M20bC4aOxG/I6fDMcTEei0IvXi3NPWnc9NjjvZ7aB+f T4ws+JwuxuvnyLeHmEksX35VGO89xTTq5XR/YI21FOJMXbPF9c99m3XxSyT/XNe5DdwhjY 3gmlAtmro4YPrbLZdqcaxhT+49G34byZUUQLD6CFyNt29skmFd8/N1h3J8lkSuCtQuY1Lq uiSJPHPDX5m/xVyfB9z4HCQMnNTDMGSUstewgn+yPbiW4hyHXa5nSDto1z26dDL7Cv3Oqa FxIxVNqBlGrfo1KAaCCOQFzq4QMH5Qq9epcNNmkC/fDRDbioowOs5oOgy+gbZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689514923; a=rsa-sha256; cv=none; b=dkKTGUNiikY9SwD1NLmh3fGuHgfLe2brfb2DiE1+eePIpAKsc2pTt1ZNZgHfTVfz+JRgbw YRNFB21L5glHGcEwDJ2isZcbXhqFs97U1r/UpX2QeTYIZ7gNdLq+GjQKwmevdEfEUf4bnk 6E9Cp92GSaIjLbLA/VpxtHS4/u1/QUyjdrTTYkSadYxNkx+hLIJMcDMlwuR63Fx6Ffd3aQ Eu/x0QhZSTXwrx58zLJKtgrunZ7Xr3Ut3HnvMJdTrgOO6hJRxEeEgJX7Sw63JNO7gTMHSa 9ESoUiuWScZqKXkpexyqfNmuhvw1KtHhyPH8lWd9nQ0xDcPqDzpFVJLIkpSy1A== 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 4R3mbb3WL8zl5s; Sun, 16 Jul 2023 13:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36GDg3b9097763; Sun, 16 Jul 2023 13:42:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36GDg38E097762; Sun, 16 Jul 2023 13:42:03 GMT (envelope-from git) Date: Sun, 16 Jul 2023 13:42:03 GMT Message-Id: <202307161342.36GDg38E097762@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: 7d4be2d6fd1e - main - biology/bifrost: Portability fixes List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org 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: 7d4be2d6fd1e3db4109d266d25a4411fedc05235 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d4be2d6fd1e3db4109d266d25a4411fedc05235 commit 7d4be2d6fd1e3db4109d266d25a4411fedc05235 Author: Jason W. Bacon AuthorDate: 2023-07-16 13:40:30 +0000 Commit: Jason W. Bacon CommitDate: 2023-07-16 13:40:30 +0000 biology/bifrost: Portability fixes Tag as only for 64-bit platforms Fix build on aarch64 (patch out -march=native) Reported by: pkg-fallout --- biology/bifrost/Makefile | 3 +++ biology/bifrost/files/patch-CMakeLists.txt | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/biology/bifrost/Makefile b/biology/bifrost/Makefile index 1ca58622a09a..d5afacfb4181 100644 --- a/biology/bifrost/Makefile +++ b/biology/bifrost/Makefile @@ -10,6 +10,9 @@ WWW= https://github.com/pmelsted/bifrost LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +# Requires a 64-bit processor +ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 + USES= cmake USE_GITHUB= yes diff --git a/biology/bifrost/files/patch-CMakeLists.txt b/biology/bifrost/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..1cf55ff9575f --- /dev/null +++ b/biology/bifrost/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-07-16 13:25:06 UTC ++++ CMakeLists.txt +@@ -20,8 +20,6 @@ if(COMPILATION_ARCH MATCHES "OFF") + message("Disabling native architecture compilation (including AVX2)") + else(COMPILATION_ARCH MATCHES "OFF") + message("Compilation architecture: ${COMPILATION_ARCH}") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=${COMPILATION_ARCH}") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${COMPILATION_ARCH}") + endif(COMPILATION_ARCH MATCHES "OFF") + + if(ENABLE_AVX2 MATCHES "OFF")