Skip to content

build(cudf): Require GCC >= 13.3 for cuDF builds#15986

Closed
bdice wants to merge 2 commits intofacebookincubator:mainfrom
bdice:build/cudf-require-gcc-13.3
Closed

build(cudf): Require GCC >= 13.3 for cuDF builds#15986
bdice wants to merge 2 commits intofacebookincubator:mainfrom
bdice:build/cudf-require-gcc-13.3

Conversation

@bdice
Copy link
Copy Markdown
Collaborator

@bdice bdice commented Jan 12, 2026

Summary

  • Adds a compiler check when VELOX_ENABLE_CUDF is enabled
  • Fails with a fatal error if the compiler is not GCC
  • Fails with a fatal error if GCC version is less than 13.3

@bdice bdice requested a review from majetideepak as a code owner January 12, 2026 17:21
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 12, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 12, 2026

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 3a84de2
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/6966368d424d640008898bce

Copy link
Copy Markdown
Collaborator

@majetideepak majetideepak left a comment

Choose a reason for hiding this comment

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

Thank you, @bdice

@majetideepak majetideepak added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Jan 12, 2026
@karthikeyann karthikeyann added the cudf cudf related - GPU acceleration label Jan 12, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Jan 12, 2026

@kevinwilfong has imported this pull request. If you are a Meta employee, you can view this in D90518541.

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Jan 13, 2026

@kevinwilfong merged this pull request in 6218c09.

czentgr added a commit to prestodb/presto that referenced this pull request Jan 15, 2026
Velox PR github.com/facebookincubator/velox/pull/15986 introduces a
check on the compiler version.
The dependency image ships with gcc12, gcc14 and clang21 but only builds
with gcc12.
If the GPU support is enabled (PRESTO_ENABLE_CUDF) the build will fail.

This PR adds a check if this config is used and switches to gcc14 if
this is the case.


## Description
<!---Describe your changes in detail-->

## Motivation and Context
<!---Why is this change required? What problem does it solve?-->
<!---If it fixes an open issue, please link to the issue here.-->

## Impact
<!---Describe any public API or user-facing feature change or any
performance impact-->

## Test Plan
<!---Please fill in how you tested your change-->

## Contributor checklist

- [ ] Please make sure your submission complies with our [contributing
guide](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md),
in particular [code
style](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#code-style)
and [commit
standards](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#commit-standards).
- [ ] PR description addresses the issue accurately and concisely. If
the change is non-trivial, a GitHub Issue is referenced.
- [ ] Documented new properties (with its default value), SQL syntax,
functions, or other functionality.
- [ ] If release notes are required, they follow the [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines).
- [ ] Adequate tests were added if applicable.
- [ ] CI passed.
- [ ] If adding new dependencies, verified they have an [OpenSSF
Scorecard](https://securityscorecards.dev/#the-checks) score of 5.0 or
higher (or obtained explicit TSC approval for lower scores).

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
karthikeyann pushed a commit to karthikeyann/velox that referenced this pull request Jan 24, 2026
…5986)

Summary:
- Adds a compiler check when `VELOX_ENABLE_CUDF` is enabled
- Fails with a fatal error if the compiler is not GCC
- Fails with a fatal error if GCC version is less than 13.3

Pull Request resolved: facebookincubator#15986

Reviewed By: peterenescu

Differential Revision: D90518541

Pulled By: kevinwilfong

fbshipit-source-id: 485f31bbb2d913ee1a70c4e7dc9683de1b6f7b8c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. cudf cudf related - GPU acceleration Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants