Re: git: 69d8cd0cd0f3 - main - lang/go{-devel,118}: Add GOAMD64 knobs
Date: Sun, 10 Jul 2022 14:01:11 UTC
On Fri, Jul 8, 2022 at 1:53 PM Dmitri Goutnik <dmgk@freebsd.org> wrote:
> The branch main has been updated by dmgk:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=69d8cd0cd0f31aa9578ce0fd795374308730ea81
>
> commit 69d8cd0cd0f31aa9578ce0fd795374308730ea81
> Author: Dmitri Goutnik <dmgk@FreeBSD.org>
> AuthorDate: 2022-07-08 19:38:47 +0000
> Commit: Dmitri Goutnik <dmgk@FreeBSD.org>
> CommitDate: 2022-07-08 19:53:00 +0000
>
> lang/go{-devel,118}: Add GOAMD64 knobs
>
> Add amd64 microarchitecture level knobs for the Go compiler. Note that
> this will affect only the compiler itself, port users will still need
> to
> set GOAMD64 in the environment to adjust the microarchitecture of the
> compiled code [1, 2].
>
Thanks for adding this, Dmitri.
What is the best mechanism for port users to set the instruction set in
poudriere? Set GO_ENV="GOAMD64=Vn" in the jail's make.conf?
# Adam
--
Adam Weinberger
adamw@adamw.org
https://www.adamw.org