Closed nosamad closed 7 months ago
Hello again @nosamad! Definitely down to merge. Couple quick questions:
1) For my learning, what changed your thinking vs last time? (I thought zig had been respecting Bazel's -o after all?) A windows case?
2) For the split, maybe we should split on ': '
, in case there are multiple absolute windows paths?
Thanks so much for working to leave things better than you found them :) Chris
^ Went ahead and did that--I'll merge, but would still love it if you'd reply when you get a chance!
Hello again @nosamad! Definitely down to merge. Couple quick questions: 1) For my learning, what changed your thinking vs last time? (I thought zig had been respecting Bazel's -o after all?) A windows case? I think it is a windows case. As far as I know, there is no option of defining the Artefact File-Extension through a toolchain definition - but I didn't review what they do, so maybe there is a possibility. 2) For the split, maybe we should split on
': '
, in case there are multiple absolute windows paths? I don't know if this approach would be sufficient, as dep-Files are valid Makefiles and theoretically every valid Makefile Expression is allowed in the context of targets and prerequisites of a rule - which also can be defined through the command line (gcc). Does a simple Makefile-Parser exist in python? On the other hand your "simple" approach works in most cases :)Thanks so much for working to leave things better than you found them :) Actually thank you for your nice work! Chris Sorry for the late response.
Hello again @nosamad! Definitely down to merge. Couple quick questions: 1) For my learning, what changed your thinking vs last time? (I thought zig had been respecting Bazel's -o after all?) A windows case? I think it is a windows case. As far as I know, there is no option of defining the Artefact File-Extension through a toolchain definition - but I didn't review what they do, so maybe there is a possibility. 2) For the split, maybe we should split on
': '
, in case there are multiple absolute windows paths? I don't know if this approach would be sufficient, as dep-Files are valid Makefiles and theoretically every valid Makefile Expression is allowed in the context of targets and prerequisites of a rule - which also can be defined through the command line (gcc). Does a simple Makefile-Parser exist in python? On the other hand your "simple" approach works in most cases :)Thanks so much for working to leave things better than you found them :) Actually thank you for your nice work! Chris Sorry for the late response.
Sorry I was so in a hurry that I missed your main points. Are you calling the compiler for depfile creation? I will investigate further, but it will take some time. Maybe we should provide some integration tests?
Thanks
The zig toolchain uses the file extension .obj instead of .o