Skip to content

Commit

Permalink
Merge branch 'master' into Add-Ubuntu-22.04-arm-support-to-cppyy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 27, 2025
2 parents e6afed3 + a79035c commit 962e91a
Show file tree
Hide file tree
Showing 4 changed files with 227 additions and 3 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,35 @@ jobs:
cling-version: '1.0'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu24-x86-gcc12-clang-repl-19
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '19'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu24-x86-gcc12-clang-repl-18
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '18'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu24-x86-gcc12-clang-repl-17
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '17'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu24-x86-gcc9-clang13-cling
os: ubuntu-24.04
compiler: gcc-9
clang-runtime: '13'
cling: On
cling-version: '1.0'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu22-arm-gcc12-clang-repl-19
os: ubuntu-22.04-arm
compiler: gcc-12
Expand Down Expand Up @@ -284,6 +313,31 @@ jobs:
cling: On
cling-version: '1.0'
cppyy: On
- name: ubu24-x86-gcc12-clang-repl-19-cppyy
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '19'
cling: Off
cppyy: On
- name: ubu24-x86-gcc12-clang-repl-18-cppyy
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '18'
cling: Off
cppyy: On
- name: ubu24-x86-gcc12-clang-repl-17-cppyy
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '17'
cling: Off
cppyy: On
- name: ubu24-x86-gcc9-clang13-cling-cppyy
os: ubuntu-24.04
compiler: gcc-9
clang-runtime: '13'
cling: On
cling-version: '1.0'
cppyy: On
- name: ubu22-arm-gcc12-clang-repl-19-cppyy
os: ubuntu-22.04-arm
compiler: gcc-12
Expand Down
85 changes: 85 additions & 0 deletions etc/clang17-valgrind.supp
Original file line number Diff line number Diff line change
@@ -1,3 +1,88 @@
# Ubuntu 24.04

{
LLVM 17 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZNK4llvm14ConstantFolder7FoldGEPEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EEb
fun:_ZN5clang7CodeGen15CodeGenFunction15GetVTTParameterENS_10GlobalDeclEbb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI26getImplicitConstructorArgsERN5clang7CodeGen15CodeGenFunctionEPKNS1_18CXXConstructorDeclENS1_11CXXCtorTypeEbb
fun:_ZN5clang7CodeGen8CGCXXABI26addImplicitConstructorArgsERNS0_15CodeGenFunctionEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeEbbRNS0_11CallArgListE
fun:_ZN5clang7CodeGen15CodeGenFunction22EmitCXXConstructorCallEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeEbbNS0_7AddressERNS0_11CallArgListENS0_12AggValueSlot9Overlap_tENS_14SourceLocationEb
fun:_ZN5clang7CodeGen15CodeGenFunction22EmitCXXConstructorCallEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeEbbNS0_12AggValueSlotEPKNS_16CXXConstructExprE
fun:_ZN12_GLOBAL__N_114AggExprEmitter21VisitCXXConstructExprEPKN5clang16CXXConstructExprE
fun:_ZN5clang7CodeGen15CodeGenFunction11EmitAggExprEPKNS_4ExprENS0_12AggValueSlotE
fun:_ZL19EmitBaseInitializerRN5clang7CodeGen15CodeGenFunctionEPKNS_13CXXRecordDeclEPNS_18CXXCtorInitializerE
fun:_ZN5clang7CodeGen15CodeGenFunction16EmitCtorPrologueEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeERNS0_15FunctionArgListE.part.0
fun:_ZN5clang7CodeGen15CodeGenFunction19EmitConstructorBodyERNS0_15FunctionArgListE
}
{
LLVM 17 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI21emitVTableDefinitionsERN5clang7CodeGen14CodeGenVTablesEPKNS1_13CXXRecordDeclE
fun:_ZN5clang7CodeGen13CodeGenModule19EmitDeferredVTablesEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
}
{
LLVM 17 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder20BuildPointerTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN5clang7CodeGen15CodeGenFunction19EmitCXXTypeidLValueEPKNS_13CXXTypeidExprE
fun:_ZN5clang7CodeGen15CodeGenFunction16EmitLValueHelperEPKNS_4ExprENS0_14KnownNonNull_tE
fun:_ZN5clang7CodeGen15CodeGenFunction10EmitLValueEPKNS_4ExprENS0_14KnownNonNull_tE
fun:_ZN5clang15StmtVisitorBaseISt11add_pointerN12_GLOBAL__N_117ScalarExprEmitterEPN4llvm5ValueEJEE5VisitEPNS_4StmtE
}
{
LLVM 17 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI21emitVTableDefinitionsERN5clang7CodeGen14CodeGenVTablesEPKNS1_13CXXRecordDeclE
fun:_ZN5clang7CodeGen13CodeGenModule19EmitDeferredVTablesEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
}
{
LLVM 17 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI21emitVTableDefinitionsERN5clang7CodeGen14CodeGenVTablesEPKNS1_13CXXRecordDeclE
fun:_ZN5clang7CodeGen13CodeGenModule19EmitDeferredVTablesEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
fun:_ZN12_GLOBAL__N_117CodeGeneratorImpl21HandleTranslationUnitERN5clang10ASTContextE
}

# Ubuntu 22.04

{
LLVM 17 suppressions : Clang CodeGen
Memcheck:Cond
Expand Down
87 changes: 86 additions & 1 deletion etc/clang18-valgrind.supp
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# Ubuntu 24.04

{
LLVM 18 suppressions : CodeGen
LLVM 18 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI21emitVTableDefinitionsERN5clang7CodeGen14CodeGenVTablesEPKNS1_13CXXRecordDeclE
fun:_ZN5clang7CodeGen13CodeGenModule19EmitDeferredVTablesEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
fun:_ZN12_GLOBAL__N_117CodeGeneratorImpl21HandleTranslationUnitERN5clang10ASTContextE
}
{
LLVM 18 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI21emitVTableDefinitionsERN5clang7CodeGen14CodeGenVTablesEPKNS1_13CXXRecordDeclE
fun:_ZN5clang7CodeGen13CodeGenModule19EmitDeferredVTablesEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule7ReleaseEv
}
{
LLVM 18 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder20BuildPointerTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN5clang7CodeGen15CodeGenFunction17EmitCXXTypeidExprEPKNS_13CXXTypeidExprE
fun:_ZN5clang7CodeGen15CodeGenFunction16EmitLValueHelperEPKNS_4ExprENS0_14KnownNonNull_tE
fun:_ZN5clang7CodeGen15CodeGenFunction10EmitLValueEPKNS_4ExprENS0_14KnownNonNull_tE
fun:_ZN5clang15StmtVisitorBaseISt11add_pointerN12_GLOBAL__N_117ScalarExprEmitterEPN4llvm5ValueEJEE5VisitEPNS_4StmtE
}
{
LLVM 18 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeEN4llvm11GlobalValue12LinkageTypesENS4_15VisibilityTypesENS4_20DLLStorageClassTypesE
fun:_ZN12_GLOBAL__N_118ItaniumRTTIBuilder13BuildTypeInfoEN5clang8QualTypeE
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI23getAddrOfRTTIDescriptorEN5clang8QualTypeE
fun:_ZN5clang7CodeGen13CodeGenModule23GetAddrOfRTTIDescriptorENS_8QualTypeEb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI21emitVTableDefinitionsERN5clang7CodeGen14CodeGenVTablesEPKNS1_13CXXRecordDeclE
fun:_ZN5clang7CodeGen13CodeGenModule19EmitDeferredVTablesEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
fun:_ZN5clang7CodeGen13CodeGenModule12EmitDeferredEv
}
{
LLVM 18 suppressions : ConstantExpr::GetElementPtr
Memcheck:Cond
fun:_ZN4llvm12ConstantExpr16getGetElementPtrEPNS_4TypeEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbSt8optionalIjES2_
fun:_ZNK4llvm14ConstantFolder7FoldGEPEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EEb
fun:_ZN5clang7CodeGen15CodeGenFunction15GetVTTParameterENS_10GlobalDeclEbb
fun:_ZN12_GLOBAL__N_113ItaniumCXXABI26getImplicitConstructorArgsERN5clang7CodeGen15CodeGenFunctionEPKNS1_18CXXConstructorDeclENS1_11CXXCtorTypeEbb
fun:_ZN5clang7CodeGen8CGCXXABI26addImplicitConstructorArgsERNS0_15CodeGenFunctionEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeEbbRNS0_11CallArgListE
fun:_ZN5clang7CodeGen15CodeGenFunction22EmitCXXConstructorCallEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeEbbNS0_7AddressERNS0_11CallArgListENS0_12AggValueSlot9Overlap_tENS_14SourceLocationEb
fun:_ZN5clang7CodeGen15CodeGenFunction22EmitCXXConstructorCallEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeEbbNS0_12AggValueSlotEPKNS_16CXXConstructExprE
fun:_ZN12_GLOBAL__N_114AggExprEmitter21VisitCXXConstructExprEPKN5clang16CXXConstructExprE
fun:_ZN5clang7CodeGen15CodeGenFunction11EmitAggExprEPKNS_4ExprENS0_12AggValueSlotE
fun:_ZL19EmitBaseInitializerRN5clang7CodeGen15CodeGenFunctionEPKNS_13CXXRecordDeclEPNS_18CXXCtorInitializerE
fun:_ZN5clang7CodeGen15CodeGenFunction16EmitCtorPrologueEPKNS_18CXXConstructorDeclENS_11CXXCtorTypeERNS0_15FunctionArgListE.part.0
fun:_ZN5clang7CodeGen15CodeGenFunction19EmitConstructorBodyERNS0_15FunctionArgListE
}

# Ubuntu 22.04

{
LLVM 18 suppressions : Clang CodeGenModule
Memcheck:Cond
fun:_ZN5clang7CodeGen13CodeGenModule38SetLLVMFunctionAttributesForDefinitionEPKNS_4DeclEPN4llvm8FunctionE
fun:_ZN5clang7CodeGen13CodeGenModule18codegenCXXStructorENS_10GlobalDeclE
Expand Down
4 changes: 2 additions & 2 deletions installer/cppyy_monkey_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_requires_for_build_wheel(*args, **kwds):
try:
import __pypy__, sys
version = sys.pypy_version_info
requirements = ['cppyy-cling==6.28.0']
requirements = ['cppyy-cling==6.30.0']
if version[0] == 5:
if version[1] <= 9:
requirements = ['cppyy-cling<6.12']
Expand All @@ -32,7 +32,7 @@ def get_requires_for_build_wheel(*args, **kwds):
requirements = ['cppyy-cling<=6.18.2.3']
except ImportError:
# CPython
requirements = ['cppyy-backend==1.14.11', 'cppyy-cling==6.28.0']
requirements = ['cppyy-backend==1.15.0', 'cppyy-cling==6.30.0']

return requirements + _get_requires_for_build_wheel(*args, **kwds)

Expand Down

0 comments on commit 962e91a

Please sign in to comment.