Skip to content
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

[bug] Fix oneDALConfig.cmake.in for daal examples using a daal-only build #2560

Merged
merged 4 commits into from
Nov 15, 2023

Conversation

icfaust
Copy link
Contributor

@icfaust icfaust commented Oct 25, 2023

Description

using a "make daal" oneDAL build with the daal examples will fail due to a missing onedal_parameters library. daal does not depend on this library, and so it erroneously will cause the cmake generation to fail. This change allows for daal-only builds to run examples.

Changes proposed in this pull request:

  • Add check for ONEDAL_INTERFACE for onedal_parameters

@icfaust
Copy link
Contributor Author

icfaust commented Oct 25, 2023

/intelci: run

@icfaust icfaust added the bug label Oct 25, 2023
@icfaust
Copy link
Contributor Author

icfaust commented Oct 26, 2023

/intelci: run

@icfaust icfaust requested a review from napetrov October 27, 2023 04:24
@icfaust
Copy link
Contributor Author

icfaust commented Oct 27, 2023

/intelci: run

@icfaust
Copy link
Contributor Author

icfaust commented Nov 3, 2023

/intelci: run

Copy link
Contributor

@Vika-F Vika-F left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me.
But there is a code freeze for oneDAL 2024.0.1 currently.
If those changes can be merged after the CF, please wait until the CF passes.

Copy link
Contributor

@napetrov napetrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but 2024.0.1 will be deployed only to conda/pypi and this fix is not supper relevant there.

although i don't see problems with merging it now if there is confidence

As a side question - should we add tests here in some way?

@icfaust
Copy link
Contributor Author

icfaust commented Nov 14, 2023

Good question, the cleanest way I would imagine would be to split the build step for daal and oneDAL, then test for daal-specific stuff in between.

@icfaust icfaust merged commit ee2cf56 into oneapi-src:master Nov 15, 2023
13 of 14 checks passed
@icfaust icfaust deleted the cmake_daal_examples_fix branch November 16, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants