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

Try to shorten the release install path a bit #163

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Conversation

lazka
Copy link
Member

@lazka lazka commented Oct 8, 2021

We created a "msys" dir under RUNNER_TEMP and then added the launcher
there and install msys2 under "msys64".

This results in an install path of "D:/a/_temp/msys/msys64". Since these paths
might end up in command line arguments and those have length limits we should
try to keep it short.

So install the launcher under "$RUNNER_TEMP/setup-msys2" and msys2 directly
under "$RUNNER_TEMP/msys64", so the path becomes "D:/a/_temp/msys64",
saving 5 characters.

This is motivated by a qt6 build error hitting the limit. Tough not sure if this is enough of a reduction to make it work... msys2/MINGW-packages#9716

We created a "msys" dir under RUNNER_TEMP and then added the launcher
there and install msys2 under "msys64".

This results in an install path of "D:/a/_temp/msys/msys64". Since these paths
might end up in command line arguments and those have length limits we should
try to keep it short.

So install the launcher under "$RUNNER_TEMP/setup-msys2" and msys2 directly
under "$RUNNER_TEMP/msys64", so the path becomes "D:/a/_temp/msys64",
saving 5 characters.
@eine
Copy link
Collaborator

eine commented Oct 13, 2021

Thanks!

jeromerobert added a commit to jeromerobert/hmat-oss that referenced this pull request Oct 20, 2021
jeromerobert added a commit to jeromerobert/hmat-oss that referenced this pull request Oct 20, 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.

2 participants