diff --git a/.github/workflows/sycl_precommit.yml b/.github/workflows/sycl_precommit.yml index e9539f9a0d13a..16398a01113d1 100644 --- a/.github/workflows/sycl_precommit.yml +++ b/.github/workflows/sycl_precommit.yml @@ -8,6 +8,7 @@ on: paths-ignore: - '.github/ISSUE_TEMPLATE/**' - '.github/CODEOWNERS' + - '.github/workflows/sycl_update_gpu_driver.yml' - 'devops/containers/**' - 'devops/scripts/install_drivers.sh' - 'devops/scripts/install_build_tools.sh' diff --git a/.github/workflows/sycl_update_gpu_driver.yml b/.github/workflows/sycl_update_gpu_driver.yml index 4127bf873921f..fd6f56402e881 100644 --- a/.github/workflows/sycl_update_gpu_driver.yml +++ b/.github/workflows/sycl_update_gpu_driver.yml @@ -3,12 +3,21 @@ name: Update GPU driver on: schedule: - cron: '0 3 * * 2' + push: + branches: + - driver-upgrade + pull_request: + branches: + - sycl + paths: + - .github/workflows/sycl_update_gpu_driver.yml workflow_dispatch: jobs: update_driver_linux: runs-on: ubuntu-latest if: github.repository == 'intel/llvm' + environment: deps_uplift steps: - uses: actions/checkout@v2 - name: Update dependencies file @@ -18,41 +27,21 @@ jobs: - name: Create Pull Request env: BRANCH: ci/update_gpu_driver-linux-${{ env.NEW_DRIVER_VERSION }} - LLVMBOT_TOKEN: ${{ secrets.LLVM_MAIN_SYNC_BBSYCL_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.LLVM_MAIN_SYNC_BBSYCL_TOKEN }} + MYTOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} run: | cd $GITHUB_WORKSPACE - # Set fake identity to fulfil git requirements - git config --global user.name "GitHub Actions" - git config --global user.email "actions@github.com" + git config --global user.name "Buildbot for SYCL" + git config --global user.email "bb-sycl@github.com" git checkout -B $BRANCH git add -u - git commit -m "[GHA] Uplift GPU RT version for Linux CI" || exit 0 # exit if commit is empty - git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} ${BRANCH} + git commit -m "[GHA] Uplift Linux GPU RT version to $NEW_DRIVER_VERSION" || exit 0 # exit if commit is empty + echo AAAA + echo ${#BRANCH} + echo AAAAA + echo ${#MYTOKEN} + echo AAAAAA + git push https://$GITHUB_TOKEN@github.com/${{ github.repository }} ${BRANCH} + echo BBBB gh pr create --head $BRANCH --title "[GHA] Uplift GPU RT version for Linux CI" --body "Uplift GPU RT version for Linux to $NEW_DRIVER_VERSION" - - update_driver_linux_staging: - runs-on: ubuntu-latest - if: github.repository == 'intel/llvm' - steps: - - uses: actions/checkout@v2 - - name: Update dependencies file - run: | - version="$(python3 devops/scripts/update_drivers.py linux_staging)" - echo 'NEW_DRIVER_VERSION='$version >> $GITHUB_ENV - - name: Update sycl Branch - env: - BRANCH: ci/update_gpu_driver-linux_staging-${{ env.NEW_DRIVER_VERSION }} - LLVMBOT_TOKEN: ${{ secrets.LLVM_MAIN_SYNC_BBSYCL_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - cd $GITHUB_WORKSPACE - # Set fake identity to fulfil git requirements - git config --global user.name "GitHub Actions" - git config --global user.email "actions@github.com" - git checkout -B $BRANCH - git add -u - git commit -m "[GHA] Uplift GPU RT version for Nightly Builds" || exit 0 # exit if commit is empty - git push https://$LLVMBOT_TOKEN@github.com/${{ github.repository }} ${BRANCH} - gh pr create --head $BRANCH --title "[GHA] Uplift GPU RT version for Nightly Builds" --body "Uplift GPU RT version for Linux to $NEW_DRIVER_VERSION" - + echo CCCC diff --git a/devops/dependencies.json b/devops/dependencies.json index 792f5364a5b1a..2a4d49091fed1 100644 --- a/devops/dependencies.json +++ b/devops/dependencies.json @@ -1,15 +1,15 @@ { "linux": { "compute_runtime": { - "github_tag": "22.31.23852", - "version": "22.31.23852", - "url": "https://github.com/intel/compute-runtime/releases/tag/22.31.23852", + "github_tag": "22.32.23937", + "version": "22.32.23937", + "url": "https://github.com/intel/compute-runtime/releases/tag/22.32.23937", "root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu" }, "igc": { - "github_tag": "igc-1.0.11485", - "version": "1.0.11485", - "url": "https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.11485", + "github_tag": "igc-1.0.11702.1", + "version": "1.0.11702.1", + "url": "https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.11702.1", "root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu" }, "cm": {