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

[bug] Protect against path with space #2318

Merged
merged 1 commit into from
May 5, 2021

Conversation

bobcao3
Copy link
Collaborator

@bobcao3 bobcao3 commented May 3, 2021

Protect against path with space.

e.g. "C:\Users\Cheng Cao\source\repos\taichi" will be interpreted as "C:\Users\Cheng" and "Cao\source\repos\taichi", and causing the runtime bitcode compilation to fail (llvm_context.cpp line 152 void compile_runtime_bitcode(Arch arch))

Related issue = #2317

Copy link
Member

@yuanming-hu yuanming-hu left a comment

Choose a reason for hiding this comment

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

Thank you, LGTM! Welcome to the Taichi community. Let's see if all the tests pass on all platforms :-)

@yuanming-hu yuanming-hu changed the title [bugfix] Protect against path with space. [bug] Protect against path with space May 4, 2021
e.g. "C:\Users\Cheng Cao\source\repos\taichi" will be interpreted as "C:\Users\Cheng" and "Cao\source\repos\taichi", and causing the runtime bitcode compilation to fail (llvm_context.cpp line 152 `void compile_runtime_bitcode(Arch arch)`)
@bobcao3 bobcao3 force-pushed the bugfix-compile-bitcode-filepath branch from a4953eb to a9ea2f8 Compare May 4, 2021 06:46
@k-ye k-ye merged commit 6116fa5 into taichi-dev:master May 5, 2021
@bobcao3 bobcao3 deleted the bugfix-compile-bitcode-filepath branch May 7, 2021 15:31
@BillXu2000 BillXu2000 mentioned this pull request May 13, 2021
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