-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deterministic generator #24
Comments
Another way to keep the order of headers deterministic is to include all of the headers in https://github.com/Gnimuc/libclangex/blob/master/include/clang-ex/libclangex.h and only pass |
List all the headers manually ?
|
Comparing what I've done in libclangex, this is nothing. |
Oh I didn't notice |
I wanted to update the generator for llvm
14.0.6
for julia1.9
in #25, however it seems that the generator handles headers in a non-deterministic way. Re-running the generator thus changes the generated signatures every time.This, probably because julia
Set
s used inClang.jl
are un-ordered:https://github.com/JuliaInterop/Clang.jl/blob/c95896f223b88b74e51ceeee65ad74a8108e9474/src/generator/context.jl#L252-L253
Should we fix this ?
The text was updated successfully, but these errors were encountered: