-
Notifications
You must be signed in to change notification settings - Fork 6
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
Handle long module path names on Windows #20
Comments
I assume we should be able to apply this trick? |
Yes, but as changing the module name obscures the directory structure and makes debugging more difficult it would be highly preferable to only change the working directory where needed, i.e. on Windows. Working to determine whether this can be done by setting environment variables to persist across Github Actions steps. |
Worth investigating going up another directory here: ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml Lines 94 to 96 in 31f0dd5
i.e.
|
After fiddling for too long today with passing environment path names between shells (bash, command prompt, powershell) I've decided preserving non-offending module directory names is not worth more time for investigation in the short term. Preparing a PR to simply move the working source directory to |
An issue has been observed where attempting to build modules with very large path lengths exceeds the Windows path length constraint for cxx builds. A fix is introduced where all cxx builds will use the working directory "im" for a shorter length. See #20
See cxx failures due to long module name: https://github.com/KitwareMedical/ITKMorphologicalContourInterpolation/actions/runs/3622628311/jobs/6107569800
The text was updated successfully, but these errors were encountered: