Repository navigation
[4.2-dev] fix(build): use Go 1.26.4 for SIMD builds - #33001
Merged
Merged
Conversation
…md API Go 1.27 removed the deprecated simd/archsimd helpers that 4.2-dev's GOEXPERIMENT=simd kernels still call, so the rebuilt Go 1.27 ci-builder image can no longer compile pkg/vectorindex/metric (#33000). Port the mechanical migration from main #29496: 132 Load*Slice->Load renames and 5 Store(&arr)->StoreArray(&arr) call sites across the 7 amd64 kernel files, and raise the toolchain floor to go 1.27.0, matching main. Kernel math and CPU dispatch unchanged. Fixes #33000
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Contributor
|
This pull request is merged. |
The root module now declares go >= 1.27.0 (#33001); the iceberg submodule builds against the root module via replace, so its go directive must not stay below the root's.
The shared Go 1.27 builder removed the Go 1.26 archsimd API. Restore both module versions and the release kernels, and select the root module toolchain for SIMD builds so the shared container and source fallback compile the same code.
XuPeng-SH
added a commit
to jiangxinmeng1/matrixone
that referenced
this pull request
Dec 1, 2026
Drop the backport-specific SIMD workaround superseded by matrixorigin#33001. Use the release Makefile to select the toolchain in go.mod and generate matching service and unit test coverage blocks.
XuPeng-SH
added a commit
to jiangxinmeng1/matrixone
that referenced
this pull request
Dec 2, 2026
Drop the backport-specific SIMD workaround superseded by matrixorigin#33001. Use the release Makefile to select the toolchain in go.mod and generate matching service and unit test coverage blocks.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #33000
What this PR does / why we need it:
The shared CI builder now ships Go 1.27.0. Its experimental
simd/archsimdAPI no longer provides the slice loads and pointer-based stores used by the 4.2-dev vector kernels.For SIMD builds, the Makefile now uses the exact Go toolchain version declared in the root
go.mod. Both modules keep Go 1.26.4 and the existing vector kernels stay in place. The binary's version metadata uses the selected compiler. The release runner can use its bundled Go 1.26.4. The shared builder can use a cached copy or obtain the toolchain through its configured Go proxy.Validation
archsimderrors with the Go 1.27.0 launcher.make build GOBUILD_OPT=-coverwith that same launcher and an available Go 1.26.4 toolchain. The binary built successfully. Its build info reported Go 1.26.4,GOAMD64=v3andGOEXPERIMENT=simd. Themo-service -versionoutput also reported Go 1.26.4.