Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 4414fc6

Browse files
committed
[MacOs][LibTorch] Copy libomp.dylib into libtorch package
1 parent 49c4969 commit 4414fc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wheel/build_wheel.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ else
259259
else
260260
cp -r "$(pwd)/any_wheel/torch/lib/libiomp5.dylib" "$(pwd)/libtorch/lib/"
261261
fi
262+
else
263+
cp -r "$(pwd)/any_wheel/torch/lib/libomp.dylib" "$(pwd)/libtorch/lib/"
262264
fi
263265
rm -rf "$(pwd)/any_wheel"
264266

0 commit comments

Comments
 (0)