This is an archive of the discontinued LLVM Phabricator instance.

[CMake][Fuchsia] Disable terminfo database in Fuchsia toolchain
ClosedPublic

Authored by phosek on Nov 21 2017, 7:26 PM.

Details

Summary

It's used to determine whether terminal supports colors, but within LLVM
it's only used in handful of places and in Clang it's only used in AST
dumper, otherwise Clang relies on the -fcolor-diagnostics flag which we
pass explicitly from our build system anyway. This eliminates one of the
shared libraries dependencies making the toolchain less reliant on the
host environment.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Nov 21 2017, 7:26 PM
This revision is now accepted and ready to land.Nov 27 2017, 11:36 AM
This revision was automatically updated to reflect the committed changes.