This is an archive of the discontinued LLVM Phabricator instance.

cmake: Option to enable/disable bitcode + clang version check
ClosedPublic

Authored by MatzeB on Jul 26 2016, 7:01 PM.

Details

Reviewers
asbirlea
Summary

Add an option to enable/disable bitcode tests. The option is enabled automatically if "mainline" clang (as opposed to apple clang) is detected with a new enough version.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 65646.Jul 26 2016, 7:01 PM
MatzeB retitled this revision from to cmake: Option to enable/disable bitcode + clang version check.
MatzeB updated this object.
MatzeB added a reviewer: asbirlea.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added subscribers: mehdi_amini, llvm-commits.
asbirlea accepted this revision.Jul 26 2016, 10:52 PM
asbirlea edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 26 2016, 10:52 PM

I see that the aarch64 tests broke this: http://lab.llvm.org:8080/green//job/Compiler_Verifiers/3159/consoleFull#139518741949ba4694-19c4-4d7e-bec5-911270d8a58c

It's using clang 3.8 though. Pinging this patch to at least have the >3.9 check added.
(Though I tested with 3.8 and it still breaks, but differently. I can't reproduce the failure at 3.9.)

I'll push this patch. I am pretty sure though that that bot uses a ToT compiler and not a 3.8...

Thanks!
The error message is prepended with "clang-3.8:" so I assumed that's the version it's using.
Suggestions on who to contact to try and figure this out?

Thanks!
The error message is prepended with "clang-3.8:" so I assumed that's the version it's using.
Suggestions on who to contact to try and figure this out?

Hmm we really should be testing ToT with the compiler verifier builder but it does say 3.8 indeed...
Chris Matthews <chris.matthews@apple.com> is the best person to contact about green dragon.

MatzeB closed this revision.Jul 28 2016, 10:36 AM

Comitted in r277010

@MatzeB: just FYI, this did fix green dragon. Thanks!