Changes in / [cde3891:a200795]
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rcde3891 ra200795 7 7 node('master') { 8 8 // Globals 9 BuildDir = null10 SrcDir = null9 BuildDir = pwd tmp: true 10 SrcDir = pwd tmp: false 11 11 Settings = null 12 12 StageName = '' … … 46 46 publish() 47 47 } 48 49 // Update the build directories when exiting the node 50 BuildDir = pwd tmp: true 51 SrcDir = pwd tmp: false 48 52 49 53 notify_server(45) … … 149 153 dir (BuildDir) { 150 154 //Append bench results 151 sh " make --no-print-directory -C benchmark jenkins githash=${Settings.GitNewRef} arch=${Settings.Architecture} | tee ${SrcDir}/bench.json"155 sh "${SrcDir}/benchmark/jenkins.sh ${Settings.GitNewRef} ${Settings.Architecture} ${BuildDir}/bench.json" 152 156 } 153 157 } … … 175 179 176 180 //Then publish the results 177 sh 'curl --silent --show-error -H \'Content-Type: application/json\' --data @ bench.json https://cforall.uwaterloo.ca:8082/jenkins/publish > /dev/null || true'181 sh 'curl --silent --show-error -H \'Content-Type: application/json\' --data @${BuildDir}/bench.json https://cforall.uwaterloo.ca:8082/jenkins/publish > /dev/null || true' 178 182 } 179 183 } … … 185 189 if (!Settings || !Settings.GitOldRef || !Settings.GitNewRef) return "\nERROR retrieveing git information!\n" 186 190 187 sh "${SrcDir}/tools/PrettyGitLogs.sh ${ BuildDir} ${Settings.GitOldRef} ${Settings.GitNewRef}"191 sh "${SrcDir}/tools/PrettyGitLogs.sh ${SrcDir} ${BuildDir} ${Settings.GitOldRef} ${Settings.GitNewRef}" 188 192 189 193 def gitUpdate = readFile("${BuildDir}/GIT_UPDATE") … … 298 302 switch( param.Architecture ) { 299 303 case 'x64': 300 this.Architecture = new Arch_Desc('x64', '--host=x86_64', ' master')304 this.Architecture = new Arch_Desc('x64', '--host=x86_64', 'x64') 301 305 break 302 306 case 'x86': 303 this.Architecture = new Arch_Desc('x86', '--host=i386', ' master')307 this.Architecture = new Arch_Desc('x86', '--host=i386', 'x86') 304 308 break 305 309 default : … … 377 381 ]]) 378 382 383 // It's unfortunate but it looks like we need to checkout the entire repo just to get the pretty git printer 384 checkout scm 385 379 386 final settings = new BuildSettings(params, env.BRANCH_NAME) 380 387 … … 404 411 catch (Exception caughtError) { 405 412 err = caughtError //rethrow error later 406 sh 'cat *.log'413 sh 'cat build/*.log' 407 414 } 408 415 finally { -
src/Makefile.am
rcde3891 ra200795 20 20 21 21 SRC = main.cc \ 22 23 22 MakeLibCfa.cc \ 23 CompilationState.cc 24 24 25 25 MAINTAINERCLEANFILES = 26 MOSTLYCLEANFILES = 26 MOSTLYCLEANFILES = Parser/gcc-flags.h 27 27 28 # Is there a way to use a variable for the directory names? 28 Parser/gcc-flags.h : 29 ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@) 30 31 Parser/lex.ll : Parser/gcc-flags.h 29 32 30 33 include CodeGen/module.mk … … 58 61 59 62 noinst_LIBRARIES = libdemangle.a 60 libdemangle_a_SOURCES = SymTab/Demangle.cc SymTab/ManglerCommon.cc \ 61 SynTree/Type.cc \ 62 SynTree/VoidType.cc \ 63 SynTree/BasicType.cc \ 64 SynTree/PointerType.cc \ 65 SynTree/ArrayType.cc \ 66 SynTree/ReferenceType.cc \ 67 SynTree/FunctionType.cc \ 68 SynTree/ReferenceToType.cc \ 69 SynTree/TupleType.cc \ 70 SynTree/TypeofType.cc \ 71 SynTree/AttrType.cc \ 72 SynTree/VarArgsType.cc \ 73 SynTree/ZeroOneType.cc \ 74 SynTree/Constant.cc \ 75 SynTree/Expression.cc \ 76 SynTree/TupleExpr.cc \ 77 SynTree/CommaExpr.cc \ 78 SynTree/TypeExpr.cc \ 79 SynTree/ApplicationExpr.cc \ 80 SynTree/AddressExpr.cc \ 81 SynTree/Statement.cc \ 82 SynTree/CompoundStmt.cc \ 83 SynTree/DeclStmt.cc \ 84 SynTree/Declaration.cc \ 85 SynTree/DeclarationWithType.cc \ 86 SynTree/ObjectDecl.cc \ 87 SynTree/FunctionDecl.cc \ 88 SynTree/AggregateDecl.cc \ 89 SynTree/NamedTypeDecl.cc \ 90 SynTree/TypeDecl.cc \ 91 SynTree/Initializer.cc \ 92 SynTree/TypeSubstitution.cc \ 93 SynTree/Attribute.cc \ 94 SynTree/DeclReplacer.cc \ 95 CompilationState.cc \ 96 CodeGen/CodeGenerator.cc \ 97 CodeGen/FixMain.cc \ 98 CodeGen/Generate.cc \ 99 CodeGen/GenType.cc \ 100 CodeGen/OperatorTable.cc \ 101 Common/Assert.cc \ 102 Common/Eval.cc \ 103 Common/SemanticError.cc \ 104 Common/UniqueName.cc \ 105 Concurrency/Keywords.cc \ 106 ControlStruct/ForExprMutator.cc \ 107 ControlStruct/LabelFixer.cc \ 108 ControlStruct/LabelGenerator.cc \ 109 ControlStruct/MLEMutator.cc \ 110 ControlStruct/Mutate.cc \ 111 GenPoly/GenPoly.cc \ 112 GenPoly/Lvalue.cc \ 113 InitTweak/GenInit.cc \ 114 InitTweak/InitTweak.cc \ 115 Parser/LinkageSpec.cc \ 116 ResolvExpr/AdjustExprType.cc \ 117 ResolvExpr/Alternative.cc \ 118 ResolvExpr/AlternativeFinder.cc \ 119 ResolvExpr/ExplodedActual.cc \ 120 ResolvExpr/CastCost.cc \ 121 ResolvExpr/CommonType.cc \ 122 ResolvExpr/ConversionCost.cc \ 123 ResolvExpr/CurrentObject.cc \ 124 ResolvExpr/FindOpenVars.cc \ 125 ResolvExpr/Occurs.cc \ 126 ResolvExpr/PolyCost.cc \ 127 ResolvExpr/PtrsAssignable.cc \ 128 ResolvExpr/PtrsCastable.cc \ 129 ResolvExpr/RenameVars.cc \ 130 ResolvExpr/ResolveAssertions.cc \ 131 ResolvExpr/Resolver.cc \ 132 ResolvExpr/ResolveTypeof.cc \ 133 ResolvExpr/SpecCost.cc \ 134 ResolvExpr/TypeEnvironment.cc \ 135 ResolvExpr/Unify.cc \ 136 SymTab/Autogen.cc \ 137 SymTab/FixFunction.cc \ 138 SymTab/Indexer.cc \ 139 SymTab/Mangler.cc \ 140 SymTab/Validate.cc \ 141 Tuples/Explode.cc \ 142 Tuples/TupleAssignment.cc \ 143 Tuples/TupleExpansion.cc \ 144 Validate/HandleAttributes.cc \ 145 Validate/FindSpecialDecls.cc 63 libdemangle_a_SOURCES = \ 64 SymTab/Demangle.cc \ 65 SymTab/ManglerCommon.cc \ 66 SynTree/Type.cc \ 67 SynTree/VoidType.cc \ 68 SynTree/BasicType.cc \ 69 SynTree/PointerType.cc \ 70 SynTree/ArrayType.cc \ 71 SynTree/ReferenceType.cc \ 72 SynTree/FunctionType.cc \ 73 SynTree/ReferenceToType.cc \ 74 SynTree/TupleType.cc \ 75 SynTree/TypeofType.cc \ 76 SynTree/AttrType.cc \ 77 SynTree/VarArgsType.cc \ 78 SynTree/ZeroOneType.cc \ 79 SynTree/Constant.cc \ 80 SynTree/Expression.cc \ 81 SynTree/TupleExpr.cc \ 82 SynTree/CommaExpr.cc \ 83 SynTree/TypeExpr.cc \ 84 SynTree/ApplicationExpr.cc \ 85 SynTree/AddressExpr.cc \ 86 SynTree/Statement.cc \ 87 SynTree/CompoundStmt.cc \ 88 SynTree/DeclStmt.cc \ 89 SynTree/Declaration.cc \ 90 SynTree/DeclarationWithType.cc \ 91 SynTree/ObjectDecl.cc \ 92 SynTree/FunctionDecl.cc \ 93 SynTree/AggregateDecl.cc \ 94 SynTree/NamedTypeDecl.cc \ 95 SynTree/TypeDecl.cc \ 96 SynTree/Initializer.cc \ 97 SynTree/TypeSubstitution.cc \ 98 SynTree/Attribute.cc \ 99 SynTree/DeclReplacer.cc \ 100 CompilationState.cc \ 101 CodeGen/CodeGenerator.cc \ 102 CodeGen/FixMain.cc \ 103 CodeGen/Generate.cc \ 104 CodeGen/GenType.cc \ 105 CodeGen/OperatorTable.cc \ 106 Common/Assert.cc \ 107 Common/Eval.cc \ 108 Common/SemanticError.cc \ 109 Common/UniqueName.cc \ 110 Concurrency/Keywords.cc \ 111 ControlStruct/ForExprMutator.cc \ 112 ControlStruct/LabelFixer.cc \ 113 ControlStruct/LabelGenerator.cc \ 114 ControlStruct/MLEMutator.cc \ 115 ControlStruct/Mutate.cc \ 116 GenPoly/GenPoly.cc \ 117 GenPoly/Lvalue.cc \ 118 InitTweak/GenInit.cc \ 119 InitTweak/InitTweak.cc \ 120 Parser/LinkageSpec.cc \ 121 ResolvExpr/AdjustExprType.cc \ 122 ResolvExpr/Alternative.cc \ 123 ResolvExpr/AlternativeFinder.cc \ 124 ResolvExpr/ExplodedActual.cc \ 125 ResolvExpr/CastCost.cc \ 126 ResolvExpr/CommonType.cc \ 127 ResolvExpr/ConversionCost.cc \ 128 ResolvExpr/CurrentObject.cc \ 129 ResolvExpr/FindOpenVars.cc \ 130 ResolvExpr/Occurs.cc \ 131 ResolvExpr/PolyCost.cc \ 132 ResolvExpr/PtrsAssignable.cc \ 133 ResolvExpr/PtrsCastable.cc \ 134 ResolvExpr/RenameVars.cc \ 135 ResolvExpr/ResolveAssertions.cc \ 136 ResolvExpr/Resolver.cc \ 137 ResolvExpr/ResolveTypeof.cc \ 138 ResolvExpr/SpecCost.cc \ 139 ResolvExpr/TypeEnvironment.cc \ 140 ResolvExpr/Unify.cc \ 141 SymTab/Autogen.cc \ 142 SymTab/FixFunction.cc \ 143 SymTab/Indexer.cc \ 144 SymTab/Mangler.cc \ 145 SymTab/Validate.cc \ 146 Tuples/Explode.cc \ 147 Tuples/TupleAssignment.cc \ 148 Tuples/TupleExpansion.cc \ 149 Validate/HandleAttributes.cc \ 150 Validate/FindSpecialDecls.cc 151 146 152 147 153 MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}} -
src/Makefile.in
rcde3891 ra200795 620 620 Validate/FindSpecialDecls.cc Virtual/ExpandCasts.cc 621 621 MAINTAINERCLEANFILES = ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}} 622 MOSTLYCLEANFILES = Parser/parser.hh Parser/parser.output 622 MOSTLYCLEANFILES = Parser/gcc-flags.h Parser/lex.cc Parser/parser.cc \ 623 Parser/parser.hh Parser/parser.output 623 624 BUILT_SOURCES = Parser/parser.hh 624 625 AM_YFLAGS = -d -t -v 625 626 # Is there a way to use a variable for the directory names?627 626 628 627 # put into lib for now … … 636 635 demangler_LDADD = libdemangle.a # yywrap 637 636 noinst_LIBRARIES = libdemangle.a 638 libdemangle_a_SOURCES = SymTab/Demangle.cc SymTab/ManglerCommon.cc \ 639 SynTree/Type.cc \ 640 SynTree/VoidType.cc \ 641 SynTree/BasicType.cc \ 642 SynTree/PointerType.cc \ 643 SynTree/ArrayType.cc \ 644 SynTree/ReferenceType.cc \ 645 SynTree/FunctionType.cc \ 646 SynTree/ReferenceToType.cc \ 647 SynTree/TupleType.cc \ 648 SynTree/TypeofType.cc \ 649 SynTree/AttrType.cc \ 650 SynTree/VarArgsType.cc \ 651 SynTree/ZeroOneType.cc \ 652 SynTree/Constant.cc \ 653 SynTree/Expression.cc \ 654 SynTree/TupleExpr.cc \ 655 SynTree/CommaExpr.cc \ 656 SynTree/TypeExpr.cc \ 657 SynTree/ApplicationExpr.cc \ 658 SynTree/AddressExpr.cc \ 659 SynTree/Statement.cc \ 660 SynTree/CompoundStmt.cc \ 661 SynTree/DeclStmt.cc \ 662 SynTree/Declaration.cc \ 663 SynTree/DeclarationWithType.cc \ 664 SynTree/ObjectDecl.cc \ 665 SynTree/FunctionDecl.cc \ 666 SynTree/AggregateDecl.cc \ 667 SynTree/NamedTypeDecl.cc \ 668 SynTree/TypeDecl.cc \ 669 SynTree/Initializer.cc \ 670 SynTree/TypeSubstitution.cc \ 671 SynTree/Attribute.cc \ 672 SynTree/DeclReplacer.cc \ 673 CompilationState.cc \ 674 CodeGen/CodeGenerator.cc \ 675 CodeGen/FixMain.cc \ 676 CodeGen/Generate.cc \ 677 CodeGen/GenType.cc \ 678 CodeGen/OperatorTable.cc \ 679 Common/Assert.cc \ 680 Common/Eval.cc \ 681 Common/SemanticError.cc \ 682 Common/UniqueName.cc \ 683 Concurrency/Keywords.cc \ 684 ControlStruct/ForExprMutator.cc \ 685 ControlStruct/LabelFixer.cc \ 686 ControlStruct/LabelGenerator.cc \ 687 ControlStruct/MLEMutator.cc \ 688 ControlStruct/Mutate.cc \ 689 GenPoly/GenPoly.cc \ 690 GenPoly/Lvalue.cc \ 691 InitTweak/GenInit.cc \ 692 InitTweak/InitTweak.cc \ 693 Parser/LinkageSpec.cc \ 694 ResolvExpr/AdjustExprType.cc \ 695 ResolvExpr/Alternative.cc \ 696 ResolvExpr/AlternativeFinder.cc \ 697 ResolvExpr/ExplodedActual.cc \ 698 ResolvExpr/CastCost.cc \ 699 ResolvExpr/CommonType.cc \ 700 ResolvExpr/ConversionCost.cc \ 701 ResolvExpr/CurrentObject.cc \ 702 ResolvExpr/FindOpenVars.cc \ 703 ResolvExpr/Occurs.cc \ 704 ResolvExpr/PolyCost.cc \ 705 ResolvExpr/PtrsAssignable.cc \ 706 ResolvExpr/PtrsCastable.cc \ 707 ResolvExpr/RenameVars.cc \ 708 ResolvExpr/ResolveAssertions.cc \ 709 ResolvExpr/Resolver.cc \ 710 ResolvExpr/ResolveTypeof.cc \ 711 ResolvExpr/SpecCost.cc \ 712 ResolvExpr/TypeEnvironment.cc \ 713 ResolvExpr/Unify.cc \ 714 SymTab/Autogen.cc \ 715 SymTab/FixFunction.cc \ 716 SymTab/Indexer.cc \ 717 SymTab/Mangler.cc \ 718 SymTab/Validate.cc \ 719 Tuples/Explode.cc \ 720 Tuples/TupleAssignment.cc \ 721 Tuples/TupleExpansion.cc \ 722 Validate/HandleAttributes.cc \ 723 Validate/FindSpecialDecls.cc 637 libdemangle_a_SOURCES = \ 638 SymTab/Demangle.cc \ 639 SymTab/ManglerCommon.cc \ 640 SynTree/Type.cc \ 641 SynTree/VoidType.cc \ 642 SynTree/BasicType.cc \ 643 SynTree/PointerType.cc \ 644 SynTree/ArrayType.cc \ 645 SynTree/ReferenceType.cc \ 646 SynTree/FunctionType.cc \ 647 SynTree/ReferenceToType.cc \ 648 SynTree/TupleType.cc \ 649 SynTree/TypeofType.cc \ 650 SynTree/AttrType.cc \ 651 SynTree/VarArgsType.cc \ 652 SynTree/ZeroOneType.cc \ 653 SynTree/Constant.cc \ 654 SynTree/Expression.cc \ 655 SynTree/TupleExpr.cc \ 656 SynTree/CommaExpr.cc \ 657 SynTree/TypeExpr.cc \ 658 SynTree/ApplicationExpr.cc \ 659 SynTree/AddressExpr.cc \ 660 SynTree/Statement.cc \ 661 SynTree/CompoundStmt.cc \ 662 SynTree/DeclStmt.cc \ 663 SynTree/Declaration.cc \ 664 SynTree/DeclarationWithType.cc \ 665 SynTree/ObjectDecl.cc \ 666 SynTree/FunctionDecl.cc \ 667 SynTree/AggregateDecl.cc \ 668 SynTree/NamedTypeDecl.cc \ 669 SynTree/TypeDecl.cc \ 670 SynTree/Initializer.cc \ 671 SynTree/TypeSubstitution.cc \ 672 SynTree/Attribute.cc \ 673 SynTree/DeclReplacer.cc \ 674 CompilationState.cc \ 675 CodeGen/CodeGenerator.cc \ 676 CodeGen/FixMain.cc \ 677 CodeGen/Generate.cc \ 678 CodeGen/GenType.cc \ 679 CodeGen/OperatorTable.cc \ 680 Common/Assert.cc \ 681 Common/Eval.cc \ 682 Common/SemanticError.cc \ 683 Common/UniqueName.cc \ 684 Concurrency/Keywords.cc \ 685 ControlStruct/ForExprMutator.cc \ 686 ControlStruct/LabelFixer.cc \ 687 ControlStruct/LabelGenerator.cc \ 688 ControlStruct/MLEMutator.cc \ 689 ControlStruct/Mutate.cc \ 690 GenPoly/GenPoly.cc \ 691 GenPoly/Lvalue.cc \ 692 InitTweak/GenInit.cc \ 693 InitTweak/InitTweak.cc \ 694 Parser/LinkageSpec.cc \ 695 ResolvExpr/AdjustExprType.cc \ 696 ResolvExpr/Alternative.cc \ 697 ResolvExpr/AlternativeFinder.cc \ 698 ResolvExpr/ExplodedActual.cc \ 699 ResolvExpr/CastCost.cc \ 700 ResolvExpr/CommonType.cc \ 701 ResolvExpr/ConversionCost.cc \ 702 ResolvExpr/CurrentObject.cc \ 703 ResolvExpr/FindOpenVars.cc \ 704 ResolvExpr/Occurs.cc \ 705 ResolvExpr/PolyCost.cc \ 706 ResolvExpr/PtrsAssignable.cc \ 707 ResolvExpr/PtrsCastable.cc \ 708 ResolvExpr/RenameVars.cc \ 709 ResolvExpr/ResolveAssertions.cc \ 710 ResolvExpr/Resolver.cc \ 711 ResolvExpr/ResolveTypeof.cc \ 712 ResolvExpr/SpecCost.cc \ 713 ResolvExpr/TypeEnvironment.cc \ 714 ResolvExpr/Unify.cc \ 715 SymTab/Autogen.cc \ 716 SymTab/FixFunction.cc \ 717 SymTab/Indexer.cc \ 718 SymTab/Mangler.cc \ 719 SymTab/Validate.cc \ 720 Tuples/Explode.cc \ 721 Tuples/TupleAssignment.cc \ 722 Tuples/TupleExpansion.cc \ 723 Validate/HandleAttributes.cc \ 724 Validate/FindSpecialDecls.cc 724 725 725 726 all: $(BUILT_SOURCES) … … 1566 1567 1567 1568 1569 Parser/gcc-flags.h : 1570 ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@) 1571 1572 Parser/lex.ll : Parser/gcc-flags.h 1573 1568 1574 # Tell versions [3.59,3.63) of GNU make to not export all variables. 1569 1575 # Otherwise a system limit (for SysV at least) may be exceeded. -
src/Parser/module.mk
rcde3891 ra200795 31 31 Parser/parserutility.cc 32 32 33 MOSTLYCLEANFILES += Parser/ parser.hh Parser/parser.output33 MOSTLYCLEANFILES += Parser/lex.cc Parser/parser.cc Parser/parser.hh Parser/parser.output -
tools/PrettyGitLogs.sh
rcde3891 ra200795 3 3 set -e 4 4 5 GIT_UPDATE="$1/GIT_UPDATE" 6 GIT_LOG="$1/GIT_LOG" 7 GIT_DIFF="$1/GIT_DIFF" 5 GIT="git --git-dir=$1/.git" 6 7 GIT_UPDATE="$2/GIT_UPDATE" 8 GIT_LOG="$2/GIT_LOG" 9 GIT_DIFF="$2/GIT_DIFF" 8 10 9 11 rm -f ${GIT_UPDATE} ${GIT_LOG} ${GIT_DIFF} 10 12 11 GitOldRef=$ 212 GitNewRef=$ 313 GitOldRef=$3 14 GitNewRef=$4 13 15 14 16
Note: See TracChangeset
for help on using the changeset viewer.