This is an archive of the discontinued LLVM Phabricator instance.

[polly] Respect LLVM_INSTALL_TOOLCHAIN_ONLY
ClosedPublic

Authored by Eugene.Zelenko on Jun 20 2016, 6:06 PM.

Details

Summary

Only shared library should be installed when LLVM_INSTALL_TOOLCHAIN_ONLY=ON.

I'd like to remove empty autoconf directory in same commit.

I checked this patch on my own build on RHEL 6. Regressions were OK.

Diff Detail

Event Timeline

Eugene.Zelenko retitled this revision from to [polly] Respect LLVM_INSTALL_TOOLCHAIN_ONLY.
Eugene.Zelenko updated this object.
Eugene.Zelenko added reviewers: grosser, Unknown Object (User).
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: llvm-commits.
grosser accepted this revision.Jun 20 2016, 7:51 PM
grosser edited edge metadata.

Hi Eugene,

this patch LGTM, but please remove the autoconf directory in a separate commit. Both issues are independent and consequently should be addressed with independent commits. If you have commit rights, feel free to go ahead.

This revision is now accepted and ready to land.Jun 20 2016, 7:51 PM

I'll commit only CMake files changes.

This revision was automatically updated to reflect the committed changes.

I'll commit only CMake files changes.

Does this mean you do not plan to drop the autoconf directory any more? What was the reason you decided against it? From my perspective you can drop it without further review. The only thing I asked for to use different commits. I hope this did not discourage you.

I'll commit only CMake files changes.

Does this mean you do not plan to drop the autoconf directory any more? What was the reason you decided against it? From my perspective you can drop it without further review. The only thing I asked for to use different commits. I hope this did not discourage you.

Problem that removing autoconf directory require to commit ., and this conflicts with uncommitted D21488.

I'll commit only CMake files changes.

Does this mean you do not plan to drop the autoconf directory any more? What was the reason you decided against it? From my perspective you can drop it without further review. The only thing I asked for to use different commits. I hope this did not discourage you.

Problem that removing autoconf directory require to commit ., and this conflicts with uncommitted D21488.

OK. So this seems to mostly be a shortcoming of the version control system. As the change is trivial and committing it seems to cause complications on your side, I just committed this myself in r273338. Thanks for reporting the leftover directory.

Best,
Tobias

PS: It seems you are still using svn. You might want consider the use of 'git', which makes working with patches a lot easier. This comes often handy when addressing review comments and working with more than one patch at a time.

Thank you for suggestion! Actually I tried to use git for Include What You Use, but SubVersion is still easier for me because of past CVS background.