Skip to content

Commit b0f4e2a

Browse files
authored
Create build-version file in Windows libtorch builds (#769)
This matches the behavior of manywheel/build_libtorch.sh
1 parent 1289e9d commit b0f4e2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

windows/internal/setup.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ move /Y torch\test\*.* libtorch\test\
6666

6767
move /Y libtorch\bin\*.dll libtorch\lib\
6868

69+
echo "%PYTORCH_BUILD_VERSION%" > libtorch\build-version
6970
git rev-parse HEAD > libtorch\build-hash
7071

7172
IF "%DEBUG%" == "" (

0 commit comments

Comments
 (0)