~eliasnaur/gio

3 3

mac builds universal ??

Details
Message ID
<CAN_L7j2UAaMmNt_cL3bvk9xZRA4YEJSNFDvm37hm4LQMfqZJBw@mail.gmail.com>
DKIM signature
missing
Download raw message
Hey

When building for the Mac desktop, at the moment I get an amd64 and an
arm64, which is great !!

I assume Universal app builds are not baked yet ?
If there is a reason that Universal is a problem, please let me know.
Maybe I can help...

Also is there singing on the gogio flags for mac builds yet ?

Thanks btw for adding the scaffolds for .app - really helps and works well.


cheers

ged
Details
Message ID
<CAMAFT9UKs2U69AKZdbCeJHbt_gz+5-d_zqGmiwyM9i__50LBbQ@mail.gmail.com>
In-Reply-To
<CAN_L7j2UAaMmNt_cL3bvk9xZRA4YEJSNFDvm37hm4LQMfqZJBw@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Tue, 2 May 2023 at 08:31, Ged Wed <gedw99@gmail.com> wrote:
>
> I assume Universal app builds are not baked yet ?
> If there is a reason that Universal is a problem, please let me know.
> Maybe I can help...
>

A proposal for cmd/go was rejected:

https://github.com/golang/go/issues/40698

but I don't see any technical reasons gogio couldn't create universal binaries.

However, are universal builds, ahem, universal? From my experience most
mac software is provided as two download options, one for Intel and one for M*.
Perhaps universal binaries are required for uploading to the mac app store?

> Also is there singing on the gogio flags for mac builds yet ?
>

I don't think so, no.

Elias
Details
Message ID
<CAFcc3FSAEAxrkcGSYkUioEqkt33cyoVoxxOSVW_1W_o++cd6dA@mail.gmail.com>
In-Reply-To
<CAMAFT9UKs2U69AKZdbCeJHbt_gz+5-d_zqGmiwyM9i__50LBbQ@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Tue, May 2, 2023 at 2:27 PM Elias Naur <mail@eliasnaur.com> wrote:
>
> On Tue, 2 May 2023 at 08:31, Ged Wed <gedw99@gmail.com> wrote:
> >
> > I assume Universal app builds are not baked yet ?
> > If there is a reason that Universal is a problem, please let me know.
> > Maybe I can help...
> >
>
> A proposal for cmd/go was rejected:
>
> https://github.com/golang/go/issues/40698
>
> but I don't see any technical reasons gogio couldn't create universal binaries.
>
> However, are universal builds, ahem, universal? From my experience most
> mac software is provided as two download options, one for Intel and one for M*.
> Perhaps universal binaries are required for uploading to the mac app store?

They're common, but not universal. I imagine it would make sense to do
it optionally in gogio. The macOS-provided lipo CLI makes it quite
easy.
Details
Message ID
<CAN_L7j0PMpCX5_tjsn8wg0HfUnFeHL9gZ8KfUuaqLp=LH4uLHw@mail.gmail.com>
In-Reply-To
<CAFcc3FSAEAxrkcGSYkUioEqkt33cyoVoxxOSVW_1W_o++cd6dA@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Tue, 2 May 2023 at 21:18, Chris Waldon
<christopher.waldon.dev@gmail.com> wrote:
>
> On Tue, May 2, 2023 at 2:27 PM Elias Naur <mail@eliasnaur.com> wrote:
> >
> > On Tue, 2 May 2023 at 08:31, Ged Wed <gedw99@gmail.com> wrote:
> > >
> > > I assume Universal app builds are not baked yet ?
> > > If there is a reason that Universal is a problem, please let me know.
> > > Maybe I can help...
> > >
> >
> > A proposal for cmd/go was rejected:
> >
> > https://github.com/golang/go/issues/40698
> >
> > but I don't see any technical reasons gogio couldn't create universal binaries.
> >
> > However, are universal builds, ahem, universal? From my experience most
> > mac software is provided as two download options, one for Intel and one for M*.
> > Perhaps universal binaries are required for uploading to the mac app store?
>
> They're common, but not universal. I imagine it would make sense to do
> it optionally in gogio. The macOS-provided lipo CLI makes it quite
> easy.

Thanks for the feedback.

I was thinking about it and it might be best to just leave this as it
is for now.
Partly because Windows and Linux also dont do Universal, and so by
leaving it alone it just keeps things in parity if you know what i
mean. So calling this one YAGNI from my POI.

Am now concentrating on signing for desktops in gio and making it easier.
Reply to thread Export thread (mbox)