Skip to content

ci debug#44

Merged
tcrypt25519 merged 12 commits into
masterfrom
ts/tests
Feb 11, 2026
Merged

ci debug#44
tcrypt25519 merged 12 commits into
masterfrom
ts/tests

Conversation

@tcrypt25519

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 10, 2026 12:51
@semanticdiff-com

semanticdiff-com Bot commented Feb 10, 2026

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/ci.yml  33% smaller
  scripts/detect-llvm.sh Unsupported file format
  scripts/install-llvm.sh Unsupported file format

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions CI workflow to aid debugging LLVM header/path issues and refresh the LLVM cache key used by CI.

Changes:

  • Bumped the LLVM cache key version (v4 → v5) to force cache invalidation.
  • Expanded the cached LLVM tarball contents to include an additional include directory.
  • Added a CI step to print/debug LLVM include paths and header presence.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
tcrypt25519 and others added 11 commits February 10, 2026 06:55
* Initial plan

* Fix LLVM include path mismatch in CI workflow

Create symlinks to bridge Debian/Ubuntu header location (/usr/include/llvm-21)
with llvm-config expectations (/usr/lib/llvm-21/include). This resolves
compilation failures where cc-rs cannot find llvm-c/Target.h.

Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>

* Bump cache version to v6 for LLVM with symlinks

Previous v5 caches do not contain the symlinks needed to fix the
Debian/Ubuntu header path mismatch. Bumping to v6 ensures fresh
installation with correct symlinks.

Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>

* Refactor LLVM path fix to use reusable script

Extract symlink creation logic into scripts/fix-llvm-paths.sh to:
- Eliminate code duplication
- Make the fix more maintainable
- Centralize LLVM path correction logic
- Add script to cache key for invalidation on changes

Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>

* Document why symlink fix runs after cache restoration

Add comment explaining that the script runs unconditionally for
defense in depth. The script is idempotent and provides safety
against cache corruption or version mismatches.

Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>

* Fix root cause: Configure C compiler include paths correctly

Remove symlink workaround and fix the actual problem by setting
C_INCLUDE_PATH and CPLUS_INCLUDE_PATH environment variables to point
to /usr/include/llvm-21 where Debian/Ubuntu actually installs headers.

This allows cc-rs (used by llvm-sys) to find LLVM headers without
requiring filesystem modifications or workarounds.

Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>
* Fix LLVM cache to include llvm-c-21 headers directory

Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>

* polly

* Reapply "Better rom building."

This reverts commit 2de7ab3.

* Revert "Reapply "Better rom building.""

This reverts commit b2b63cd.

* test

* test

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tcrypt25519 <212655132+tcrypt25519@users.noreply.github.com>
Co-authored-by: Tyler Smith <mail@tcry.pt>
@tcrypt25519
tcrypt25519 merged commit 30de29b into master Feb 11, 2026
1 check passed
tcrypt25519 added a commit that referenced this pull request Feb 16, 2026
* Fix LLVM include path mismatch in CI workflow
@tcrypt25519
tcrypt25519 deleted the ts/tests branch February 16, 2026 20:03
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