diff --git a/.github/workflows/reusable_basic.yml b/.github/workflows/reusable_basic.yml index 22bf0ea505..d4d583bfd7 100644 --- a/.github/workflows/reusable_basic.yml +++ b/.github/workflows/reusable_basic.yml @@ -179,7 +179,8 @@ jobs: - name: Run tests working-directory: ${{env.BUILD_DIR}} run: | - LD_LIBRARY_PATH=${{env.BUILD_DIR}}/lib/ ctest --output-on-failure # run all tests for better coverage + ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh' || true }} + LD_LIBRARY_PATH="${{env.BUILD_DIR}}/lib/:${LD_LIBRARY_PATH}" ctest --output-on-failure - name: Check coverage if: ${{ matrix.build_type == 'Debug' && matrix.compiler.c == 'gcc' }} diff --git a/cmake/helpers.cmake b/cmake/helpers.cmake index d6f12031d6..02aaf5c71e 100644 --- a/cmake/helpers.cmake +++ b/cmake/helpers.cmake @@ -378,9 +378,6 @@ function(add_umf_library) elseif(LINUX) target_link_options(${ARG_NAME} PRIVATE "-Wl,--version-script=${ARG_LINUX_MAP_FILE}") - if(CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM") - target_link_options(${ARG_NAME} PRIVATE -no-intel-lib) - endif() endif() endif()