Skip to content

Commit 44df1d6

Browse files
committed
Update
[ghstack-poisoned]
1 parent 46cf0e6 commit 44df1d6

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.ci/scripts/wheel/vc_env_helper.bat

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,22 @@ if "%args%" == "" (
4141
echo e.g. vc_env_helper.bat cl /c test.cpp
4242
)
4343

44-
REM Setup a symlink to shorten the path length.
45-
REM Note that the ET directory has to be named "executorch".
46-
set work_dir=%CD%
47-
cd %GITHUB_WORKSPACE%
48-
if not exist et (
49-
mkdir et
50-
)
51-
cd et
52-
if not exist executorch (
53-
mklink /d executorch %work_dir%
44+
echo "Evaluating symlink status. CWD: %CD%"
45+
if exist setup.py (
46+
echo "Creating symlink..."
47+
REM Setup a symlink to shorten the path length.
48+
REM Note that the ET directory has to be named "executorch".
49+
set work_dir=%CD%
50+
cd %GITHUB_WORKSPACE%
51+
if not exist et (
52+
mkdir et
53+
)
54+
cd et
55+
if not exist executorch (
56+
mklink /d executorch %work_dir%
57+
)
58+
cd executorch
5459
)
55-
cd executorch
60+
echo "Post symlink CWD: %CD%"
5661

5762
%args% || exit /b 1

0 commit comments

Comments
 (0)