Skip to content

Conversation

@ajpotts
Copy link
Contributor

@ajpotts ajpotts commented Dec 18, 2025

Add an optional PIC flag to the Arrow utility compile rule so packagers can enable -fPIC when needed. This allows Spack to pass -fPIC without carrying a downstream patch, while preserving the default build behavior.

Closes #5187: fPIC option for arrow make

@ajpotts ajpotts requested a review from jabraham17 December 18, 2025 23:15
Copy link
Contributor

@jabraham17 jabraham17 left a comment

Choose a reason for hiding this comment

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

The diff does not make sense when compared to #5167. I suggest just applying PIC/ARROW_PIC to that PR, or doing this PR as a commit on top of that one

@@ -0,0 +1,39 @@
PIC ?=
Copy link
Contributor

Choose a reason for hiding this comment

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

I recommend ARROW_PIC as the variable name, to make it clear its only being applied to arrow

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Changed it.

@ajpotts ajpotts force-pushed the 5187_fPIC_option_for_arrow_make branch from 71c0064 to 11c21ba Compare December 19, 2025 11:42
@ajpotts ajpotts marked this pull request as ready for review December 22, 2025 17:30
@ajpotts ajpotts marked this pull request as draft December 22, 2025 17:31
@ajpotts ajpotts force-pushed the 5187_fPIC_option_for_arrow_make branch from 4e96037 to ddadd5c Compare December 22, 2025 17:35
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.

fPIC option for arrow make

2 participants