Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AArch64 for 18.03 #33745

Closed
4 of 5 tasks
dezgeg opened this issue Jan 11, 2018 · 16 comments
Closed
4 of 5 tasks

AArch64 for 18.03 #33745

dezgeg opened this issue Jan 11, 2018 · 16 comments
Labels
0.kind: enhancement Add something new 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Comments

@dezgeg
Copy link
Contributor

dezgeg commented Jan 11, 2018

Let's get AArch64 support into a reasonable state for 18.03.

@fpletz fpletz added this to the 18.03 milestone Jan 11, 2018
@fpletz fpletz added 0.kind: enhancement Add something new 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS labels Jan 11, 2018
@dezgeg
Copy link
Contributor Author

dezgeg commented Jan 11, 2018

#33749 is the first part of the 'refactor x86-isms from release.nix`

@Ericson2314
Copy link
Member

@dezgeg
Copy link
Contributor Author

dezgeg commented Jan 16, 2018

@Ericson2314 sure, do you have some code written already somewhere? https://github.com/NixOS/nixpkgs/pull/33951/files is the next one up which is very similar to the previous PR and I don't expect any future ones to differ much either.

@bachp
Copy link
Member

bachp commented Jan 16, 2018

What's the best way to help testing NixOS on a Raspberry Pi? Is there a place to get an image?

@dezgeg
Copy link
Contributor Author

dezgeg commented Jan 16, 2018

See https://nixos.wiki/wiki/NixOS_on_ARM & related wiki pages.

@vcunat
Copy link
Member

vcunat commented Mar 5, 2018

Now I wonder about the approach to 18.03 – two options:

  1. share with x86_64-linux, i.e. common pair of jobsets and channels for both; or
  2. split like we do with x86_64-darwin, i.e. separate jobsets and separate channels.

@vcunat
Copy link
Member

vcunat commented Mar 5, 2018

I think for the stable stuff it might be easier to have (1), assuming that we really want Zero Hydra Failures for aarch64 (i.e. explicitly disable on aarch64 whatever we don't fix).

@vcunat
Copy link
Member

vcunat commented Mar 7, 2018

Well, I had to go for (2.) for now, as Hydra currently can't manage the evaluation in a nixos jobset with two platforms. (too many heap sections etc. I tried more than five times without any success.)

@grahamc
Copy link
Member

grahamc commented Mar 7, 2018

IMO we have to fix Hydra to allow this to build, because managing a deployment of aarch64 and linux with nixops becomes frustrating at best and impossible at worst if they don't share a common channel.

@vcunat
Copy link
Member

vcunat commented Mar 7, 2018

I think we can manage to fix it until release.

@grahamc
Copy link
Member

grahamc commented Mar 7, 2018

I wonder if bumping the initial heaps again on Hydra would do the business: https://github.com/NixOS/nixos-org-configurations/blob/master/delft/hydra.nix#L75

@vcunat
Copy link
Member

vcunat commented Mar 7, 2018

Yeah, that sounds like a promising work-around. Even if it would mean to reduce the number of parallel evaluations a little. It might actually save some work, due to the waste. (Even trunk-combined gets a nontrivial fraction killed due to this.)

@7c6f434c
Copy link
Member

7c6f434c commented Mar 7, 2018

Isn't it enough to have two channels with the same revisions? Is it possible to have a repository which tracks beginning of a Hydra build (as opposed to already existing channel-bump branches), and have a job that builds aarch64 based on that?

@7c6f434c
Copy link
Member

7c6f434c commented Mar 7, 2018

(I am not arguing against fixing Hydra builds of multiple platforms, I am just trying to put a bound on the worst-case loss)

@peterhoeg
Copy link
Member

Should this be moved to 18.09 or can it be closed?

@samueldr
Copy link
Member

samueldr commented Jul 24, 2019

Closing, nothing exactly relevant still to do, except maybe the documentation one. See #65350 for that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: enhancement Add something new 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
None yet
Development

No branches or pull requests

10 participants