-
Notifications
You must be signed in to change notification settings - Fork 217
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
Update build instructions #3009
base: main
Are you sure you want to change the base?
Update build instructions #3009
Conversation
@Alexandr-Solovev @Vika-F could you review these changes, please |
set CC=icx | ||
set CXX=icx |
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.
I think the same exports are needed on Linux to build with icx.
nmake # This will compile and run generated svm examples | ||
cmake -G "NMake Makefiles" -DONEDAL_LINK=static # This wouldgenerate make for static version | ||
nmake # This will compile and run all the examples | ||
set CC=icx |
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.
May be it makes sense to add additional section about supported compilers. Like, user can build examples with export/set CC=gcc, but without sycl features?
I guess its better to add a comment that for CC and CXX all supported compilers can be chosen
cmake -G "Unix Makefiles" -DEXAMPLES_LIST=svm_two_class_thunder # This would generate makefiles for all svm examples matching passed name | ||
make # This will compile and run generated svm examples | ||
cmake -G "Unix Makefiles" -DONEDAL_LINK=static # This wouldgenerate make for static version | ||
make # This will compile and run all the examples |
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.
I haven't tried the windows version, but the linux one only compiles the examples without running them.
nmake # This will compile and run generated svm examples | ||
cmake -G "NMake Makefiles" -DONEDAL_LINK=static # This wouldgenerate make for static version | ||
nmake # This will compile and run all the examples | ||
set CC=icx |
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.
Do the examples require icx? As far as I'm aware, there shouldn't be any issue in building them with msvc if oneDAL was already built with icx.
cmake -G "NMake Makefiles" -DONEDAL_LINK=static # This wouldgenerate make for static version | ||
nmake # This will compile and run all the examples | ||
set CC=icx | ||
set CXX=icx |
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.
set CXX=icx | |
set CXX=icpx |
Description
Update build instructions for windows examples and fix minor errors in instructions
Checklist to comply with before moving PR from draft:
PR completeness and readability
Testing