-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[build] Option to use LLD #4513
Conversation
✔️ Deploy Preview for docsite-preview ready! 🔨 Explore the source changes: 14c6e60 🔍 Inspect the deploy log: https://app.netlify.com/sites/docsite-preview/deploys/622eda5dfe51c5000843f353 😎 Browse the preview: https://deploy-preview-4513--docsite-preview.netlify.app |
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.
Confirm that this works on my end as well, thanks a lot !!
@@ -56,6 +56,12 @@ if(CCACHE_PROGRAM) | |||
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}") | |||
endif() | |||
|
|||
if (USE_LLD) | |||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fuse-ld=lld") |
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.
Can you make USE_LLD an option so that we can set it through TAICHI_CMAKE_ARGS?
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.
I think you can, I did that on my end.
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.
Yea I did try that and it worked :P . I meant we should add it in this PR to make it more usable. 😁
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
(Seems to have worked on my end)