Skip to content

docs: clarify local Rust rebuild cache behavior#121

Merged
terasakisatoshi merged 1 commit intomainfrom
docs/issue-120-build-cache-notes
Mar 18, 2026
Merged

docs: clarify local Rust rebuild cache behavior#121
terasakisatoshi merged 1 commit intomainfrom
docs/issue-120-build-cache-notes

Conversation

@shinaoka
Copy link
Copy Markdown
Member

Summary

  • document the local ../sparse-ir-rs rebuild flow in the Julia README and deps README
  • note that Julia precompile cache can keep pointing at the artifact-provided library after Pkg.build()
  • document removing ~/.julia/compiled/.../SparseIR and restarting Julia when that happens

Test Plan

  • julia -e 'using Pkg; Pkg.build()'\n- julia --project=. -e 'using SparseIR; println(SparseIR.C_API.libsparseir)'

@terasakisatoshi
Copy link
Copy Markdown
Member

ERROR: LoadError: failed process: Process(/opt/hostedtoolcache/julia/1.12.5/x64/bin/julia -C native -J/opt/hostedtoolcache/julia/1.12.5/x64/lib/julia/sys.so -O0 -g1 --color=no --startup-file=no --project generate_C_API.jl, ProcessExited(1)) [1]

This error is resolved by #123

@terasakisatoshi terasakisatoshi merged commit f8e1390 into main Mar 18, 2026
9 of 11 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.

2 participants