From d75790e3065203fee7bd794a4a809e04318f326d Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Mon, 2 Dec 2024 14:27:21 +0800 Subject: [PATCH] Restore env to support tbb Signed-off-by: Xin Wang Signed-off-by: Xin Wang --- .github/workflows/dev_cpu_linux_snippets_libxsmm.yml | 2 ++ .github/workflows/job_cpu_functional_tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml b/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml index ab003f80ee5726..ba458da5d3ec1a 100644 --- a/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml +++ b/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml @@ -318,6 +318,8 @@ jobs: if [[ -f "${INSTALL_DIR}/setupvars.sh" ]]; then source ${INSTALL_DIR}/setupvars.sh fi + # Needed as ze_loader.so is under INSTALL_TEST_DIR + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${INSTALL_TEST_DIR} python3 ${PARALLEL_TEST_SCRIPT} -e ${INSTALL_TEST_DIR}/ov_cpu_func_tests -w ${INSTALL_TEST_DIR} -s suite -rf 0 -- --gtest_filter=*smoke_Snippets*:*smoke_MHA* --gtest_print_time=1 timeout-minutes: 25 diff --git a/.github/workflows/job_cpu_functional_tests.yml b/.github/workflows/job_cpu_functional_tests.yml index 6f67a086922b79..0366ec47ff437e 100644 --- a/.github/workflows/job_cpu_functional_tests.yml +++ b/.github/workflows/job_cpu_functional_tests.yml @@ -102,6 +102,8 @@ jobs: if [[ -f "${INSTALL_DIR}/setupvars.sh" ]]; then source ${INSTALL_DIR}/setupvars.sh fi + # Needed as ze_loader.so is under INSTALL_TEST_DIR + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${INSTALL_TEST_DIR} python3 ${PARALLEL_TEST_SCRIPT} -e ${INSTALL_TEST_DIR}/ov_cpu_func_tests -c ${PARALLEL_TEST_CACHE} -w ${INSTALL_TEST_DIR} -s suite -rf 0 -- --gtest_print_time=1 --gtest_filter=*smoke* timeout-minutes: 25