This is an archive of the discontinued LLVM Phabricator instance.

Expand pseudo-components before embedding in llvm-config
ClosedPublic

Authored by dsanders on Jul 19 2019, 1:13 PM.

Details

Summary

If you use pseudo-targets like AllTargetsCodeGens in LLVM_DYLIB_COMPONENTS
then a test will fail because ./bin/llvm-config --shared-mode can't
handle these targets. We can fix this by expanding them before embedding
the string into llvm-config

Diff Detail

Repository
rL LLVM

Event Timeline

dsanders created this revision.Jul 19 2019, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2019, 1:13 PM
Herald added a subscriber: mgorny. · View Herald Transcript
bogner accepted this revision.Jul 19 2019, 1:31 PM

LGTM

This revision is now accepted and ready to land.Jul 19 2019, 1:31 PM
This revision was automatically updated to reflect the committed changes.