This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Mark application libraries as "BUILDTREE_ONLY"
AbandonedPublic

Authored by stephenneuendorffer on Jan 13 2020, 12:07 AM.

Details

Summary

These libraries are intended to be used as part of specific
applications (like mlir-opt). If they are both included in a single
library (e.g. libLLVM.so), then their options will collide, because
static initializers will be called more than once.

Event Timeline

Isn't BUILDTREE_ONLY preventing from installing these library at all?
Some external projects may want to re-use them.