Skip to content

Conversation

@Avinash-Raj
Copy link
Contributor

@Avinash-Raj Avinash-Raj commented Dec 2, 2025

Relevant Issue: #138

Copy link
Contributor

@simoneves simoneves left a comment

Choose a reason for hiding this comment

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

LGTM but what is this for?

@Avinash-Raj
Copy link
Contributor Author

@simoneves I added the relevant issue, hope that helps.

@karthikeyann
Copy link
Contributor

@Avinash-Raj please update the presto Builds too.

Copy link
Contributor

@karthikeyann karthikeyann left a comment

Choose a reason for hiding this comment

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

upgrade to gcc-14 in presto images.

Copy link
Contributor

@mattgara mattgara left a comment

Choose a reason for hiding this comment

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

LGTM, just had one question about what looks to be a redundancy.

--mount=type=bind,source=velox,target=/presto_native_staging/presto/velox \
--mount=type=cache,target=${BUILD_BASE_DIR} \
source /opt/rh/gcc-toolset-14/enable && \
CC=/opt/rh/gcc-toolset-14/root/bin/gcc CXX=/opt/rh/gcc-toolset-14/root/bin/g++ \
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this line needed if

ENV CC=/opt/rh/gcc-toolset-14/root/bin/gcc
ENV CXX=/opt/rh/gcc-toolset-14/root/bin/g++

exists above? My understanding is this should already be in the environment?

Copy link
Contributor

Choose a reason for hiding this comment

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

Does the RUN automatically inherit that env? @Avinash-Raj 's change to the Velox one also explicitly sets CC and CXX in the RUN script.

Copy link
Contributor

@mattgara mattgara Dec 10, 2025

Choose a reason for hiding this comment

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

Yea, to be honest I'm not sure which one is redundant, but one of these seems redundant. It would be great if we could either

  1. confirm both are necessary OR
  2. confirm which of the two are redundant.

Copy link
Contributor

Choose a reason for hiding this comment

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

Testing with just the first ENV in a sub-branch (Presto)

Copy link
Contributor

Choose a reason for hiding this comment

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

keeping only ENV did not work, so i had to use CC and CXX again.
source is also unnecessary.

Copy link
Contributor

@simoneves simoneves Dec 10, 2025

Choose a reason for hiding this comment

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

Line 26 in the Presto file, at least, does indeed appear to be superfluous (see test sub-branch seves/avi/upate-velox-gcc-to-14 and https://github.com/rapidsai/velox-testing/actions/runs/20115821744)

Copy link
Contributor

Choose a reason for hiding this comment

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

@karthikeyann our comments collided... I made a sub-branch of Avi's without the CC=... CXX=... line lower down, and it works fine. See above. What did you change such that it DIDN'T work?

Copy link
Contributor

@karthikeyann karthikeyann Dec 11, 2025

Choose a reason for hiding this comment

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

@simoneves Thanks for confirming. Please commit your changed and merge.
remove non-required lines

@simoneves
Copy link
Contributor

FWIW, clean CI run here with this branch: https://github.com/rapidsai/velox-testing/actions/runs/20108345216

@Avinash-Raj Avinash-Raj merged commit ceadd90 into main Dec 11, 2025
@Avinash-Raj Avinash-Raj deleted the avi/upate-velox-gcc-to-14 branch December 11, 2025 06:21
@simoneves
Copy link
Contributor

@avi I meant for you to remove L26 in the Presto script, but never mind! We'll get it next time round! :)

@avi
Copy link

avi commented Dec 11, 2025 via email

@simoneves
Copy link
Contributor

@avi Oops! Sorry!

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.

6 participants