This is an archive of the discontinued LLVM Phabricator instance.

[Bazel] Condition Exegesis target-specific sources
AbandonedPublic

Authored by GMNGeoffrey on Jul 16 2021, 3:48 PM.

Details

Summary

Not everything is X86 :-P

Diff Detail

Event Timeline

GMNGeoffrey created this revision.Jul 16 2021, 3:48 PM
GMNGeoffrey requested review of this revision.Jul 16 2021, 3:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2021, 3:48 PM
chandlerc added inline comments.Jul 16 2021, 5:53 PM
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
2356–2359

I'm confused why we need to condition on whether the *host* is x86?

This may be obvious from the error you're fixing, but I think it would need some kind of comment here. We don't condition the x86 assembler or disassembler on the host architecture...

GMNGeoffrey abandoned this revision.Jul 22 2021, 3:21 PM
GMNGeoffrey added inline comments.
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
2356–2359

Ah you're totally right. This select was present in our internal config and I thought it was there for good reason, but apparently not. I've removed it there. Thanks for catching this :-)