Skip to content

Use @static if in CompilerSupportLibraries_jll.__init__()#61516

Merged
fingolfin merged 1 commit intoJuliaLang:masterfrom
topolarity:ct/csl-fix-aarch64
Apr 7, 2026
Merged

Use @static if in CompilerSupportLibraries_jll.__init__()#61516
fingolfin merged 1 commit intoJuliaLang:masterfrom
topolarity:ct/csl-fix-aarch64

Conversation

@topolarity
Copy link
Copy Markdown
Member

Hopefully enough to fix JuliaC on aarch64-linux (https://buildkite.com/julialang/julia-master/builds/56266#019d6367-fc8d-4806-a1f1-00ec67370c77/L1315-L1319):

Error #2: unresolved call from statement string(
  getproperty(
    libquadmath::Any,
    :path::Symbol
  )::Any
)::Any
 
Stacktrace:
[1] __init__()
@ CompilerSupportLibraries_jll ./CompilerSupportLibraries_jll/src/CompilerSupportLibraries_jll.jl:158

This should be sufficiently inferable for `--trim`, even on platforms
without these libraries.
@topolarity topolarity requested a review from gbaraldi April 6, 2026 18:42
@topolarity topolarity added backport 1.12 Change should be backported to release-1.12 backport 1.13 Change should be backported to release-1.13 labels Apr 6, 2026
@topolarity topolarity requested a review from giordano as a code owner April 6, 2026 18:42
@fingolfin fingolfin merged commit ea7a52a into JuliaLang:master Apr 7, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.12 Change should be backported to release-1.12 backport 1.13 Change should be backported to release-1.13

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants