Commit 1a9e91b
Error out if git symlink not enabled on Windows (#15905)
When I install executorch on windows I run into this error: error:
[Errno 2] No such file or directory:
'pip-out\\lib.win-amd64-cpython-312\\executorch\\version.py'
This is because we are not enabling symlink in git.
Need to run:
```
git config --global core.symlinks true
```
and reclone the repo.
This PR fails the installation when that happens.
Co-authored-by: Mengwei Liu <[email protected]>1 parent eb01d9d commit 1a9e91b
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
10 | 25 | | |
11 | 26 | | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
15 | | - | |
| 30 | + | |
| 31 | + | |
0 commit comments