Skip to content

Commit 684c463

Browse files
joa-quimclaude
andcommitted
Add deps/build.jl to download F3D before precompilation
Downloads.download during precompilation leaves curl timers alive, causing "waiting for IO to finish" warnings and potentially corrupt precompiled caches (segfaults in CI). By downloading in build.jl (which runs before precompilation via Pkg.build), ensure_f3d() finds the cached library during precompilation and never calls Downloads. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4a06039 commit 684c463

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎deps/build.jl‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include("../src/F3D.jl")
2+
using .F3D: ensure_f3d
3+
4+
try
5+
lib_dir = ensure_f3d()
6+
@info "F3D build complete. Library directory: $lib_dir"
7+
catch e
8+
@error "F3D build failed" exception = (e, catch_backtrace())
9+
rethrow()
10+
end

0 commit comments

Comments
 (0)