This is an archive of the discontinued LLVM Phabricator instance.

fix check-bolt tests on arm64
ClosedPublic

Authored by sebpop on Feb 22 2023, 2:10 PM.

Details

Summary

The two tests were failing on arm64-linux with:
BOLT-ERROR: invalid target 'x86-64'.

Diff Detail

Event Timeline

sebpop created this revision.Feb 22 2023, 2:10 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
sebpop requested review of this revision.Feb 22 2023, 2:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 2:10 PM

Should they just be moved under X86 folder?

sebpop updated this revision to Diff 499826.Feb 23 2023, 6:22 AM

Moved tests to X86/

yota9 accepted this revision.Feb 23 2023, 6:36 AM

LGTM thanks

This revision is now accepted and ready to land.Feb 23 2023, 6:36 AM
Amir requested changes to this revision.Feb 23 2023, 10:50 AM

Did you build without LLVM_ENABLE_TARGETS=X86? The test passes on aarch64 buildbot running here: https://lab.llvm.org/buildbot/#/builders/221/builds/10483
Let's keep these tests in common folder and add a proper requires statement.

This revision now requires changes to proceed.Feb 23 2023, 10:50 AM
Amir accepted this revision.Feb 23 2023, 10:54 AM

Nevermind, bolt/test/X86/lit.local.cfg actually has the required check.

This revision is now accepted and ready to land.Feb 23 2023, 10:54 AM
maksfb accepted this revision.Feb 23 2023, 1:31 PM

Thanks for the fix! Nit: please add "[BOLT]" to the title before committing.

This revision was automatically updated to reflect the committed changes.