You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AArch64] Skip test aarch64-init-cpu-features if FMV runtime unavailable. (#269)
The test aarch64-init-cpu-features is conditionally built depending on
whether the FMV runtime is available. When the test-suite is built using
CMake it is handled here: #172
This patch fixes build errors when running LNT tests on AArch64 using
Make rather than CMake:
* It selects between __init_cpu_features_resolver and __init_cpu_features.
* Attempts to compile a dummy program using TARGET_LLVMGCC
to detect availability of the selected symbol.
* Adds corresponding macro (HAS_DARWIN_FMV or HAS_LINUX_FMV)
if detection succeeds.
* Skips test if the symbol is undefined.
Co-authored-by: Alexandros Lamprineas alexandros.lamprineas@arm.com
Co-authored-by: Momchil Velikov momchil.velikov@arm.com
0 commit comments