Skip to content

chore: change default value of ENABLE_INTEL_MKL to OFF and trigger Python Build X86 on CMake changes#1806

Open
Copilot wants to merge 2 commits intomainfrom
copilot/change-default-value-enable-intel-mkl
Open

chore: change default value of ENABLE_INTEL_MKL to OFF and trigger Python Build X86 on CMake changes#1806
Copilot wants to merge 2 commits intomainfrom
copilot/change-default-value-enable-intel-mkl

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

  • Add a dedicated CMake-related change filter in .github/workflows/pr-ci.yml
  • Update Python Build X86 to trigger on Python changes or CMake-related changes only
  • Update Test Python X86 to match the same narrowed trigger condition
  • Run validation

…thon Build X86 in PR

Agent-Logs-Url: https://github.com/antgroup/vsag/sessions/43c971b0-db46-4915-81b7-ebab4dc3090b

Co-authored-by: wxyucs <12595343+wxyucs@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 8, 2026 08:47
Copilot AI review requested due to automatic review settings April 8, 2026 08:47
Copilot AI requested review from Copilot and wxyucs and removed request for Copilot April 8, 2026 08:57
@wxyucs wxyucs marked this pull request as ready for review April 8, 2026 09:04
Copilot AI review requested due to automatic review settings April 8, 2026 09:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates VSAG’s build defaults to disable Intel MKL by default and refines PR CI change-detection so the x86 Python wheel build/test jobs run when Python or CMake/build-system files change.

Changes:

  • Default ENABLE_INTEL_MKL / VSAG_ENABLE_INTEL_MKL to OFF in CMake + Makefile, and update developer docs accordingly.
  • Add a dedicated cmake paths-filter output in PR CI.
  • Trigger Python Build X86 and Test Python X86 when python or cmake changes are detected.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
Makefile Switches the Makefile default MKL toggle to OFF.
DEVELOPMENT.md Updates documented default for ENABLE_INTEL_MKL to OFF.
cmake/VSAGOptions.cmake Changes CMake option default for ENABLE_INTEL_MKL to OFF.
.github/workflows/pr-ci.yml Adds cmake change detection and uses it to gate Python x86 build/test jobs.

Comment on lines 110 to 114
build-python-x86:
name: Python Build X86
needs: [changes, format]
if: needs.changes.outputs.python == 'true'
if: needs.changes.outputs.python == 'true' || needs.changes.outputs.cmake == 'true'
runs-on: ubuntu-22.04
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

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

The PR title indicates “Python Build X86” should trigger on C++ changes, but this if: condition only triggers on python or cmake path filters. Please align the PR title (or the condition) so the metadata matches the actual CI behavior and reviewers/users aren’t misled.

Copilot uses AI. Check for mistakes.
@wxyucs wxyucs changed the title chore: change default value of ENABLE_INTEL_MKL to OFF and trigger Python Build X86 on cpp changes chore: change default value of ENABLE_INTEL_MKL to OFF and trigger Python Build X86 on CMake changes Apr 8, 2026
@wxyucs wxyucs added version/1.0 kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) labels Apr 8, 2026
Copy link
Copy Markdown
Collaborator

@LHT129 LHT129 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) size/S version/1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants