fix: improve GCC version compatibility for C extension builds#3527
Open
GayathriSrividya wants to merge 1 commit into
Open
fix: improve GCC version compatibility for C extension builds#3527GayathriSrividya wants to merge 1 commit into
GayathriSrividya wants to merge 1 commit into
Conversation
- Add support for PYICEBERG_SKIP_CYTHON environment variable to allow skipping Cython extension build when compilation fails - Suppress implicit-function-declaration warnings that may occur with GCC 15+ to ensure compatibility with systems that don't have GCC 12.x specifically - Improve build robustness on systems with newer GCC versions while maintaining compatibility with existing versions - Fixes: apache#3259
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR improves compatibility with newer GCC versions (>= 13.x) that may have different compiler behavior or stricter warnings compared to GCC 12.x.
Changes
Motivation
Fixes #3259 - Builds were failing on systems with GCC versions newer than 12.x (e.g., Bazzite Linux with GCC 15) due to compiler incompatibilities. This fix makes the build more resilient to GCC version differences.
Testing
pytest tests/avro/test_decoder.py)closes #3259