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

Enhance Build Flags #9

Open
K-Wu opened this issue May 24, 2023 · 2 comments
Open

Enhance Build Flags #9

K-Wu opened this issue May 24, 2023 · 2 comments

Comments

@K-Wu
Copy link
Owner

K-Wu commented May 24, 2023

TODO:

  • Use ninja to have better build success rate
  • Replace -DLLVM_ENABLE_LLD=ON with -DLLVM_USE_LINKER=gold
@K-Wu
Copy link
Owner Author

K-Wu commented Jun 6, 2023

  1. -DLLVM_CCACHE_BUILD=ON. no need to set ccache as compiler launcher

@K-Wu
Copy link
Owner Author

K-Wu commented Jun 6, 2023

Actually the canonical way is to set -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache and no need to set LLVM specific flag

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

No branches or pull requests

1 participant