Skip to content

[GLUTEN-11885][VL] Respect custom Velox home in build info generation#11903

Open
officialasishkumar wants to merge 1 commit intoapache:mainfrom
officialasishkumar:fix/11885-velox-home-build-info
Open

[GLUTEN-11885][VL] Respect custom Velox home in build info generation#11903
officialasishkumar wants to merge 1 commit intoapache:mainfrom
officialasishkumar:fix/11885-velox-home-build-info

Conversation

@officialasishkumar
Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

Fixes #11885.

dev/gluten-build-info.sh was hardcoding the Velox checkout path when writing build metadata, so builds done against a custom Velox source tree still reported the default bundled path.

This change makes the script resolve the Velox checkout in the following order:

  • explicit --backend_home / --velox_home override
  • exported VELOX_HOME
  • VELOX_HOME recorded in cpp/build/CMakeCache.txt
  • the previous default bundled path

The script now also parses arguments before writing the properties file so backend-home overrides are order-independent.

How was this patch tested?

  • bash -n dev/gluten-build-info.sh
  • local shell validation with a temporary git repo acting as a fake Velox checkout, covering:
    • explicit --backend_home
    • VELOX_HOME environment fallback
    • cpp/build/CMakeCache.txt fallback

Was this patch authored or co-authored using generative AI tooling?

No

Make gluten-build-info.sh resolve the Velox checkout from explicit overrides, the VELOX_HOME environment variable, and cpp/build/CMakeCache.txt before falling back to the hardcoded default path.

The script now parses all arguments before writing the properties file so backend-home overrides are order-independent.
@github-actions github-actions bot added the BUILD label Apr 9, 2026
@FelixYBW
Copy link
Copy Markdown
Contributor

duplicated with #11905?

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.

[VL] User-specified Velox home path is not respected by gluten-build-info.sh

2 participants