File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 2424 llvm_args : ['']
2525 include :
2626 # starting with Julia 1.10, we can enable opaque pointers
27+ # from Juila 1.12 on, this is the default.
2728 - version : ' 1.10'
2829 os : ' ubuntu-latest'
2930 arch : ' x64'
4849 os : ' windows-latest'
4950 arch : ' x64'
5051 llvm_args : ' --opaque-pointers'
51- # - version: 'nightly'
52- # os: 'ubuntu-latest'
53- # arch: 'x64'
54- # llvm_args: '--opaque-pointers'
55- # - version: 'nightly'
56- # os: 'macOS-latest'
57- # arch: 'x64'
58- # llvm_args: '--opaque-pointers'
59- # - version: 'nightly'
60- # os: 'windows-latest'
61- # arch: 'x64'
62- # llvm_args: '--opaque-pointers'
6352 steps :
6453 - uses : actions/checkout@v4
6554
Original file line number Diff line number Diff line change 9595# XXX : it's not allowed to switch tasks while under this lock, can we guarantee that?
9696# its probably easier to start using our own LLVM context when that's possible.
9797macro locked (ex)
98+ if VERSION >= v " 1.12.0-DEV.769"
99+ # no need to handle locking; it's taken care of by the engine
100+ # as long as we use a correct cache owner token.
101+ return esc (ex)
102+ end
103+
98104 def = splitdef (ex)
99105 def[:body ] = quote
100106 ccall (:jl_typeinf_lock_begin , Cvoid, ())
109115
110116# HACK: temporarily unlock again to perform a task switch
111117macro unlocked (ex)
118+ if VERSION >= v " 1.12.0-DEV.769"
119+ return esc (ex)
120+ end
121+
112122 def = splitdef (ex)
113123 def[:body ] = quote
114124 ccall (:jl_typeinf_lock_end , Cvoid, ())
You can’t perform that action at this time.
0 commit comments