add oneapi running time dlls to release package

This commit is contained in:
Zhang 2024-05-12 15:41:24 +08:00
parent b228aba91a
commit 6a3c7fe022

View file

@ -932,6 +932,17 @@ jobs:
id: pack_artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
run: |
echo "cp oneAPI running time dll files to ./build/bin"
cp ${ONEAPI_ROOT}/mkl/latest/bin/mkl_sycl_blas.4.dll ./build/bin
cp ${ONEAPI_ROOT}/mkl/latest/bin/mkl_core.2.dlll ./build/bin
cp ${ONEAPI_ROOT}/mkl/latest/bin/mkl_tbb_thread.2.dll ./build/bin
cp ${ONEAPI_ROOT}/compiler/latest/bin/pi_win_proxy_loader.dll ./build/bin
cp ${ONEAPI_ROOT}/compiler/latest/bin/pi_level_zero.dll ./build/bin
cp ${ONEAPI_ROOT}/compiler/latest/bin/sycl7.dll ./build/bin
cp ${ONEAPI_ROOT}/compiler/latest/bin/svml_dispmd.dll ./build/bin
cp ${ONEAPI_ROOT}/compiler/latest/bin/libmmd.dll ./build/bin
echo "cp oneAPI running time dll files to ./build/bin done"
7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/*
- name: Upload artifacts