From nobody Wed Jan 10 09:47:22 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 4T92yf6VDVz56Qmd; Wed, 10 Jan 2024 09:47:22 +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 4T92yf4fjVz48Wb; Wed, 10 Jan 2024 09:47:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704880042; 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=cCgmOBbiZSfie+2MnPH3421Lh4L/4fv30iMmzRofN1s=; b=ME7EA7wtQObYL8RVeeu13HxLn7eBPeTUR2aBuUmUXPehGDMhf4QDVP1dFLMpy0zvHe2Tdu 9MHPLhFRQbRt/bKDSNlg6LtDHxMugxV1aFiszriN03aGYOPRCSR3c+NhGyXbDhwfAnBaNC X9DKSmBd8rV538zam8tGHKlvFY3TnVmCKpof2kU1lwbHe+Fh5MPY4i/b+HqIs/a5MlA7fx XpwCawnnf3lT9RmV2q/lwPbiXtvZFw/72++6rMFlGCu7vN8+mPbzsP8FAtQrzFyGbo/2tz JOlKvwaB/y62q7a76v3bGMtHBW1Gfw1ys7cramrk/mjGFbczF2QC2Uez4mZcXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704880042; 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=cCgmOBbiZSfie+2MnPH3421Lh4L/4fv30iMmzRofN1s=; b=ZkqVHcya3GWsIVRAzUjXCGUeE6pMqXZVDwfzJl4yi6kRQK9+Whh2xMvGuy4YxB7DRVqKA9 uOKD1P3YSZmD7mwvkAbfnvTqXxVT+xF+J1AfTIMsjql4Iie0C/VebAiMpf/CjfzgleuofI YvOYWQxWt64SDTbBeoEx75ChCMAnkqB4kr+kowrU1Blncq/3Yw2E1dNwRuXnVDkX4m5N2y ZhxvCY+2zZvTGzBB44N7rivw21ze6PiGnsNeVTa3vJYm3AI/dg8XAJc63tpBZxVpIuiLFq fHgxbElqJ8/QlwKmHnIZ4hMaQyBhnZESqy0OKbTSuPRktANhsNW+xyT8xOQQww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704880042; a=rsa-sha256; cv=none; b=iL8/PpNd+55eKgPWpxH5+X73poOEMnlic206wypZcpAvYSzRLvafr0FdSc36UKFUybvmtY 1mZnJNX5nBdy3nr0JUXjOEJPws6FZ6VMW2/lwaWzIBMqO5ZYGQn29IKlmNzPHS/8WxaIU1 cFEb5nBpyH+MTSQ/bg7zSEGWlfS4fFdYJWf6KyyfeV5uZFWE2sPBpkeUumGhAdi5TvrbUn fiXRH2UdjFNhfEPF8L4BnNFjjLjvGeuX/fU2P86sxA9reTsKdM4BpANsf8AUDpG21SVx/H G9L2Yy1mPlP36Gz/fa9XSxl0KnaW5czawrI1577iv1TK5bXrMLcIRKesX6dN2w== 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 4T92yf3kYdzW5r; Wed, 10 Jan 2024 09:47:22 +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 40A9lMoR076726; Wed, 10 Jan 2024 09:47:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40A9lMw9076723; Wed, 10 Jan 2024 09:47:22 GMT (envelope-from git) Date: Wed, 10 Jan 2024 09:47:22 GMT Message-Id: <202401100947.40A9lMw9076723@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: a004acd196a9 - main - math/fftw3-float: fix build on powerpc64le 15 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a004acd196a9a554caf5a891817eeef48e1ff97c Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a004acd196a9a554caf5a891817eeef48e1ff97c commit a004acd196a9a554caf5a891817eeef48e1ff97c Author: Piotr Kubaj AuthorDate: 2024-01-05 23:24:08 +0000 Commit: Piotr Kubaj CommitDate: 2024-01-10 09:46:58 +0000 math/fftw3-float: fix build on powerpc64le 15 configure: error: Need a version of gcc with -maltivec --- math/fftw3/files/patch-configure | 47 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/math/fftw3/files/patch-configure b/math/fftw3/files/patch-configure index dab230ed959a..72d34f151801 100644 --- a/math/fftw3/files/patch-configure +++ b/math/fftw3/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2020-12-30 00:12:14 UTC +--- configure.orig 2021-09-14 14:43:44 UTC +++ configure -@@ -14937,7 +14937,7 @@ fi +@@ -14938,7 +14938,7 @@ case "${ax_cv_c_compiler_vendor}" in esac case "${ax_cv_c_compiler_vendor}" in @@ -9,3 +9,46 @@ # SSE/SSE2 if test "$have_sse2" = "yes" -a "x$SSE2_CFLAGS" = x; then if test "$PRECISION" = d; then flag=msse2; else flag=msse; fi +@@ -15293,14 +15293,14 @@ else + if test "x$ax_check_compiler_flags" = xyes; then + ALTIVEC_CFLAGS="-faltivec" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -maltivec -mabi=altivec" >&5 +-$as_echo_n "checking whether C compiler accepts -maltivec -mabi=altivec... " >&6; } +-if ${ax_cv_c_flags__maltivec__mabi_altivec+:} false; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -maltivec" >&5 ++$as_echo_n "checking whether C compiler accepts -maltivec... " >&6; } ++if ${ax_cv_c_flags__maltivec+:} false; then : + $as_echo_n "(cached) " >&6 + else + + ax_save_FLAGS=$CFLAGS +- CFLAGS="-maltivec -mabi=altivec" ++ CFLAGS="-maltivec" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -15313,19 +15313,19 @@ if ac_fn_c_try_compile "$LINENO"; then : + } + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : +- ax_cv_c_flags__maltivec__mabi_altivec=yes ++ ax_cv_c_flags__maltivec=yes + else +- ax_cv_c_flags__maltivec__mabi_altivec=no ++ ax_cv_c_flags__maltivec=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS=$ax_save_FLAGS + fi + +-eval ax_check_compiler_flags=$ax_cv_c_flags__maltivec__mabi_altivec ++eval ax_check_compiler_flags=$ax_cv_c_flags__maltivec + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 + $as_echo "$ax_check_compiler_flags" >&6; } + if test "x$ax_check_compiler_flags" = xyes; then +- ALTIVEC_CFLAGS="-maltivec -mabi=altivec -DFAKE__VEC__" ++ ALTIVEC_CFLAGS="-maltivec -DFAKE__VEC__" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fvec" >&5 + $as_echo_n "checking whether C compiler accepts -fvec... " >&6; }