Skip to content

[VL] Check VELOX_HOME variable in build_arrow to allow custom Velox path#10865

Merged
PHILO-HE merged 1 commit intoapache:mainfrom
liujiayi771:fix-velox-home
Oct 11, 2025
Merged

[VL] Check VELOX_HOME variable in build_arrow to allow custom Velox path#10865
PHILO-HE merged 1 commit intoapache:mainfrom
liujiayi771:fix-velox-home

Conversation

@liujiayi771
Copy link
Contributor

What changes are proposed in this pull request?

The build_arrow function should check the value of VELOX_HOME to determine whether it needs to execute get_velox && setup_dependencies.

Currently, if the user provides a custom VELOX_HOME path (pointing to an external Velox installation), the script still unconditionally runs get_velox && setup_dependencies, which is redundant and inefficient.

The default value of VELOX_HOME is $GLUTEN_DIR/ep/build-velox/build/velox_ep

How was this patch tested?

N/A

@liujiayi771
Copy link
Contributor Author

@PHILO-HE, @zhouyuan Could you help to review?

Copy link
Member

@PHILO-HE PHILO-HE left a comment

Choose a reason for hiding this comment

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

The changes make sense. Thanks.

@PHILO-HE PHILO-HE changed the title [VL] Check VELOX_HOME variable in build_arrow [VL] Check VELOX_HOME variable in build_arrow to allow custom Velox path Oct 11, 2025
@PHILO-HE PHILO-HE merged commit ac9833f into apache:main Oct 11, 2025
55 checks passed
@liujiayi771 liujiayi771 deleted the fix-velox-home branch October 11, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants