Skip to content

compilation: honor AIECC_PATH and AIECC_JOBS env overrides#134

Open
atassis wants to merge 1 commit into
amd:develfrom
atassis:feat/aiecc-path-jobs-env
Open

compilation: honor AIECC_PATH and AIECC_JOBS env overrides#134
atassis wants to merge 1 commit into
amd:develfrom
atassis:feat/aiecc-path-jobs-env

Conversation

@atassis

@atassis atassis commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Two opt-in, backward-compatible build-ergonomics knobs on the aiecc compilation rules. Both default to the current behavior, so nothing changes unless the env var is set.

  • AIECC_PATH - point the compilation rules at a locally-built aiecc (for example a compiler under active development) instead of the one under mlir_aie_dir/bin, without having to overwrite the installed binary. Default: the installed aiecc.
  • AIECC_JOBS - pass -j<N> to aiecc instead of the hardcoded -j1, so multi-core hosts can compile the AIE cores in parallel. Default 1 = unchanged.

Both are read via os.environ.get(...) in iron/common/compilation/base.py (the aiecc path resolution and the two Aiecc*CompilationRule command builders). No new dependencies.

Two opt-in build-ergonomics knobs on the aiecc compilation rules; both
default to current behavior so nothing changes unless the env var is set.

- AIECC_PATH: point the compilation rules at a locally-built aiecc (e.g. a
  compiler under development) instead of the one under mlir_aie_dir/bin,
  without having to replace the installed binary.
- AIECC_JOBS: pass -j<N> to aiecc instead of the hardcoded -j1, so multi-core
  hosts can compile the AIE cores in parallel. Default '1' = unchanged.
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.

1 participant