This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch jenkins-wheel-test-artifacts
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/jenkins-wheel-test-artifacts
by this push:
new 0c852cf5e5 [CI] Preserve explicit ORCJIT setup for wheel consumers
0c852cf5e5 is described below
commit 0c852cf5e5336bd4a9ee0d0bf5406f59eed7f528
Author: Tianqi Chen <[email protected]>
AuthorDate: Thu Oct 15 02:39:21 2026 +0000
[CI] Preserve explicit ORCJIT setup for wheel consumers
---
ci/jenkins/README.md | 6 ++++--
tests/scripts/task_python_install_wheels.sh | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ci/jenkins/README.md b/ci/jenkins/README.md
index 84f7d8962b..f4a6a97e18 100644
--- a/ci/jenkins/README.md
+++ b/ci/jenkins/README.md
@@ -114,9 +114,11 @@ modifying the image environment or exposing the build
overlay to test consumers.
`uv build` then runs offline without isolation.
The selected images must already provide compatible runtime and test
dependencies,
-apart from apache-tvm-ffi. Consumers install the checkout's pinned FFI source
into
+apart from core FFI and its ORCJIT addon. Consumers install the checkout's
pinned FFI source into
the writable test environment with `--no-deps`, using its declared isolated
build
-requirements. They then install the transferred TVM wheel with `--no-deps
--offline`.
+requirements, plus the explicit `apache-tvm-ffi-orcjit==0.1.2 --no-deps`
prerequisite
+used by legacy Python tests. They then install the transferred TVM wheel with
+`--no-deps --offline`.
The checkout remains available for tests and resources through `TVM_HOME`,
including
Wasm assets under `web/dist`, without adding its Python package ahead of the
wheel. Provenance checks verify both TVM/native libraries and
source-built FFI load from the test environment; other missing runtime
dependencies
diff --git a/tests/scripts/task_python_install_wheels.sh
b/tests/scripts/task_python_install_wheels.sh
index ca580141e3..9fde7c743c 100644
--- a/tests/scripts/task_python_install_wheels.sh
+++ b/tests/scripts/task_python_install_wheels.sh
@@ -38,6 +38,8 @@ export PATH="$VIRTUAL_ENV/bin:$PATH"
# FFI declares its own isolated build requirements; do not reuse TVM's build
overlay.
export TVM_FFI_SOURCE="$TVM_HOME/3rdparty/tvm-ffi"
uv pip install --python "$VIRTUAL_ENV/bin/python3" --no-deps --reinstall
"$TVM_FFI_SOURCE"
+# Match the explicit prerequisite in the legacy Python test setup.
+uv pip install --python "$VIRTUAL_ENV/bin/python3" --no-deps
apache-tvm-ffi-orcjit==0.1.2
uv pip install --python "$VIRTUAL_ENV/bin/python3" --no-deps --offline
--reinstall \
"$TVM_WHEEL_DIR"/apache_tvm-*.whl
@@ -51,7 +53,7 @@ from pathlib import Path
from urllib.parse import unquote, urlparse
from packaging.requirements import Requirement
-# FFI comes from pinned source; other runtime dependencies remain image-owned.
+# Core FFI comes from pinned source and ORCJIT is pinned explicitly.
# Check the wheel requirements without invoking a resolver or hardcoding a
floor.
for text in requires("apache-tvm") or []:
requirement = Requirement(text)