From 34dedc8af517b680eadb7dc2e29bc39c28889379 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Tue, 8 Oct 2024 09:48:43 +0200 Subject: [PATCH 1/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 7802a4bd541..c76c4863a4d 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -56,11 +56,14 @@ jobs: run: | source /opt/intel/oneapi/compiler/latest/env/vars.sh .ci/scripts/build.sh --compiler icx --optimizations avx2 --target onedal + - name: Compress items + run: | + tar -cvzf __release_lnx.tar.gz .\__release_lnx - name: Archive build uses: actions/upload-artifact@v4 with: name: __release_lnx - path: ./__release_lnx + path: ./__release_lnx.tar.gz build_win: name: oneDAL Windows nightly build @@ -108,20 +111,22 @@ jobs: call .\oneapi\setvars.bat call .\oneapi\compiler\latest\bin\sycl-ls.exe call .\.ci\scripts\build.bat onedal_dpc vc avx2 + - name: Compress items + shell: cmd + run: | + tar -cvzf oneapi.tar.gz .\oneapi + ren .\__release_win_vc .\__release_win + tar -cvzf __release_win.tar.gz .\__release_win - name: Archive build uses: actions/upload-artifact@v4 with: name: __release_win - path: .\__release_win_vc - - name: Compress DPC++ - shell: cmd - run: | - tar -cvzf icx.zip .\oneapi - - name: Archive DPC++ + path: .\__release_win.tar.gz + - name: Archive Intel BaseKit uses: actions/upload-artifact@v4 with: - name: icx_compiler - path: .\icx.zip + name: intel_oneapi_basekit + path: .\oneapi.tar.gz - name: Archive Intel OpenCL CPU runtime uses: actions/upload-artifact@v4 with: From 73c5cb4e9c6bac389b28767887c3457a510d9001 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Tue, 8 Oct 2024 09:53:52 +0200 Subject: [PATCH 2/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index c76c4863a4d..7402f67bd83 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -56,7 +56,7 @@ jobs: run: | source /opt/intel/oneapi/compiler/latest/env/vars.sh .ci/scripts/build.sh --compiler icx --optimizations avx2 --target onedal - - name: Compress items + - name: Compress build run: | tar -cvzf __release_lnx.tar.gz .\__release_lnx - name: Archive build @@ -111,10 +111,13 @@ jobs: call .\oneapi\setvars.bat call .\oneapi\compiler\latest\bin\sycl-ls.exe call .\.ci\scripts\build.bat onedal_dpc vc avx2 - - name: Compress items + - name: Compress Intel BaseKit shell: cmd run: | tar -cvzf oneapi.tar.gz .\oneapi + - name: Compress build + shell: cmd + run: | ren .\__release_win_vc .\__release_win tar -cvzf __release_win.tar.gz .\__release_win - name: Archive build From 601fafbea258c51bdb53d8caaa1bc7daf5b35dc6 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Tue, 8 Oct 2024 10:28:52 +0200 Subject: [PATCH 3/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 7402f67bd83..71c7ca023c5 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -31,7 +31,6 @@ env: jobs: build_lnx: name: oneDAL Linux nightly build - if: github.repository == 'oneapi-src/oneDAL' runs-on: ubuntu-22.04 timeout-minutes: 120 @@ -67,7 +66,6 @@ jobs: build_win: name: oneDAL Windows nightly build - if: github.repository == 'oneapi-src/oneDAL' runs-on: windows-2022 timeout-minutes: 120 From 5ac81d3d92431bd166c0d5b23e7631e1a99215d7 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Tue, 8 Oct 2024 10:32:16 +0200 Subject: [PATCH 4/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 71c7ca023c5..7402f67bd83 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -31,6 +31,7 @@ env: jobs: build_lnx: name: oneDAL Linux nightly build + if: github.repository == 'oneapi-src/oneDAL' runs-on: ubuntu-22.04 timeout-minutes: 120 @@ -66,6 +67,7 @@ jobs: build_win: name: oneDAL Windows nightly build + if: github.repository == 'oneapi-src/oneDAL' runs-on: windows-2022 timeout-minutes: 120 From 258604cc94a4ad1a16eccb419a102098b39e0e8c Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Wed, 9 Oct 2024 23:17:08 +0200 Subject: [PATCH 5/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 3ebe191a053..496fac45b06 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -114,14 +114,18 @@ jobs: - name: Compress Intel BaseKit shell: cmd run: | + # change absolute symlinks to relative symlinks for reuse (fix issue in Intel BaseKit) + # iterate through all dirs in basekit (%%s), use dir to find symlinks target which have name 'latest' (%%H) + # delete the symlink, and make a new symlink using the last foldername (%%~nxH) in a relative fashion + for /D %%s in (.\oneapi\*) do for /f "tokens=2 delims=[]" %%H in ('dir /al %%s\ ^| findstr /i /c:"latest"') do rmdir %%s\latest & mklink /D %%s\latest .\%%~nxH tar -cvzf oneapi.tar.gz .\oneapi - name: Compress build shell: cmd run: | - ren .\__release_win_vc .\__release_win - tar -cvzf __release_win.tar.gz .\__release_win + ren __release_win_vc __release_win + tar -cvzf __release_win.tar.gz __release_win - name: Archive build - uses: actions/upload-artifact@v4.4.0 + uses: actions/upload-artifact@v4 with: name: __release_win path: .\__release_win.tar.gz @@ -131,7 +135,7 @@ jobs: name: intel_oneapi_basekit path: .\oneapi.tar.gz - name: Archive Intel OpenCL CPU runtime - uses: actions/upload-artifact@v4.4.0 + uses: actions/upload-artifact@v4 with: name: opencl_rt_installer path: .\opencl_rt.msi From e8c08af92673624e4bf12349623c4e2c4aab82e3 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Wed, 9 Oct 2024 23:18:59 +0200 Subject: [PATCH 6/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 496fac45b06..ae0192a8bb8 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -115,7 +115,7 @@ jobs: shell: cmd run: | # change absolute symlinks to relative symlinks for reuse (fix issue in Intel BaseKit) - # iterate through all dirs in basekit (%%s), use dir to find symlinks target which have name 'latest' (%%H) + # iterate through all dirs in basekit (%%s), use dir to find the symlink target for symlinks named 'latest' (%%H) # delete the symlink, and make a new symlink using the last foldername (%%~nxH) in a relative fashion for /D %%s in (.\oneapi\*) do for /f "tokens=2 delims=[]" %%H in ('dir /al %%s\ ^| findstr /i /c:"latest"') do rmdir %%s\latest & mklink /D %%s\latest .\%%~nxH tar -cvzf oneapi.tar.gz .\oneapi From 3027adf0155a5fca48857a81ec8a1814241cf2e0 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Wed, 9 Oct 2024 23:21:32 +0200 Subject: [PATCH 7/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index ae0192a8bb8..695f0ccaa01 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -58,7 +58,7 @@ jobs: .ci/scripts/build.sh --compiler icx --optimizations avx2 --target onedal - name: Compress build run: | - tar -cvzf __release_lnx.tar.gz .\__release_lnx + tar -cvzf __release_lnx.tar.gz __release_lnx - name: Archive build uses: actions/upload-artifact@v4.4.0 with: From 337b15eaadefe4f3dfba70bf7abc8ee70b09b314 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Wed, 9 Oct 2024 23:38:54 +0200 Subject: [PATCH 8/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 695f0ccaa01..e66d15dc7f2 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -60,7 +60,7 @@ jobs: run: | tar -cvzf __release_lnx.tar.gz __release_lnx - name: Archive build - uses: actions/upload-artifact@v4.4.0 + uses: actions/upload-artifact@v4 with: name: __release_lnx path: ./__release_lnx.tar.gz From e7c3c84840b7206243d0c43f90aacdcac1fb31ce Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Thu, 17 Oct 2024 07:19:53 +0200 Subject: [PATCH 9/9] Update nightly-build.yml --- .github/workflows/nightly-build.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 0ebaf0185eb..fd0c028c8cd 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -56,14 +56,11 @@ jobs: run: | source /opt/intel/oneapi/compiler/latest/env/vars.sh .ci/scripts/build.sh --compiler icx --optimizations avx2 --target onedal - - name: Compress build - run: | - tar -cvzf __release_lnx.tar.gz __release_lnx - name: Archive build uses: actions/upload-artifact@v4 with: name: __release_lnx - path: ./__release_lnx.tar.gz + path: ./__release_lnx build_win: name: oneDAL Windows nightly build @@ -115,16 +112,11 @@ jobs: # delete the symlink, and make a new symlink using the last foldername (%%~nxH) in a relative fashion for /D %%s in (.\oneapi\*) do for /f "tokens=2 delims=[]" %%H in ('dir /al %%s\ ^| findstr /i /c:"latest"') do rmdir %%s\latest & mklink /D %%s\latest .\%%~nxH tar -cvzf oneapi.tar.gz .\oneapi - - name: Compress build - shell: cmd - run: | - ren __release_win_vc __release_win - tar -cvzf __release_win.tar.gz __release_win - name: Archive build uses: actions/upload-artifact@v4 with: name: __release_win - path: .\__release_win.tar.gz + path: .\__release_win - name: Archive Intel BaseKit uses: actions/upload-artifact@v4 with: