Skip to content

[REFACTOR] Simplify TIRx CMake and package installation - #20751

Merged
tqchen merged 2 commits into
apache:mainfrom
tqchen:simplify-tirx-cmake-declarations
Oct 15, 2026
Merged

tqchen merged 2 commits into
apache:mainfrom
tqchen:simplify-tirx-cmake-declarations

Conversation

@tqchen

@tqchen tqchen commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Give TVM and TIRx fixed install components so each package owns its headers, libraries, and support files in standalone and embedded builds. Each wheel selects its package component, and the parent no longer duplicates TIRx installation rules.

Scope TIRx compilation policy to its core and backend object/library targets, preserving embedding-project and bundled-FFI settings. Attach thread-pool requirements directly to runtime targets, retain GNU and Intel OpenMP selection, and isolate LLVM signature detection from parent compilation defaults.

Use typed native option declarations, explicit module includes, a shared-script source pattern, documented installation sections, and only the parent exports with consumers. Keep the installed package's shared-library interface and explicit FFI linkage.

Scope compilation policy and thread-pool dependencies to TIRx targets, including their object libraries. Keep LLVM signature detection independent of parent compilation defaults.

Use typed native option declarations, explicit module includes, shared-script patterns, documented install sections, and minimal parent exports.
Register package-owned payloads in standalone and embedded builds, and select the fixed component for each wheel. Keep TIRx installation in its source directory and TVM runtime extensions in the parent package.
@tqchen tqchen changed the title [REFACTOR] Simplify TIRx CMake declarations and target configuration [REFACTOR] Simplify TIRx CMake and package installation Oct 15, 2026
@tqchen
tqchen merged commit 55c8b72 into apache:main Oct 15, 2026
6 of 8 checks passed
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.

3 participants