Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2023 09:47:52 +0200
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Robert Clausecker <fuz@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org
Subject:   Re: git: 3af2e89732ee - 2023Q3 - graphics/gegl: fix build on armv7
Message-ID:  <ZMdnKNEP0_wlY1Aw@KGPE-D16>
In-Reply-To: <202307302302.36UN2Bdi018404@gitrepo.freebsd.org>
References:  <202307302302.36UN2Bdi018404@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--EhQk4fv1jV/ZwbBE
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Wouldn't it be better to do it similarly to other ports?

=2Eif !exists(/usr/include/omp.h)
MESON_ARGS+=3D	-Dopenmp=3Ddisabled
=2Eendif

This would also fix build on other OpenMP-less architectures and if a user =
on OpenMP-enabled architecture decides to build base with libomp.


On 23-07-30 23:02:11, Robert Clausecker wrote:
> The branch 2023Q3 has been updated by fuz:
>=20
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D3af2e89732ee15c2b8c39e8e=
c5a0f97ebc66635d
>=20
> commit 3af2e89732ee15c2b8c39e8ec5a0f97ebc66635d
> Author:     Robert Clausecker <fuz@FreeBSD.org>
> AuthorDate: 2023-07-28 21:01:02 +0000
> Commit:     Robert Clausecker <fuz@FreeBSD.org>
> CommitDate: 2023-07-30 23:01:42 +0000
>=20
>     graphics/gegl: fix build on armv7
>    =20
>     OpenMP is not supported on armv7.  Fix the build by disabling its use.
>    =20
>     Approved by:    portmgr (build fix blanket)
>     MFH:            2023Q3
>    =20
>     (cherry picked from commit 9e2602394b77661efe58bb191416048e3ca7c7c7)
> ---
>  graphics/gegl/Makefile | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>=20
> diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
> index 6fbbd2446c43..9e1784ebd599 100644
> --- a/graphics/gegl/Makefile
> +++ b/graphics/gegl/Makefile
> @@ -33,7 +33,10 @@ MESON_ARGS=3D	-Ddocs=3Dfalse \
>  		-Dmaxflow=3Ddisabled \
>  		-Dmrg=3Ddisabled \
>  		-Dpygobject=3Ddisabled \
> -		-Dlua=3Ddisabled
> +		-Dlua=3Ddisabled \
> +		${MESON_ARGS_${ARCH}}
> +MESON_ARGS_armv6=3D	-Dopenmp=3Ddisabled
> +MESON_ARGS_armv7=3D	-Dopenmp=3Ddisabled
> =20
>  GEGL_SHLIB=3D	0.443.1
>  GEGL_VER=3D	0.4

--EhQk4fv1jV/ZwbBE
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmTHZygACgkQelmbhSCD
nJ3J6w//QWZnz51eGvyoTlJivhA6Xt0TZ84GyUL2Sh1fx4aSoy93h/u93Il4HvaF
LkilEUuYEVHnctv4dvBCZjGeTj9bt5YrO7Pzj1ct6KrLvWasYkSOZSKJbMeMB+iw
n5qDF6lLI94sJnUz2owTNBI+niHvUukSzNy5YY/GWys/K5EZFAkhHtwVW4Vpw7hW
vRuV2HMvbBKfLJUJw5OFYgaYXG55+4UKIzwAVznL8DOrxJ6Rtc2X+vTn2obuA9Kp
RpJ9UAmYlsSLJe2C69ekxXQC2P9m1IHrx6QFqR11OBmx3Rt2ZPQch2Sw338gQAgc
D/Oqhl6cwCQ7l41aJy4Ib0MZ3Ud8Qvq51N8MoJYHFPOn4Zfi5JIHnmTOHW9x7XLP
h7N1SjBGSsM1PFkQMq6l/lfkC5z1GFc2uYov60rU6o44wmHh39McMWCFGELGIuYY
7qEcE2q80whIE0lVH6e6h9ZbMqUlNQ2uLt4AYRWj4bqqpnmAEgPQezTp42wRlieE
mrgPquiIfSGmZKc4Rx2p7PvpPpKifkLljrhL07BFz0JyLiMhDYbCOT6pwd0CCLkk
RWFEICx1uEz2j3MLMQjWdm+87TCRkDxtoAeRfD4A3t3EXJCg9SJra91mYoJGNWbR
F5zlp8kxHZA14ZHJCrSK2XBRpht6rEgzaEZLlWIZ62lF7VrDEVk=
=DIsK
-----END PGP SIGNATURE-----

--EhQk4fv1jV/ZwbBE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZMdnKNEP0_wlY1Aw>