Skip to content

Fix Windows deps/build.jl DLL lookup and clone location - #121

Merged
terasakisatoshi merged 1 commit into
mainfrom
fix/windows-deps-build
Jul 7, 2026
Merged

Fix Windows deps/build.jl DLL lookup and clone location#121
terasakisatoshi merged 1 commit into
mainfrom
fix/windows-deps-build

Conversation

@terasakisatoshi

Copy link
Copy Markdown
Member

Summary

  • Resolve the cargo-built cdylib on Windows as tensor4all_capi.dll (no lib prefix) and install it as deps/libtensor4all_capi.dll.
  • Cache GitHub clones under deps/.tensor4all-rs/ instead of a temporary directory so Windows application-control policies do not block cargo build scripts in %TEMP%.
  • Add build-config tests for Windows DLL path resolution and the cached clone location.

Test plan

  • julia --startup-file=no --project=. test/deps/build_config.jl
  • julia --startup-file=no --project=. deps/build.jl on Windows (release build succeeds; deps/libtensor4all_capi.dll installed)

Made with Cursor

Resolve the built cdylib as tensor4all_capi.dll on Windows and cache GitHub clones under deps/.tensor4all-rs/ so cargo build scripts are not blocked by application-control policies in %TEMP%.

Co-authored-by: Cursor <cursoragent@cursor.com>
@terasakisatoshi
terasakisatoshi merged commit 2999ebc into main Jul 7, 2026
6 checks passed
@terasakisatoshi
terasakisatoshi deleted the fix/windows-deps-build branch July 7, 2026 08:40
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