-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add support for building on Ubuntu 24.04 #119
Conversation
Add include for cstdint in error.h
Can this please be merged? This shouldn't break other builds. |
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.
Tested this patch works on Ubuntu 22.04 with GCC 14.1.1.
This is probably going to be required for all newer distros as well.
Hi @jmblixt3 , thanks for the contribution! @mc-nv @nv-kmcgill53 @fpetrini15 can you take a sanity check look here to make sure this is OK with RHEL, Windows, etc? |
@rmccorm4 I just tested compiling a simple program with this include in our RHEL base and Windows build base containers and didn't encounter any issues. |
My only question is: How was this compiling before? We have multiple references to the edit: I am fine with the change, just want to know why it's needed |
Seems to be something with gcc 14 specifically, it looks like our builds use gcc 11. Similar PR: NVIDIA/DALI#5591 |
I don't understand why this is a breaking change with a newer version of gcc. That seems like bad design. Approved. |
@jmblixt3 Have you filled out the Triton CCLA? I don't see your company or or user in our files. If not, can you please fill this out so we can merge your PR? Thanks! https://github.com/triton-inference-server/server/blob/main/Triton-CCLA-v1.pdf |
@nv-kmcgill53 Seems like some types were exposed in other headers like
|
Just did it |
Thank you for sending in your CLA and contributing to the Triton project. We have accepted it and can merge your PR at our discretion. |
Technically this PR is the correct behavior-- |
Add include for cstdint in error.h