Allow selective install of libomptarget
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Can you explain the benefit of this change? I would have expected a target like install-omptarget, but applying this patch locally didn't change anything visible.
Also, please submit your patch with full context according to LLVM's documentation: https://www.llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface
This change allows running cmake as:
cmake -DCMAKE_INSTALL_COMPONENT=omptarget -P cmake_install.cmake
which will install only libomptarget and no other components. This command allows installing only selected/required components instead of installing everyting that was built.
Also, please submit your patch with full context according to LLVM's documentation: https://www.llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface
Sorry for that. I uploaded it the right way this time.