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

Taichi built from source takes too long time #4821

Closed
BillXu2000 opened this issue Apr 19, 2022 · 2 comments
Closed

Taichi built from source takes too long time #4821

BillXu2000 opened this issue Apr 19, 2022 · 2 comments
Labels
potential bug Something that looks like a bug but not yet confirmed
Milestone

Comments

@BillXu2000
Copy link
Collaborator

Describe the bug
When building taichi from source, it seems that the compilation phase is blocked at

Linking CXX static library external/SPIRV-Cross/libspirv-cross-c.ac

This linking takes more than 5 minutes (before I end up this command).

To Reproduce
I built Taichi on Ubuntu 20.04.

commit 4512ccc works on my machine, and the next commit 7262bb0 will trigger this problem.

PR #4716 between this two commits might be the cause of this problem.

@BillXu2000 BillXu2000 added the potential bug Something that looks like a bug but not yet confirmed label Apr 19, 2022
@qiao-bo qiao-bo added this to To Triage in CI/CD & Build & Tests via automation Apr 20, 2022
@qiao-bo
Copy link
Collaborator

qiao-bo commented Apr 20, 2022

The linking phase works fine on my PC. Similar time between the two commits. Can you share your build flags as well?

@PGZXB
Copy link
Contributor

PGZXB commented Apr 20, 2022

@BillXu2000 Did you use gcc to build? (I think I know why If you used gcc, I am trying to fix a similar problem, pr: #4823

@g1n0st g1n0st closed this as completed Apr 20, 2022
CI/CD & Build & Tests automation moved this from To Triage to Done Apr 20, 2022
@k-ye k-ye added this to the Taichi v1.0.1 milestone Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential bug Something that looks like a bug but not yet confirmed
Projects
Status: Done
Development

No branches or pull requests

5 participants