-
Notifications
You must be signed in to change notification settings - Fork 16
Refactor Windows on ARM build script #193
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
base: main
Are you sure you want to change the base?
Conversation
Use the standard repo structure for build.
Hi Mathew, Fixes in the Refactored Code:
|
Thanks - could you check I have made those changes as you intended them? By the way, I think you can make pull request to my branch with the changes directly. |
Hi Mathew, I was going through the bat script and noticed the environment variables are currently being set using inline quotes (e.g., set var="value"), which embeds the quotes inside the variable value. So the actual variable value is like: A safer and more robust approach would be:
This version quotes the values correctly and handles paths with spaces or special characters safely. Thanks! |
Current code correct? |
Yep, looks perfect now.👍 |
@Harishmcw - can you think of a way to avoid leaving behind a modified |
Hi @matthew-brett , To avoid leaving a modified pyproject.toml file, we can create a backup of it. Add this line after ln No.68:
This creates a backup of the original pyproject.toml file as pyproject.toml.bak before any modifications are made. This ensures that we have a copy of the original file. Add this line after ln No.117:
This line restores the original pyproject.toml file from the backup (pyproject.toml.bak). The /Y option automatically confirms the overwrite, ensuring that the original file is restored and no modified version is left behind. Let me know if you need any further clarification or adjustments! Thanks! |
How about the current code? |
Yes, the current code works as expected. However, it does leave behind the pyproject_64_32.toml file after the process. |
I don't see that - I think the |
Ah, you're right — I missed that move command. Thanks for pointing that out, and sorry for the confusion! |
It seems github has opened the windows11-arm64 runners for public repos like this. Want to add a workflow? |
Use the standard repo structure for build.