diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ef0770f3fa2f..373609ebb0784 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -951,7 +951,8 @@ jobs: shell: bash env: - 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 + WINDOWS_BASEKIT_URL_2024: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/d91caaa0-7306-46ea-a519-79a0423e1903/w_BaseKit_p_2024.2.1.101_offline.exe + WINDOWS_BASEKIT_URL_2025: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b380d914-366b-4b77-a74a-05e3c38b3514/intel-oneapi-base-toolkit-2025.0.0.882_offline.exe WINDOWS_DPCPP_MKL: intel.oneapi.win.cpp-dpcpp-common:intel.oneapi.win.mkl.devel ONEAPI_ROOT: "C:/Program Files (x86)/Intel/oneAPI" steps: @@ -961,8 +962,11 @@ jobs: with: fetch-depth: 0 - - name: Install - run: scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_MKL + - name: Install Basekit 2024 + run: scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL_2024 $WINDOWS_DPCPP_MKL + + - name: Install Basekit 2025 + run: scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL_2025 $WINDOWS_DPCPP_MKL - name: Build id: cmake_build @@ -985,18 +989,24 @@ 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 in ${{ env.ONEAPI_ROOT }} to ./build/bin" - cp "${{ env.ONEAPI_ROOT }}/mkl/latest/bin/mkl_sycl_blas.4.dll" ./build/bin + echo "copying Intel oneAPI runtime libraries for 2024/2025 basekits in ${{ env.ONEAPI_ROOT }} to ./build/bin" + echo "copying 2024 base kit libraries to ./build/bin" + cp "${{ env.ONEAPI_ROOT }}/mkl/2024.2/bin/mkl_sycl_blas.4.dll" ./build/bin + cp "${{ env.ONEAPI_ROOT }}/compiler/2024.2/bin/sycl7.dll" ./build/bin + cp "${{ env.ONEAPI_ROOT }}/compiler/2024.2/bin/pi_win_proxy_loader.dll" ./build/bin + cp "${{ env.ONEAPI_ROOT }}/compiler/2024.2/bin/pi_level_zero.dll" ./build/bin + echo "copying 2025 base kit libraries to ./build/bin" + cp "${{ env.ONEAPI_ROOT }}/mkl/2025.0/bin/mkl_sycl_blas.5.dll" ./build/bin + cp "${{ env.ONEAPI_ROOT }}/compiler/2025.0/bin/sycl8.dll" ./build/bin + cp "${{ env.ONEAPI_ROOT }}/compiler/2025.0/bin/ur_win_proxy_loader.dll" ./build/bin + cp "${{ env.ONEAPI_ROOT }}/compiler/2025.0/bin/ur_adapter_level_zero.dll" ./build/bin + echo "copying shared base kit libraries to ./build/bin" cp "${{ env.ONEAPI_ROOT }}/mkl/latest/bin/mkl_core.2.dll" ./build/bin cp "${{ env.ONEAPI_ROOT }}/mkl/latest/bin/mkl_tbb_thread.2.dll" ./build/bin - - cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/pi_win_proxy_loader.dll" ./build/bin - cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/pi_level_zero.dll" ./build/bin - cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/sycl7.dll" ./build/bin cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/svml_dispmd.dll" ./build/bin cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/libmmd.dll" ./build/bin cp "${{ env.ONEAPI_ROOT }}/compiler/latest/bin/libiomp5md.dll" ./build/bin - echo "cp oneAPI running time dll files to ./build/bin done" + echo "copied Intel oneAPI runtime libraries for 2024/2025 basekits to ./build/bin" 7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/* - name: Upload artifacts