Lines Matching +full:llvm +full:- +full:project
21 parser.error("Please provide both --origin and --commit if source is 'git'")
25 "Options --origin and --commit don't make sense when " "source is not 'git'"
28 project = ProjectInfo(
32 SATestAdd.add_new_project(project)
89 for project in project_map.projects:
90 SATestUpdateDiffs.update_reference_results(project, args.git)
115 project.with_fields(
116 enabled=(force or project.enabled) and predicate(project)
118 for project in projects
123 available_projects = [project.name for project in projects]
125 # validate that given projects are present in the project map file
129 "Project '{project}' is not found in "
130 "the project map file. Available projects are "
131 "{all}.".format(project=manual_project, all=available_projects)
135 projects, lambda project: project.name in projects_arg, force=True
143 projects = filter_projects(projects, lambda project: project.size <= max_size)
150 if args.rest[0] != "--":
151 parser.error("REST arguments should start with '--'")
163 sys.exit(call("docker build --tag satest-image {}".format(SCRIPTS_DIR), shell=True))
171 docker_run(args, "--wait", "--detach")
173 call("docker exec -it satest bash", shell=True)
185 "docker run --rm --name satest "
186 "-v {llvm}:/llvm-project "
187 "-v {build}:/build "
188 "-v {clang}:/analyzer "
189 "-v {scripts}:/scripts "
190 "-v {projects}:/projects "
192 "satest-image:latest {command}".format(
193 llvm=args.llvm_project_dir,
219 "add", help="Add a new project for the analyzer testing."
223 add_parser.add_argument("name", nargs=1, help="Name of the new project")
225 "--mode",
230 help="Build mode: 0 for single file project, "
232 "2 for single file c++11 project",
235 "--source",
239 help="Source type of the new project: "
241 "(please provide --origin and --commit), "
247 "--origin", action="store", default="", help="Origin link for a git repository"
250 "--commit", action="store", default="", help="Git hash for a commit to checkout"
257 help="Build projects from the project map and compare results with "
261 "--strictness",
271 "-r",
278 "--override-compiler",
281 help="Call scan-build with " "--override-compiler option.",
284 "-j",
285 "--jobs",
292 "--extra-analyzer-config",
296 help="Arguments passed to to -analyzer-config",
299 "--extra-checkers",
306 "--projects",
309 help="Comma-separated list of projects to test",
312 "--max-size",
317 build_parser.add_argument("-v", "--verbose", action="count", default=0)
327 "--root-old",
335 "--root-new",
343 "--verbose-log",
352 "--stats-only",
359 "--show-stats",
366 "--histogram",
382 "--git", action="store_true", help="Stage updated results using git."
392 "--build-image",
397 "--shell", action="store_true", help="Start a shell on docker."
400 "--llvm-project-dir",
403 help="Path to LLVM source code. Defaults "
407 "--build-dir",
410 help="Path to a directory where docker should " "build LLVM code.",
413 "--clang-dir",
416 help="Path to find/install LLVM installation.",
432 "-i",
433 "--iterations",
437 help="Number of iterations for building each " "project.",
440 "-o",
441 "--output",
447 "--projects",
450 help="Comma-separated list of projects to test",
453 "--max-size",
465 "--old",
471 "--new", action="store", required=True, help="New benchmark results to check."
474 "-o", "--output", action="store", required=True, help="Output file for plots."