@@ -952,7 +952,7 @@ jobs:
952
952
953
953
env :
954
954
WINDOWS_BASEKIT_URL : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b380d914-366b-4b77-a74a-05e3c38b3514/intel-oneapi-base-toolkit-2025.0.0.882_offline.exe
955
- WINDOWS_DPCPP_MKL : intel.oneapi.win.cpp-dpcpp-common:intel.oneapi.win.mkl.devel
955
+ WINDOWS_DPCPP_MKL : intel.oneapi.win.cpp-dpcpp-common:intel.oneapi.win.mkl.devel:intel.oneapi.win.dnnl:intel.oneapi.win.tbb.devel
956
956
ONEAPI_ROOT : " C:/Program Files (x86)/Intel/oneAPI"
957
957
steps :
958
958
- name : Clone
@@ -962,7 +962,8 @@ jobs:
962
962
fetch-depth : 0
963
963
964
964
- name : Install
965
- run : scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_MKL
965
+ run : |
966
+ scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_MKL
966
967
967
968
- name : Build
968
969
id : cmake_build
@@ -981,27 +982,34 @@ jobs:
981
982
echo "name=${SAFE_NAME}-b${BUILD_NUMBER}-${SHORT_HASH}" >> $GITHUB_OUTPUT
982
983
fi
983
984
984
- - name : Pack artifacts
985
+ - name : Build the release package
985
986
id : pack_artifacts
986
- if : ${{ ( github.event_name == 'push ' && github.ref == 'refs/heads/ master' ) || github.event.inputs.create_release == 'true' }}
987
+ if : ${{ ( github.event_name == 'pull_request ' && github.base_ref == 'master' ) }}
987
988
run : |
988
989
echo "cp oneAPI running time dll files in ${{ env.ONEAPI_ROOT }} to ./build/bin"
990
+
989
991
cp "${{ env.ONEAPI_ROOT }}/mkl/latest/bin/mkl_sycl_blas.5.dll" ./build/bin
990
992
cp "${{ env.ONEAPI_ROOT }}/mkl/latest/bin/mkl_core.2.dll" ./build/bin
991
993
cp "${{ env.ONEAPI_ROOT }}/mkl/latest/bin/mkl_tbb_thread.2.dll" ./build/bin
992
994
995
+ cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/ur_adapter_level_zero.dll" ./build/bin
996
+ cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/ur_adapter_opencl.dll" ./build/bin
993
997
cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/ur_loader.dll" ./build/bin
994
998
cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/ur_win_proxy_loader.dll" ./build/bin
995
- cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/ur_adapter_level_zero.dll" ./build/bin
999
+
996
1000
cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/sycl8.dll" ./build/bin
997
1001
cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/svml_dispmd.dll" ./build/bin
998
1002
cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/libmmd.dll" ./build/bin
999
1003
cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/libiomp5md.dll" ./build/bin
1004
+
1005
+ cp "${{ env.ONEAPI_ROOT }}/dnnl/latest/bin/dnnl.dll" ./build/bin
1006
+ cp "${{ env.ONEAPI_ROOT }}/tbb/latest/bin/tbb12.dll" ./build/bin
1007
+
1000
1008
echo "cp oneAPI running time dll files to ./build/bin done"
1001
1009
7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/*
1002
1010
1003
- - name : Upload artifacts
1004
- if : ${{ ( github.event_name == 'push ' && github.ref == 'refs/heads/ master' ) || github.event.inputs.create_release == 'true' }}
1011
+ - name : Upload the release package
1012
+ if : ${{ ( github.event_name == 'pull_request ' && github.base_ref == 'master' ) }}
1005
1013
uses : actions/upload-artifact@v4
1006
1014
with :
1007
1015
path : llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip
0 commit comments