Index | Thread | Search

From:
George Koehler <kernigh@gmail.com>
Subject:
Re: lang/zig 0.15.1 update
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
Sebastien Marie <semarie@kapouay.eu.org>, Brandon Mercer <bmercer@eutonian.com>, ports@openbsd.org, Christian Weisgerber <naddy@mips.inka.de>
Date:
Sun, 7 Sep 2025 15:07:30 -0400

Download raw body.

Thread
On Sun, 7 Sep 2025 14:28:37 +0100
Stuart Henderson <stu@spacehopper.org> wrote:

> On 2025/09/07 09:05, Sebastien Marie wrote:
> > Brandon Mercer <bmercer@eutonian.com> writes:
> > 
> > currently, lang/zig is ONLY_FOR_ARCHS=amd64 arm64 powerpc64 (and
> > powerpc64 is marked BROKEN).
> > 
> > would be possible to update lang/zig to 0.15 (using MODCLANG_VERSION=20)
> > and keep devel/llvm/20 not linked (n o SUBDIR+=20 in devel/llvm/Makefile) ?
> > so only amd64 and arm64 will build devel/llvm/20 ?
> 
> it must be linked to the build, but devel/llvm/20 could have ONLY_FOR_ARCHS set.

I suggest to copy ONLY_FOR_ARCHS from lang/zig to devel/llvm/20,
perhaps with a comment like, "only for lang/zig".

This would also enable devel/llvm/20 for powerpc64.  I do bulks for
powerpc and powerpc64, and would be fine with building llvm 20 for
powerpc64 (a fast arch), but want to avoid building llvm 20 for
powerpc (a slow arch).  A powerpc64 package of llvm%20 would be useful
if someone is trying to unbreak zig.

--gkoehler