Now the yaml2obj and obj2yaml utilities used in LLVM and LLD projects
tests only and not installed by the "make install" command. I think
they might be also useful in third-party projects like MCLinker. I
suggest to move these utilities into the "tools" category and install
them together with other LLVM tools.
Any objections or comments?
I think that installing these tools and having them used by third-party projects are separate questions.
AFAIK, currently these tools are considered purely internal testing tools, so we don’t want external projects relying on them. Anyway, I personally can’t think of any project other than MCLinker for which it would make sense to depend on these tools, so better to just have the MCLinker folks get involved upstream.
As to installing the tools, I’m sure that many of the tools that get installed currently are testing tools as well, so I don’t see the harm of installing these tools (besides possibly bloating packages, which should probably be evaluated). Personally I don’t think these tools are very useful outside of their testing role so I wouldn’t bother installing them.
– Sean Silva
Let's suppose that MCLinker folks are here already - I am a committer
of this project :).
Maybe I did not formulate my suggestion correctly. When I offer to
"install" the yaml2obj and obj2yaml utilities I mean result of the
"make install" command only. I do not suggest to include this
utilities into any distributed binary packages. To be clear I attached
the patch with suggested changes.
yaml2obj-install.patch (1.36 KB)
Let's suppose that MCLinker folks are here already - I am a committer
of this project :).
Doesn't seem like a problem then.
Maybe I did not formulate my suggestion correctly. When I offer to
"install" the yaml2obj and obj2yaml utilities I mean result of the
"make install" command only. I do not suggest to include this
utilities into any distributed binary packages. To be clear I attached
the patch with suggested changes.
I don't think that patch would hurt. I'd like a second opinion from Rafael
though.
-- Sean Silva
Thanks for comments and review. The patch committed at r214191.
LGTM
Sent from my iPhone
[...]