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

Remove boost::filesystem from builds #6810

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Remove boost::filesystem from builds #6810

merged 2 commits into from
Jan 22, 2024

Conversation

rmccorm4
Copy link
Contributor

@rmccorm4 rmccorm4 commented Jan 19, 2024

@rmccorm4 rmccorm4 changed the title Remove boost::filesystem Remove boost::filesystem from builds Jan 19, 2024
@@ -974,7 +974,6 @@ def create_dockerfile_buildbase(ddir, dockerfile_name, argmap):
RUN wget -O /tmp/boost.tar.gz \
https://archives.boost.io/release/1.80.0/source/boost_1_80_0.tar.gz && \
(cd /tmp && tar xzf boost.tar.gz) && \
cd /tmp/boost_1_80_0 && ./bootstrap.sh --prefix=/usr && ./b2 install && \
Copy link
Contributor

Choose a reason for hiding this comment

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

May I ask you to briefly clarify where else boost is used and why we are keeping it here?

Copy link
Contributor Author

@rmccorm4 rmccorm4 Jan 19, 2024

Choose a reason for hiding this comment

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

We use the header-only boost libs (span in cache, interprocess_lock in python backend, stacktrace in server, and some others) in several places.

boost::filesystem was the only one that needed a runtime shared library requiring this extra bootstrap+install step.

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it, thanks

Copy link

@vadimkantorov vadimkantorov Jun 7, 2024

Choose a reason for hiding this comment

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

Is there still an external dependency on libboost? Or could these header-only libs be included in-tree? Also, what is now the minimal version of the needed boost? Does it work again with ubuntu-22.04-shipped boost 1.74?

@rmccorm4 rmccorm4 merged commit d1c8507 into main Jan 22, 2024
3 checks passed
@rmccorm4 rmccorm4 deleted the rmccormick-filesystem branch January 22, 2024 02:36
@rmccorm4
Copy link
Contributor Author

Passed L0_model_config and the relevant test_file_override_security subtest of L0_lifecycle.

@vadimkantorov
Copy link

boost is now not required, right? starting from what triton release?

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants