You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change also renamed our Boost dependency name to "Boost" from
"BOOST". It means that users need to use -DBoost_SOURCE not
-DBOOST_SOURCE. To keep backward compatibility, -DBOOST_SOURCE is
still accepted when -DBoost_SOURCE isn't specified.
Users also need to use -Dre2_SOURCE not -DRE2_SOURCE. To keep backward
compatibility, -DRE2_SOURCE is still accepted when -Dre2_SOURCE isn't
specified.
I would love to have this kind of case-insensitive handling for all dependencies. This has tripped me up many times and it is difficult to explain to others why everything else is ALL_CAPS but these dependencies are a mix.
Because of consistency.
If we use ARROW_${UPPERCASE_DEPENDENCY_NAME}_SOURCE not ${UPPERCASE_DEPENDENCY_NAME}_SOURCE, we can explain that you can customize how to use ${DEPENDENCY} by ARROW_${UPPERCASE_DEPENDENCY_NAME}_{SOURCE,USE_SHARED} CMake variables. It'll more intuitive than using ${UPPERCASE_DEPENDENCY_NAME}_SOURCE and ARROW_${UPPERCASE_DEPENDENCY_NAME}_USE_SHARED.
Uwe Korn / @xhochy:
I would suggest to use ARROW_${UPPERCASE_DEPENDENCY_NAME}_SOURCE to be in line with the USE_SHARED. I don't have a strong preference regarding the uppercasing but the ARROW_ prefix is important to separate it from variables that are used in the Find*.cmake scripts.
Todd Farmer / @toddfarmer:
This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.
Apache Arrow JIRA Bot:
This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per project policy. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.
This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.
Activity
asfimport commentedon Dec 15, 2020
Kouhei Sutou / @kou:
@xhochy What do you think about this?
asfimport commentedon Jan 10, 2021
Uwe Korn / @xhochy:
I would suggest to use
ARROW_${UPPERCASE_DEPENDENCY_NAME}_SOURCEto be in line with theUSE_SHARED. I don't have a strong preference regarding the uppercasing but theARROW_prefix is important to separate it from variables that are used in theFind*.cmakescripts.asfimport commentedon Jul 12, 2022
Todd Farmer / @toddfarmer:
This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.
asfimport commentedon Oct 11, 2022
Apache Arrow JIRA Bot:
This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per project policy. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.
kou commentedon Feb 25, 2025
We may want to enable https://cmake.org/cmake/help/latest/policy/CMP0144.html when we work on this.
wgtmac commentedon Feb 26, 2025
CMP0144 requires CMake 3.27 so we have to wait?
kou commentedon Feb 26, 2025
We don't need to wait CMake 3.27. We can emulate this easily by something like:
wgtmac commentedon Feb 26, 2025
That sounds good!
github-actions commentedon Feb 26, 2026
This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.