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] Initial distributed compiling support #6762

Merged
merged 3 commits into from Nov 30, 2022

Conversation

feisuzhu
Copy link
Contributor

Issue: #6445

Brief Summary

This PR addresses quirks in sccache distributed compiling:

  1. sccache would run preprocessing locally (clang -E) first and then send the expanded code to remote build server. This can trigger false warnings not present when compiling locally.
  2. Compile host and target can be different, --target= must be send to remote build server.

@netlify
Copy link

netlify bot commented Nov 29, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit a8590b1
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/6386d2902552f10008f8efee
😎 Deploy Preview https://deploy-preview-6762--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@taichi-gardener taichi-gardener added this to In progress in CI/CD & Build & Tests Nov 29, 2022
CMakeLists.txt Outdated Show resolved Hide resolved
cmake/Distributed.cmake Outdated Show resolved Hide resolved
@feisuzhu feisuzhu merged commit 9eae307 into taichi-dev:master Nov 30, 2022
CI/CD & Build & Tests automation moved this from In progress to Done Nov 30, 2022
@feisuzhu feisuzhu deleted the feat/sccache-distributed branch November 30, 2022 14:34
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Issue: taichi-dev#6445

### Brief Summary

This PR addresses quirks in `sccache` distributed compiling:

1. `sccache` would run preprocessing locally (`clang -E`) first and then
send the expanded code to remote build server. This can trigger false
warnings not present when compiling locally.
2. Compile host and target can be different, `--target=` must be send to
remote build server.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants