general high-level discussion about spectrum
 help / color / mirror / Atom feed
* Workflow preferences - case aarch64 support
@ 2022-06-20 10:29 Ville Ilvonen
  2022-06-20 12:05 ` Alyssa Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Ville Ilvonen @ 2022-06-20 10:29 UTC (permalink / raw)
  To: discuss

Hi all,

Good news is that the work on aarch64 support has progressed to the point where
the Spectrum host can be built natively and run on aarch64 HW.

It's still a bunch of patches in various stages of WIP or review to
spectrum or further
up the stream.

In short, to "nixpkgs-spectrum":
0001-Allow-static-building-of-dtc.patch
0002-Workaround-ld-script-segmentation-fault.patch /* may be not needed */
0003-Add-imx8-specific-kernel.patch
and to "spectrum":
0001-Add-imx8-kernel.patch

Should anyone want to reproduce, please let me know and I'll try to
find a solution
to share them. Probably worth waiting for cross-compilation support unless you
have powerful aarch64 at your disposal.

In the meanwhile, we try to establish a mechanism to collaborate in branches of
required upstream repos. It's fairly impractical to fork
"nixpkgs-spectrum"-repo due to
its' size, over 2GB,

Which takes me to the discussion point - what's the workflow proposal
on multiple people
working on the same functionality in the same branch? If I'm not
mistaken the email workflow
creates a new branch for each author? Then someone would have to
cherry-pick them to the
same branch to integrate them in dev time hydra builds.

Best,

-Ville


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Workflow preferences - case aarch64 support
  2022-06-20 10:29 Workflow preferences - case aarch64 support Ville Ilvonen
@ 2022-06-20 12:05 ` Alyssa Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Alyssa Ross @ 2022-06-20 12:05 UTC (permalink / raw)
  To: Ville Ilvonen; +Cc: discuss

[-- Attachment #1: Type: text/plain, Size: 2436 bytes --]

On Mon, Jun 20, 2022 at 01:29:49PM +0300, Ville Ilvonen wrote:
> Hi all,
>
> Good news is that the work on aarch64 support has progressed to the point where
> the Spectrum host can be built natively and run on aarch64 HW.

This is excellent!  Very exciting.

> It's still a bunch of patches in various stages of WIP or review to
> spectrum or further
> up the stream.
>
> In short, to "nixpkgs-spectrum":
> 0001-Allow-static-building-of-dtc.patch
> 0002-Workaround-ld-script-segmentation-fault.patch /* may be not needed */
> 0003-Add-imx8-specific-kernel.patch
> and to "spectrum":
> 0001-Add-imx8-kernel.patch
>
> Should anyone want to reproduce, please let me know and I'll try to
> find a solution
> to share them. Probably worth waiting for cross-compilation support unless you
> have powerful aarch64 at your disposal.
>
> In the meanwhile, we try to establish a mechanism to collaborate in branches of
> required upstream repos. It's fairly impractical to fork
> "nixpkgs-spectrum"-repo due to
> its' size, over 2GB,
>
> Which takes me to the discussion point - what's the workflow proposal
> on multiple people
> working on the same functionality in the same branch? If I'm not
> mistaken the email workflow
> creates a new branch for each author? Then someone would have to
> cherry-pick them to the
> same branch to integrate them in dev time hydra builds.

For that situation, I would recommend having a shared Nixpkgs repository
where the people working on the change can work on it together.  You're
right that Nixpkgs is big, but the bulk of it only has to be pushed
once, and from that point changes will be incremental.  Public git
hosts, if you wanted to use one of those, likely already have somebody's
copy of Nixpkgs on them and might deduplicate against it, so possibly
won't need most git objects to be uploaded anyway.  This is broadly how
feature development works for other projects using similar workflows,
like Linux or QEMU.

When it's time to submit the patches to the list for review, anybody can
do that.  Authorship information is preserved in the patch metadata, so
it's fine for one person to submit a patch series that includes patches
from multiple authors.  git-send-email will also handle automatically
CCing authors on patches that they wrote, so questions / review should
still find their way to the right person.

Does that all make sense?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-20 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-20 10:29 Workflow preferences - case aarch64 support Ville Ilvonen
2022-06-20 12:05 ` Alyssa Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).