-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[clang][cmake] Add CLANG_DEFAULT_LINKER to ClangConfig.cmake.in #158416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[clang][cmake] Add CLANG_DEFAULT_LINKER to ClangConfig.cmake.in #158416
Conversation
Flang refers to this CMake variable since PR149786, but this does not work for standalone build. This patch fixes it.
@llvm/pr-subscribers-clang Author: None (parabola94) ChangesFlang refers to this CMake variable since #149786, but this does not work for standalone build. Full diff: https://github.com/llvm/llvm-project/pull/158416.diff 1 Files Affected:
diff --git a/clang/cmake/modules/ClangConfig.cmake.in b/clang/cmake/modules/ClangConfig.cmake.in
index 5f67681649c66..68f723d050117 100644
--- a/clang/cmake/modules/ClangConfig.cmake.in
+++ b/clang/cmake/modules/ClangConfig.cmake.in
@@ -10,6 +10,7 @@ set(CLANG_EXPORTED_TARGETS "@CLANG_EXPORTS@")
set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")
set(CLANG_INCLUDE_DIRS "@CLANG_CONFIG_INCLUDE_DIRS@")
set(CLANG_LINK_CLANG_DYLIB "@CLANG_LINK_CLANG_DYLIB@")
+set(CLANG_DEFAULT_LINKER "@CLANG_DEFAULT_LINKER@")
# Provide all our library targets to users.
@CLANG_CONFIG_INCLUDE_EXPORTS@
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/16092 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/16175 Here is the relevant piece of the build log for the reference
|
…#158416) Flang refers to this CMake variable since llvm#149786, but this does not work for standalone build. This patch fixes it.
Flang refers to this CMake variable since #149786, but this does not work for standalone build.
This patch fixes it.