-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Adjust the Arm targets in CI to reflect latest changes #147596
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
base: master
Are you sure you want to change the base?
Conversation
* Adds armv7a-none-eabihf (rust-lang#146522) * Adds armv8r-none-eabihf (rust-lang#146520) * Drops armeb*-none-* (rust-lang#146523)
rustbot has assigned @Mark-Simulacrum. Use |
build-manifest being missed is probably just an oversight, it usually takes someone actually trying to use the target to find that kind of gap. @bors r+ rollup=iffy |
…ets, r=Mark-Simulacrum Adjust the Arm targets in CI to reflect latest changes * Adds build of `armv7a-none-eabihf` (rust-lang#146522) * Adds build of `armv8r-none-eabihf` (rust-lang#146520) * Drops build of `armeb*-none-*` (rust-lang#146523) I wasn't sure why `armv7a-none-eabihf` was missing from the build-manifest program, but `armv8r-none-eabihf` was there, as they were both Tier 3 targets up until very recently. So, I added it, but that might be wrong.
Rollup of 12 pull requests Successful merges: - #138799 (core: simplify `Extend` for tuples) - #146692 (Save x.py's help text for saving output time) - #147168 (Don't unconditionally build alloc for `no-std` targets) - #147178 ([DebugInfo] Improve formatting of MSVC enum struct variants) - #147240 (Add an ACP list item to the library tracking issue template) - #147246 (Explain not existed key in BTreeMap::split_off) - #147393 (Extract most code from `define_feedable!`) - #147495 (Update wasm-component-ld to 0.5.18) - #147503 (Fix documentation of Instant::now on mac) - #147541 (Change int-to-ptr transmute lowering back to inttoptr) - #147549 (Replace `LLVMRustContextCreate` with normal LLVM-C API calls) - #147596 (Adjust the Arm targets in CI to reflect latest changes) r? `@ghost` `@rustbot` modify labels: rollup
Possibly failed in rollup in @bors r- |
@bors try jobs=dist-various-1 |
Adjust the Arm targets in CI to reflect latest changes try-job: dist-various-1
This comment has been minimized.
This comment has been minimized.
Which Tier of target should be in build-manifest? |
💔 Test for c5785df failed: CI. Failed jobs:
|
This comment has been minimized.
This comment has been minimized.
right. Got to set some CFLAGS for this target. On it. |
I think I have a fix, but let me build locally and check the minors is actually good. I wanted to pass some CLAGS to build-std but I couldn’t work out how to, so I’ll just build a whole toolchain. |
Not all ARMv7-A CPUs have a double-precision FPU. So adjust the CFLAGS from `+vfpv3` (which assumes 32 double-precision registers) to `+fp` (which only assumes 16 double-precision registers).
I was able to build libcore locally for armv7a-none-eabihf and armv8r-none-eabihf and pass the cortex-ar test suite with it. Not that it's an exhaustive test suite by any means, but it did at least pass. |
Should we be trying to derive the CFLAGS from the Rust (more specific?) target tuple? I see that there's a bunch of similar-looking code in @bors try jobs=dist-various-1 |
⌛ Trying commit fef16d2 with merge aa8ffd3… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/18447299050 |
Adjust the Arm targets in CI to reflect latest changes try-job: dist-various-1
Maybe the target specification should name both the default C compiler to use, but also the flags required to make that C compiler work. If not there, then it should at least be documented on the platform support pages. |
armv7a-none-eabihf
(Promote armv7a-none-eabihf to Tier 2 #146522)armv8r-none-eabihf
(Promote armv8r-none-eabihf target to Tier 2 #146520)armeb*-none-*
(Demote both armebv7r-none-* targets. #146523)I wasn't sure why
armv7a-none-eabihf
was missing from the build-manifest program, butarmv8r-none-eabihf
was there, as they were both Tier 3 targets up until very recently. So, I added it, but that might be wrong.