diff --git a/.github/workflows/Ubuntu.yml b/.github/workflows/Ubuntu.yml index 2147e77f..c448d451 100644 --- a/.github/workflows/Ubuntu.yml +++ b/.github/workflows/Ubuntu.yml @@ -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 @@ -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 diff --git a/etc/clang17-valgrind.supp b/etc/clang17-valgrind.supp index ced2a07c..7e420431 100644 --- a/etc/clang17-valgrind.supp +++ b/etc/clang17-valgrind.supp @@ -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 diff --git a/etc/clang18-valgrind.supp b/etc/clang18-valgrind.supp index 27a44c7d..574609ca 100644 --- a/etc/clang18-valgrind.supp +++ b/etc/clang18-valgrind.supp @@ -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 diff --git a/installer/cppyy_monkey_patch.py b/installer/cppyy_monkey_patch.py index aa57c5a3..34b1340f 100644 --- a/installer/cppyy_monkey_patch.py +++ b/installer/cppyy_monkey_patch.py @@ -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'] @@ -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)