Skip to content

lit.cfg.py refactor detection and other common logic into helper utility#2661

Merged
fifield merged 12 commits intoXilinx:mainfrom
fifield:lit_cfg_refactor
Oct 24, 2025
Merged

lit.cfg.py refactor detection and other common logic into helper utility#2661
fifield merged 12 commits intoXilinx:mainfrom
fifield:lit_cfg_refactor

Conversation

@fifield
Copy link
Collaborator

@fifield fifield commented Oct 21, 2025

This is a refactor of the multiple lit.cfg.py in the repo. Each of these contains cut-and-paste of the same bits of logic which must be updated in 3-4 places each time it changes. This PR proposed moving some of that into a helper utility instead.

@fifield fifield changed the title [wip] lit.cfg.py refactor lit.cfg.py refactor detection logic into helper utility Oct 22, 2025
@fifield fifield changed the title lit.cfg.py refactor detection logic into helper utility lit.cfg.py refactor detection and other common logic into helper utility Oct 22, 2025
@fifield fifield marked this pull request as ready for review October 22, 2025 17:06
@fifield fifield added this pull request to the merge queue Oct 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 23, 2025
@fifield fifield added this pull request to the merge queue Oct 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 2025
… improve error decoding

- Fix path normalization logic in prepend_path() to always normalize paths
  even when there's no existing PATH (suggestion #3)
- Add XRT bin path prepending to programming_examples and programming_guide
  lit.cfg.py files to ensure more recent aiebu-asm is used (suggestion #2)
- Add error decoding robustness in detect_peano() using errors='ignore'
  parameter for consistency with detect_rocm() and detect_xrt() (suggestion #4)
@fifield fifield enabled auto-merge October 24, 2025 01:18
@fifield fifield added this pull request to the merge queue Oct 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 2025
@fifield fifield added this pull request to the merge queue Oct 24, 2025
Merged via the queue into Xilinx:main with commit 5596542 Oct 24, 2025
53 checks passed
@fifield fifield deleted the lit_cfg_refactor branch October 24, 2025 13:06
@fifield fifield mentioned this pull request Oct 29, 2025
fifield added a commit to fifield/mlir-aie that referenced this pull request Nov 12, 2025
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