Skip to content

Make umf_utils an interface library #391

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

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

igchor
Copy link
Member

@igchor igchor commented Mar 25, 2024

So that users of umf pools (which are static libraries) do not have to link with umf_utils themselves.

It's not possible to link static libraries to other static libraries.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly
  • CI workflows, not executed per PR (e.g. Nightly), execute properly
  • New tests added, especially if they will fail without my changes
  • Added/extended example(s) to cover this functionality
  • Extended the README/documentation
  • All newly added source files have a license
  • All newly added source files are referenced in CMake files
  • Logger (with debug/info/... messages) is used

@igchor igchor requested a review from a team as a code owner March 25, 2024 22:48
@igchor igchor marked this pull request as draft March 25, 2024 22:49
@igchor igchor force-pushed the utils_as_interface branch 5 times, most recently from 915065b to 32759d5 Compare March 26, 2024 02:12
So that users of umf pools (which are static libraries)
do not have to link with umf_utils themselves.

It's not possible to link static libraries to other
static libraries.
@igchor igchor force-pushed the utils_as_interface branch from 32759d5 to 20cf54f Compare March 26, 2024 02:14
@bratpiorka
Copy link
Contributor

@igchor I checked that with these changes oneCCL POC builds without any "unresolved symbol" errors. Please make it "ready to review" so I can merge it

Copy link
Contributor

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

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

👍

@igchor
Copy link
Member Author

igchor commented Mar 26, 2024

@igchor I checked that with these changes oneCCL POC builds without any "unresolved symbol" errors. Please make it "ready to review" so I can merge it

Ok, this seems to work with UR locally, I think we can merge it.

@igchor igchor marked this pull request as ready for review March 26, 2024 16:01
@bratpiorka bratpiorka merged commit 8bd1289 into oneapi-src:main Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants