Skip to content

Commit

Permalink
find gomp lib
Browse files Browse the repository at this point in the history
  • Loading branch information
meiyang-intel committed May 14, 2024
1 parent f1cc8c0 commit f215d4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/job_python_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ jobs:
if [[ "${{ runner.os }}" == "Linux" ]] && [[ "${{ runner.arch }}" == "ARM64" ]]; then
# Find gomp lib
GOMP_LIB=$(find "${PIP_INSTALL_PATH}/torch/lib/../../torch.libs/" -name '*libgomp-*so*')
export LD_PRELOAD=${GOMP_LIB}
GOMP_LIB_GLOBAL=$(ldconfig -p | grep libgomp | grep AArch64 | awk '{print $4}')
export LD_PRELOAD=${GOMP_LIB}:${GOMP_LIB_GLOBAL}
echo "${LD_PRELOAD}"
fi
python3 -m pytest ${LAYER_TESTS_INSTALL_DIR}/ovc_python_api_tests --junitxml=${INSTALL_TEST_DIR}/TEST-test_ovc_convert.xml
Expand Down

0 comments on commit f215d4f

Please sign in to comment.