Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI(neon-image): add ARM-specific RUSTFLAGS (#8566)
## Problem It's recommended that a couple of additional RUSTFLAGS be set up to improve the performance of Rust applications on AWS Graviton. See https://github.com/aws/aws-graviton-getting-started/blob/57dc813626d0266f1cc12ef83474745bb1f31fb4/rust.md Note: Apple Silicon is compatible with neoverse-n1: ``` $ clang --version Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.6.0 Thread model: posix InstalledDir: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin $ $ clang --print-supported-cpus 2>&1 | grep neoverse- neoverse-512tvb neoverse-e1 neoverse-n1 neoverse-n2 neoverse-v1 neoverse-v2 ``` ## Summary of changes - Add `-Ctarget-feature=+lse -Ctarget-cpu=neoverse-n1` to RUSTFLAGS for ARM images
- Loading branch information
70b18ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2244 tests run: 2164 passed, 1 failed, 79 skipped (full report)
Failures on Postgres 14
test_heavy_write_workload[neon_off-github-actions-selfhosted-10-5-5]
: releaseCode coverage* (full report)
functions
:32.4% (7201 of 22244 functions)
lines
:50.4% (58250 of 115603 lines)
* collected from Rust tests only
70b18ff at 2024-08-14T18:03:12.921Z :recycle: