llvmPackages_git.llvm: run the tests on macOS#222220
llvmPackages_git.llvm: run the tests on macOS#222220RaitoBezarius merged 3 commits intoNixOS:masterfrom
Conversation
|
@ofborg build llvmPackages_git.llvm |
|
This failed for me on aarch64-darwin FAIL: LLVM :: MC/ELF/cfi-version.ll (27957 of 44194) |
|
I'm not sure that debug frames sections are emitted on aarch64-darwin, it seems like a upstream bug to not skip the test on this platform. |
Do you know why it might work on LLVM 15, where we already run the tests? Maybe there's some upstream change, or maybe we're doing something different in the remaining delta? |
|
Reading https://reviews.llvm.org/D67216 seems to indicate that I will investigate more tomorrow. |
|
Switching to llvm15 revision, I have those two errors: Therefore, there's still a diff indeed missing. |
|
@RaitoBezarius I just skipped that test on Darwin in #194634: 0ee5251 (this commit also has a fix for the Upstream has indeed correctly gated this test in LLVM16+: llvm/llvm-project@3716851. |
Thanks for the details. We only need to do the same then, @alyssais. |
|
Haven't tested locally (ofborg timed out) yet but I expect we'll also need parts of eafb8fb to get the tests to pass on Has anyone looked into the |
Got it.
Not yet. |
8c14365 to
f67c00c
Compare
f67c00c to
7f6e59f
Compare
|
Tests are now fixed for aarch64-darwin, let's see what Ofborg has to say. |
|
This builds successfully for me now on aarch64-darwin. |
|
@ofborg build llvmPackages_git.llvm |
|
@RaitoBezarius did you mean to squash the commits you pushed? (If so, I think it's still worth noting in the commit message that this includes fixes from 00839fe, 0ee5251, and abba4c313bcf515aceac1c9d96c61bd78b70f090) Also the |
I have left them as-is so we can decide at the end what do we want to squash. :)
Heh. :) |
|
@ofborg build llvmPackages_git.llvm |
RaitoBezarius
left a comment
There was a problem hiding this comment.
Good to go AFAIK. ofborg failures are timeouts, tested separately by contributors in this discussion.
d55c631 to
94a151d
Compare
|
Let's reference the original commit in the commit message, like I did? |
Port of 0ee5251 ("llvmPackages_15.llvm: adjust a path, skip an xfail test on darwin")
94a151d to
3f9a9ad
Compare
Done, will do the same for the other PRs. Apologies for the formatting back'n'forth. :) |
|
Looks fine to me now. |
Port of eafb8fb ("llvmPackages_15.llvm: fix the tests on `x86_64-darwin`")
|
With this: tests on (aarch64|x86_64)-darwin are passing. Retargeting master. |
Description of changes
Port of c7231c0 ("llvmPackages_15.llvm: run the tests on macOS").
The sysctl native check input was taken from
6d0c876 ("llvmPackages_15.llvm: add in a missing check dep"), because it looks like it was supposed to be part of c7231c0 instead.
New PR for #220759, which I rebased badly.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)