-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMakeLists: Yet another iteration on getting dynamic linking right
This partially reverts commit c38b3be and replaces it with a more explicit approach. There are really two key underlying issues: - lgc is treated partially as an LLVM component library but isn't linked into libLLVM-${version}.so. This is as it should be. - llvm_map_components_to_libnames is really designed to be used together with the add_llvm_{executable,library} macros which we don't use consistently. These take care of choosing between dynamic vs. static linking for LLVM. We do this manually for llpc in this change.
- Loading branch information
Showing
3 changed files
with
54 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters