Skip to content

Try to shorten the release install path a bit#163

Merged
eine merged 1 commit intomsys2:masterfrom
lazka:shorten-path
Oct 13, 2021
Merged

Try to shorten the release install path a bit#163
eine merged 1 commit intomsys2:masterfrom
lazka:shorten-path

Conversation

@lazka
Copy link
Copy Markdown
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
Copy Markdown
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