This is an archive of the discontinued LLVM Phabricator instance.

libclc: Use echo rather than true for try_compile
ClosedPublic

Authored by daniels on Mar 31 2020, 12:29 PM.

Details

Summary

When providing a fake compiler, libclc currently uses 'true' which does
not exist on Windows. Use echo instead as the no-op.

Depends on: D77162

Diff Detail

Event Timeline

daniels created this revision.Mar 31 2020, 12:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2020, 12:29 PM
jvesely accepted this revision.Apr 2 2020, 3:34 PM

This will add noise to CMakeOutput.log and CMakeError.log, but I guess it's just one line.

This revision is now accepted and ready to land.Apr 2 2020, 3:34 PM
This revision was automatically updated to reflect the committed changes.