Skip to content

Upgrade to latest JuliaC, add ribasim_set_julia_threads#3151

Merged
visr merged 4 commits into
mainfrom
juliac-threads
Jul 20, 2026
Merged

Upgrade to latest JuliaC, add ribasim_set_julia_threads#3151
visr merged 4 commits into
mainfrom
juliac-threads

Conversation

@visr

@visr visr commented Jul 14, 2026

Copy link
Copy Markdown
Member

JuliaC now fixes the library thread count at build time, so JULIA_NUM_THREADS can no longer configure libribasim when it is loaded. Add ribasim_set_julia_threads to the libribasim C API, allowing embedders and the Ribasim CLI to set the number of Julia threads before runtime initialization.

Fixes #3092

visr added 4 commits July 14, 2026 15:33
JuliaC now fixes the library thread count at build time, so JULIA_NUM_THREADS can no longer configure libribasim when it is loaded. Add ribasim_set_julia_threads to the libribasim C API, allowing embedders and the Ribasim CLI to set the number of Julia threads before runtime initialization.
…-provided --threads=1. The setter now directly updates the fields consumed by jl_init_threading
@visr
visr merged commit d89c42e into main Jul 20, 2026
16 checks passed
@visr
visr deleted the juliac-threads branch July 20, 2026 11:33
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.

Update JuliaC version

2 participants