Commit bc8b850
COMP: Shorten Windows build root to stay under ITK path limit
Instead of unconditionally skipping ITK's path length checks, shorten
the build directory path on Windows using a directory junction. The
repo name is stripped of its "ITK" prefix and truncated to 12 characters
(e.g. ITKFixedPointInverseDisplacementField → FixedPointIn), then a
junction D:\<short> → D:\a\<full-repo-name> provides a short root for
ITK clone, build, and CTest dashboard directories.
This keeps ITK's 50-character path validation active as a safety check
while ensuring long-named remote module repos can build on Windows CI.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c423d5b commit bc8b850
1 file changed
Lines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
79 | 103 | | |
80 | 104 | | |
81 | 105 | | |
| |||
118 | 142 | | |
119 | 143 | | |
120 | 144 | | |
121 | | - | |
| 145 | + | |
122 | 146 | | |
123 | 147 | | |
124 | 148 | | |
| |||
127 | 151 | | |
128 | 152 | | |
129 | 153 | | |
130 | | - | |
| 154 | + | |
131 | 155 | | |
132 | 156 | | |
133 | 157 | | |
| |||
152 | 176 | | |
153 | 177 | | |
154 | 178 | | |
155 | | - | |
| 179 | + | |
156 | 180 | | |
157 | 181 | | |
158 | 182 | | |
| |||
187 | 211 | | |
188 | 212 | | |
189 | 213 | | |
190 | | - | |
| 214 | + | |
191 | 215 | | |
192 | | - | |
| 216 | + | |
193 | 217 | | |
194 | 218 | | |
195 | 219 | | |
| |||
0 commit comments