Skip to content

[CI] Build and consume source wheel artifacts across Jenkins platforms - #20750

Open
tqchen wants to merge 3 commits into
mainfrom
jenkins-wheel-test-artifacts
Open

tqchen wants to merge 3 commits into
mainfrom
jenkins-wheel-test-artifacts

Conversation

@tqchen

@tqchen tqchen commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Build pinned-source FFI, TIRx and TVM wheels in Jenkins and transfer the three packages through dist/. A single build-dependency script prepares writable backend and Z3 prerequisites in .local/python; Groovy calls the root platform build script and prints cache statistics.

Root platform scripts own the complete platform options and three direct wheel builds in FFI, TIRx, TVM order. All three use the same root CMake source/build tree, native settings and source version; fixed tvm_ffi, tvm_tirx and tvm install components select each package's payload. Run enabled C++ tests from that shared native tree. Retain standalone TIRx platform scripts for future independent use; Wasm orchestration remains in parent TVM.

Source the small wheel-installation script before test commands in Groovy. It installs the three package-prefix globs offline without dependency resolution into .local/python, keeps the pinned ORCJIT prerequisite, and exports installed-package paths and source resources. Python, docs, Java and Wasm entrypoints use that caller-provided environment. Java discovers native artifacts through package configuration, and relative library paths keep the separate packages relocatable.

Use image compiler wrappers, IAM-role S3 caching, existing parallel bounds and Docker environment forwarding. Preserve Jenkins retry behavior and optional GPU shared-library packaging. Resolve OpenCL headers through the configured SDK or pinned CMake FetchContent when OpenCL is enabled, replacing the header submodule. Build macOS and Windows parent wheels against the explicitly installed local TIRx artifact. Remove redundant CI/build wrappers and document direct development commands.

@tqchen
tqchen force-pushed the jenkins-wheel-test-artifacts branch 3 times, most recently from 775948a to eb91dac Compare October 15, 2026 23:39
@tqchen
tqchen force-pushed the jenkins-wheel-test-artifacts branch from eb91dac to 79436a7 Compare October 16, 2026 00:27

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants