-
-
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
Using libuuid to generate uuids #701
Conversation
🤖 Upon creation, pull request description does not have a link to an issue. If there is a related issue, please add it to the description using any of the supported formats. |
@gavv |
Yes. I think it can be added to all envs except env-ubuntu:nolibs (which is used to test build when no system dependencies are pre-installed). I guess it'd be same as https://github.com/roc-streaming/dockerfiles/pull/17/files Also, we need to add libuuid to build-3rdparty.py: https://github.com/roc-streaming/roc-toolkit/blob/develop/scripts/scons_helpers/build-3rdparty.py (The task has a link to example PR that adds a dependency there) build-3rdparty.py will be used when you run On CI, we should use |
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.
LGTM! Only one small comment.
I didn't understand this. Can you confirm that we should be building libuuid from source? Shouldn't we just be using what the distro has provided? I thought we were just either using the distro's libuuid or providing the ability to disable it. (Happy to try and build it from source, if needed.) |
Hi, sorry for delay.
Yes, but that's not done by default though. We have When it's used, internally we call User can tell scons to build any dependency of roc (or all of them). It is particularly useful in two cases:
This option exists just for convenience - this makes building roc from sources much easier for most users. In case of libuuid, I think it is available in every distro, so the main use case for auto-building it will be using --build-3rdparty=all when cross-compiling, e.g. like described here: https://roc-streaming.org/toolkit/docs/building/user_cookbook.html#linux-cross-compile |
d64bc67
to
5ff6371
Compare
Hi, I see that it's still WIP, just a few remarks:
|
Thanks for this. I'll pick it up. |
ec0f013
to
a9d8ccb
Compare
a9d8ccb
to
49718da
Compare
Thanks for completing this! 👍 |
@nolan-veed Hi, this was a low hanging fruit, so I just added a small fix and merged it until it started collecting conflicts :) Here is the follow-up commit: a65149c Thanks for the patch and welcome to proceed with other issues if you'll have time and interest. |
Ta. Interested still. I'll have some time to get back into this. |
Why
For #692
What
Testing
Added a success test case. Failure test case panics - so can't add one.