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

Implement canon_path_in_place for backslashes #41

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

clemenswasser
Copy link
Contributor

I also changed the tests, so that they test for both path separators.
@evmar FYI: This was the final blocker for successfully building CMake on Windows with CMake + n2 😄
However I still need to find out, why it is re-running CMake every time, even if nothing has changed... Or is this normal?

@clemenswasser
Copy link
Contributor Author

clemenswasser commented Apr 5, 2022

I also tried out building LLVM with CMake + n2 (with this Patch) on Windows. It also re-runs CMake on every invocation (I'm now sure, that this is definitely a Bug) and currently fails on:

failed: Building ASM_MASM object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_avx2_x86-64_windows_msvc.asm.obj

@evmar
Copy link
Owner

evmar commented Apr 6, 2022

Re re-running: #40

My recollection is that Ninja on Windows had to do some really tricky stuff to properly model paths with both forward and back slashes. I wonder if this ends up not sufficient.

src/canon.rs Outdated Show resolved Hide resolved
@evmar
Copy link
Owner

evmar commented Apr 6, 2022

#42 some design thoughts on how to do this

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.

2 participants