Skip to content
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

Merged
merged 3 commits into from
Mar 14, 2022
Merged

Conversation

bobcao3
Copy link
Collaborator

@bobcao3 bobcao3 commented Mar 11, 2022

(Seems to have worked on my end)

@bobcao3 bobcao3 requested review from ailzhang and qiao-bo March 11, 2022 09:39
@netlify
Copy link

netlify bot commented Mar 11, 2022

✔️ 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

Copy link
Contributor

@ailzhang ailzhang left a 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")
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Copy link
Contributor

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. 😁

Copy link
Contributor

@qiao-bo qiao-bo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bobcao3 bobcao3 merged commit 81cd822 into taichi-dev:master Mar 14, 2022
@bobcao3 bobcao3 deleted the bobcao3/build-compile branch June 15, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants