Skip to content

Commit 247aaeb

Browse files
committed
Update Ubuntu llvm 20 cppyy jobs
1 parent 53e0589 commit 247aaeb

File tree

5 files changed

+188
-1
lines changed

5 files changed

+188
-1
lines changed

.github/workflows/MacOS.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
include:
25+
- name: osx26-arm-clang-clang-repl-20
26+
os: macos-26
27+
compiler: clang
28+
clang-runtime: '20'
29+
cling: Off
30+
llvm_enable_projects: "clang"
31+
llvm_targets_to_build: "host"
2532
- name: osx26-arm-clang-clang-repl-19
2633
os: macos-26
2734
compiler: clang
@@ -44,6 +51,13 @@ jobs:
4451
cling-version: '1.2'
4552
llvm_enable_projects: "clang"
4653
llvm_targets_to_build: "host;NVPTX"
54+
- name: osx15-x86-clang-clang-repl-20
55+
os: macos-15-intel
56+
compiler: clang
57+
clang-runtime: '20'
58+
cling: Off
59+
llvm_enable_projects: "clang"
60+
llvm_targets_to_build: "host"
4761
- name: osx15-x86-clang-clang-repl-19
4862
os: macos-15-intel
4963
compiler: clang
@@ -251,6 +265,12 @@ jobs:
251265
fail-fast: false
252266
matrix:
253267
include:
268+
- name: osx26-arm-clang-clang-repl-20-cppyy
269+
os: macos-26
270+
compiler: clang
271+
clang-runtime: '20'
272+
cling: Off
273+
cppyy: On
254274
- name: osx26-arm-clang-clang-repl-19-cppyy
255275
os: macos-26
256276
compiler: clang
@@ -270,6 +290,12 @@ jobs:
270290
cling: On
271291
cling-version: '1.2'
272292
cppyy: On
293+
- name: osx15-x86-clang-clang-repl-20-cppyy
294+
os: macos-15-intel
295+
compiler: clang
296+
clang-runtime: '20'
297+
cling: Off
298+
cppyy: On
273299
- name: osx15-x86-clang-clang-repl-19-cppyy
274300
os: macos-15-intel
275301
compiler: clang

.github/workflows/Ubuntu.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
include:
25+
- name: ubu22-x86-gcc12-clang-repl-20
26+
os: ubuntu-22.04
27+
compiler: gcc-12
28+
clang-runtime: '20'
29+
cling: Off
30+
llvm_enable_projects: "clang"
31+
llvm_targets_to_build: "host;NVPTX"
2532
- name: ubu22-x86-gcc12-clang-repl-19
2633
os: ubuntu-22.04
2734
compiler: gcc-12
@@ -44,6 +51,13 @@ jobs:
4451
cling-version: '1.2'
4552
llvm_enable_projects: "clang"
4653
llvm_targets_to_build: "host;NVPTX"
54+
- name: ubu24-x86-gcc12-clang-repl-20
55+
os: ubuntu-24.04
56+
compiler: gcc-12
57+
clang-runtime: '20'
58+
cling: Off
59+
llvm_enable_projects: "clang"
60+
llvm_targets_to_build: "host;NVPTX"
4761
- name: ubu24-x86-gcc12-clang-repl-19
4862
os: ubuntu-24.04
4963
compiler: gcc-12
@@ -66,6 +80,13 @@ jobs:
6680
cling-version: '1.2'
6781
llvm_enable_projects: "clang"
6882
llvm_targets_to_build: "host;NVPTX"
83+
- name: ubu22-arm-gcc12-clang-repl-20
84+
os: ubuntu-22.04-arm
85+
compiler: gcc-12
86+
clang-runtime: '20'
87+
cling: Off
88+
llvm_enable_projects: "clang"
89+
llvm_targets_to_build: "host;NVPTX"
6990
- name: ubu22-arm-gcc12-clang-repl-19
7091
os: ubuntu-22.04-arm
7192
compiler: gcc-12
@@ -88,6 +109,13 @@ jobs:
88109
cling-version: '1.2'
89110
llvm_enable_projects: "clang"
90111
llvm_targets_to_build: "host;NVPTX"
112+
- name: ubu24-arm-gcc12-clang-repl-20
113+
os: ubuntu-24.04-arm
114+
compiler: gcc-12
115+
clang-runtime: '20'
116+
cling: Off
117+
llvm_enable_projects: "clang"
118+
llvm_targets_to_build: "host;NVPTX"
91119
- name: ubu24-arm-gcc12-clang-repl-19
92120
os: ubuntu-24.04-arm
93121
compiler: gcc-12
@@ -289,6 +317,12 @@ jobs:
289317
fail-fast: false
290318
matrix:
291319
include:
320+
- name: ubu22-x86-gcc12-clang-repl-20-cppyy
321+
os: ubuntu-22.04
322+
compiler: gcc-12
323+
clang-runtime: '20'
324+
cling: Off
325+
cppyy: On
292326
- name: ubu22-x86-gcc12-clang-repl-19-cppyy
293327
os: ubuntu-22.04
294328
compiler: gcc-12
@@ -308,6 +342,12 @@ jobs:
308342
cling: On
309343
cling-version: '1.2'
310344
cppyy: On
345+
- name: ubu24-x86-gcc12-clang-repl-20-cppyy
346+
os: ubuntu-24.04
347+
compiler: gcc-12
348+
clang-runtime: '20'
349+
cling: Off
350+
cppyy: On
311351
- name: ubu24-x86-gcc12-clang-repl-19-cppyy
312352
os: ubuntu-24.04
313353
compiler: gcc-12
@@ -327,6 +367,12 @@ jobs:
327367
cling: On
328368
cling-version: '1.2'
329369
cppyy: On
370+
- name: ubu22-arm-gcc12-clang-repl-20-cppyy
371+
os: ubuntu-22.04-arm
372+
compiler: gcc-12
373+
clang-runtime: '20'
374+
cling: Off
375+
cppyy: On
330376
- name: ubu22-arm-gcc12-clang-repl-19-cppyy
331377
os: ubuntu-22.04-arm
332378
compiler: gcc-12
@@ -346,6 +392,12 @@ jobs:
346392
cling: On
347393
cling-version: '1.2'
348394
cppyy: On
395+
- name: ubu24-arm-gcc12-clang-repl-20-cppyy
396+
os: ubuntu-24.04-arm
397+
compiler: gcc-12
398+
clang-runtime: '20'
399+
cling: Off
400+
cppyy: On
349401
- name: ubu24-arm-gcc12-clang-repl-19-cppyy
350402
os: ubuntu-24.04-arm
351403
compiler: gcc-12

etc/clang20-valgrind.supp

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
LLVM 20 suppressions : CodeGen::CodeGenModule::SetLLVMFunctionAttributesForDefinition
3+
Memcheck:Cond
4+
fun:_ZN5clang7CodeGen13CodeGenModule38SetLLVMFunctionAttributesForDefinitionEPKNS_4DeclEPN4llvm8FunctionE
5+
fun:_ZN5clang7CodeGen13CodeGenModule28EmitGlobalFunctionDefinitionENS_10GlobalDeclEPN4llvm11GlobalValueE
6+
fun:_ZN5clang7CodeGen13CodeGenModule20EmitGlobalDefinitionENS_10GlobalDeclEPN4llvm11GlobalValueE
7+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
8+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
9+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
10+
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
11+
fun:_ZN12_GLOBAL__N_117CodeGeneratorImpl21HandleTranslationUnitERN5clang10ASTContextE
12+
fun:_ZN5clang15BackendConsumer21HandleTranslationUnitERNS_10ASTContextE
13+
fun:_ZN5clang17MultiplexConsumer21HandleTranslationUnitERNS_10ASTContextE
14+
fun:_ZN5clang17IncrementalParser23ParseOrWrapTopLevelDeclEv
15+
fun:_ZN5clang17IncrementalParser5ParseEN4llvm9StringRefE
16+
}
17+
18+
{
19+
LLVM 20 suppressions : APInt::setBits
20+
Memcheck:Cond
21+
fun:_ZN4llvm5APInt7setBitsEjj
22+
fun:_ZL16computeKnownBitsPKN4llvm5ValueERKNS_5APIntERNS_9KnownBitsEjRKNS_13SimplifyQueryE
23+
fun:_ZN4llvm16computeKnownBitsEPKNS_5ValueERNS_9KnownBitsEjRKNS_13SimplifyQueryE
24+
fun:_ZN4llvm16computeKnownBitsEPKNS_5ValueERNS_9KnownBitsERKNS_10DataLayoutEjPNS_15AssumptionCacheEPKNS_11InstructionEPKNS_13DominatorTreeEb
25+
fun:_ZNK4llvm12SelectionDAG13InferPtrAlignENS_7SDValueE
26+
fun:_ZN12_GLOBAL__N_111DAGCombiner9visitLOADEPN4llvm6SDNodeE
27+
fun:_ZN12_GLOBAL__N_111DAGCombiner7combineEPN4llvm6SDNodeE
28+
fun:_ZN12_GLOBAL__N_111DAGCombiner3RunEN4llvm12CombineLevelE
29+
fun:_ZN4llvm12SelectionDAG7CombineENS_12CombineLevelEPNS_14BatchAAResultsENS_15CodeGenOptLevelE
30+
fun:_ZN4llvm16SelectionDAGISel17CodeGenAndEmitDAGEv
31+
fun:_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE
32+
fun:_ZN4llvm16SelectionDAGISel20runOnMachineFunctionERNS_15MachineFunctionE
33+
}
34+
35+
{
36+
LLVM 20 suppressions : JitCall::Invoke
37+
Memcheck:Free
38+
fun:free
39+
obj:*
40+
fun:_ZNK3Cpp7JitCall6InvokeEPvNS0_7ArgListES1_
41+
fun:_ZL11WrapperCallPvmS_S_S_
42+
fun:_ZN5Cppyy5CallVEPvS0_mS0_
43+
fun:_ZL8GILCallVPvS_PN8CPyCppyy11CallContextE
44+
fun:_ZN8CPyCppyy12_GLOBAL__N_112VoidExecutor7ExecuteEPvS2_PNS_11CallContextE
45+
fun:_ZN8CPyCppyy9CPPMethod11ExecuteFastEPvlPNS_11CallContextE
46+
fun:_ZN8CPyCppyy9CPPMethod7ExecuteEPvlPNS_11CallContextE
47+
fun:_ZN8CPyCppyy11CPPFunction4CallERPNS_11CPPInstanceEPKP7_objectmS5_PNS_11CallContextE
48+
fun:_ZN8CPyCppyy12_GLOBAL__N_1L13mp_vectorcallEPNS_11CPPOverloadEPKP7_objectmS4_
49+
fun:_PyObject_VectorcallTstate
50+
fun:PyObject_Vectorcall
51+
}
52+
53+
{
54+
LLVM 20 suppressions : CodeGen::CodeGenModule::SetLLVMFunctionAttributesForDefinition 2
55+
Memcheck:Cond
56+
fun:_ZN5clang7CodeGen13CodeGenModule38SetLLVMFunctionAttributesForDefinitionEPKNS_4DeclEPN4llvm8FunctionE
57+
fun:_ZN5clang7CodeGen13CodeGenModule18codegenCXXStructorENS_10GlobalDeclE
58+
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI15emitCXXStructorEN5clang10GlobalDeclE
59+
fun:_ZN5clang7CodeGen13CodeGenModule20EmitGlobalDefinitionENS_10GlobalDeclEPN4llvm11GlobalValueE
60+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
61+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
62+
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
63+
fun:_ZN12_GLOBAL__N_117CodeGeneratorImpl21HandleTranslationUnitERN5clang10ASTContextE
64+
fun:_ZN5clang15BackendConsumer21HandleTranslationUnitERNS_10ASTContextE
65+
fun:_ZN5clang17MultiplexConsumer21HandleTranslationUnitERNS_10ASTContextE
66+
fun:_ZN5clang17IncrementalParser23ParseOrWrapTopLevelDeclEv
67+
fun:_ZN5clang17IncrementalParser5ParseEN4llvm9StringRefE
68+
}
69+
70+
{
71+
LLVM 20 suppressions : CodeGen::CodeGenModule::SetLLVMFunctionAttributesForDefinition 3
72+
Memcheck:Cond
73+
fun:_ZN5clang7CodeGen13CodeGenModule38SetLLVMFunctionAttributesForDefinitionEPKNS_4DeclEPN4llvm8FunctionE
74+
fun:_ZN5clang7CodeGen14CodeGenVTables14maybeEmitThunkENS_10GlobalDeclERKNS_9ThunkInfoEb
75+
fun:_ZN5clang7CodeGen14CodeGenVTables10EmitThunksENS_10GlobalDeclE
76+
fun:_ZN5clang7CodeGen13CodeGenModule20EmitGlobalDefinitionENS_10GlobalDeclEPN4llvm11GlobalValueE
77+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
78+
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
79+
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
80+
fun:_ZN12_GLOBAL__N_117CodeGeneratorImpl21HandleTranslationUnitERN5clang10ASTContextE
81+
fun:_ZN5clang15BackendConsumer21HandleTranslationUnitERNS_10ASTContextE
82+
fun:_ZN5clang17MultiplexConsumer21HandleTranslationUnitERNS_10ASTContextE
83+
fun:_ZN5clang17IncrementalParser23ParseOrWrapTopLevelDeclEv
84+
fun:_ZN5clang17IncrementalParser5ParseEN4llvm9StringRefE
85+
}
86+
87+
{
88+
LLVM 20 suppressions : CodeGen::CodeGenModule::SetLLVMFunctionAttributesForDefinition 4
89+
Memcheck:Cond
90+
fun:_ZN5clang7CodeGen13CodeGenModule38SetLLVMFunctionAttributesForDefinitionEPKNS_4DeclEPN4llvm8FunctionE
91+
fun:_ZN5clang7CodeGen13CodeGenModule28EmitGlobalFunctionDefinitionENS_10GlobalDeclEPN4llvm11GlobalValueE
92+
fun:_ZN5clang7CodeGen13CodeGenModule20EmitGlobalDefinitionENS_10GlobalDeclEPN4llvm11GlobalValueE
93+
fun:_ZN5clang7CodeGen13CodeGenModule10EmitGlobalENS_10GlobalDeclE
94+
fun:_ZN5clang7CodeGen13CodeGenModule16EmitTopLevelDeclEPNS_4DeclE.part.0
95+
fun:_ZN12_GLOBAL__N_117CodeGeneratorImpl18HandleTopLevelDeclEN5clang12DeclGroupRefE
96+
fun:_ZN5clang15BackendConsumer18HandleTopLevelDeclENS_12DeclGroupRefE
97+
fun:_ZN5clang17MultiplexConsumer18HandleTopLevelDeclENS_12DeclGroupRefE
98+
fun:_ZN5clang28InProcessPrintingASTConsumer18HandleTopLevelDeclENS_12DeclGroupRefE
99+
fun:_ZN5clang17IncrementalParser23ParseOrWrapTopLevelDeclEv
100+
fun:_ZN5clang17IncrementalParser5ParseEN4llvm9StringRefE
101+
fun:_ZN5clang11Interpreter5ParseEN4llvm9StringRefE
102+
}

etc/clang20-valgrind_arm.supp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
Mismatched free()
3+
Memcheck:Free
4+
fun:free
5+
obj:*
6+
}
7+

test/test_datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ def pyd(arg0, arg1):
14091409
gc.collect()
14101410
raises(TypeError, c, 3, 3) # lambda gone out of scope
14111411

1412-
@mark.xfail(run=False, condition=IS_MAC_ARM, reason="Crashes with exception not being caught on Apple Silicon")
1412+
@mark.xfail(run=False, condition=IS_MAC, reason="Crashes on MacOS")
14131413
def test28_callable_through_function_passing(self):
14141414
"""Passing callables through std::function"""
14151415

0 commit comments

Comments
 (0)