Skip to content

Commit b930a55

Browse files
authored
fix failures in test_aot_compilation() due to #1064 (#1092)
1 parent 5fba5bb commit b930a55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.jenkins/pytorch/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ test_libtorch() {
304304

305305
test_aot_compilation() {
306306
echo "Testing Ahead of Time compilation"
307+
ln -sf "$TORCH_LIB_DIR"/libc10* "$TORCH_BIN_DIR"
308+
ln -sf "$TORCH_LIB_DIR"/libtorch* "$TORCH_BIN_DIR"
309+
307310
if [ -f "$TORCH_BIN_DIR"/test_mobile_nnc ]; then "$TORCH_BIN_DIR"/test_mobile_nnc --gtest_output=xml:$TEST_REPORTS_DIR/test_mobile_nnc.xml; fi
308311
# shellcheck source=test/mobile/nnc/test_aot_compile.sh
309312
if [ -f "$TORCH_BIN_DIR"/aot_model_compiler_test ]; then source test/mobile/nnc/test_aot_compile.sh; fi

0 commit comments

Comments
 (0)