-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] correct Nightly-build, clean up ci files. #2920
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this pr! Btw, what do you think about renaming install_windows script, due to in real it install windows oneapi toolkit
set URL=%1 | ||
set COMPONENTS=%2 | ||
if "%2"=="" (set COMPONENTS=default) else (set COMPONENTS=%2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is set the default components of toolkit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: Install DPC++ | ||
shell: cmd | ||
run: | | ||
call .\.ci\scripts\install_windows.bat ${{ env.WINDOWS_BASEKIT_URL }} ${{ env.WINDOWS_ALL_COMPONENTS }} | ||
call .\.ci\scripts\install_windows.bat ${{ env.WINDOWS_BASEKIT_URL }} ${{ env.WINDOWS_ALL_COMPONENTS }} .\oneapi\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also as part of this work add variable for control version instead of hardcoding it
https://github.com/oneapi-src/oneDAL/pull/2920/files#diff-2ee59052448a421cff47b6ee98f786b57f3012d9f9132d37b9bde685a6266166R28
- name: Install DPC++ | ||
shell: cmd | ||
run: | | ||
call .\.ci\scripts\install_windows.bat ${{ env.WINDOWS_BASEKIT_URL }} ${{ env.WINDOWS_ALL_COMPONENTS }} | ||
call .\.ci\scripts\install_windows.bat ${{ env.WINDOWS_BASEKIT_URL }} ${{ env.WINDOWS_ALL_COMPONENTS }} .\oneapi\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, please update ci.yml file, because it also uses this install_windows.bat script
set MKL_FPK_GPU_VERSION_LINE=2024.0.0 | ||
call C:\temp\oneapi\compiler\latest\bin\sycl-ls.exe | ||
call .\oneapi\setvars.bat | ||
call .\oneapi\compiler\latest\bin\sycl-ls.exe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it really necessary here? Its a general question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the setvars yes, but the sycl ls isn't technically, just wanted to provide info.
Description
Generally hard-coding complete directories in a CI runner is a no-no.
OpenCL runtime is necessary for windows dpc testing in sklearnex
clean up windows_build.bat and add alternate install directory
remove unnecessary files which have been duplicated
create an environment variable to minimize maintenance