Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2024 02:50:25 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Christoph Moench-Tegeder <cmt@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 5c53f4de1a91 - main - Mk/bsd.gecko.mk: switch LLVM to 17
Message-ID:  <edbf-5pgu-wny@FreeBSD.org>
In-Reply-To: <202404082116.438LGdo7026652__19257.928272576$1712611010$gmane$org@gitrepo.freebsd.org> (Christoph Moench-Tegeder's message of "Mon, 8 Apr 2024 21:16:39 GMT")
References:  <202404082116.438LGdo7026652__19257.928272576$1712611010$gmane$org@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Christoph Moench-Tegeder <cmt@FreeBSD.org> writes:

> The branch main has been updated by cmt:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=5c53f4de1a915eccf9f05932c48bf459a4e936d6
>
> commit 5c53f4de1a915eccf9f05932c48bf459a4e936d6
> Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
> AuthorDate: 2024-04-08 21:13:59 +0000
> Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
> CommitDate: 2024-04-08 21:13:59 +0000
>
>     Mk/bsd.gecko.mk: switch LLVM to 17
>     
>     This brings gecko ports in line with rust's embedded llvm for those
>     who want to try LTO. It also seems to improve overall behaviour
>     of gecko ports, based on single-installation experience.
[...
> -USES+=		compiler:c++17-lang cpe gl gmake gnome iconv llvm:noexport localbase \
> +USES+=		compiler:c++17-lang cpe gl gmake gnome iconv llvm:17,noexport localbase \

Rust 1.78 (ETA 2024-05-02) will bundle LLVM 18[1]. If you don't plan to
chase lang/rust (for LTO sake on /latest set) maybe unlock maximum
version via "min" i.e., USES=llvm:min=17,noexport

Originally, Firefox ports used more recent LLVM than global default but
only locked version when LTO was enabled. Since then Firefox gained
wasi-* dependencies, complicating LLVM bumps, and lang/rust added
PORT_LLVM, which can avoid mismatch with LTO.

[1] https://github.com/rust-lang/rust/pull/120055



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