Lines Matching refs:header_dir
80 static CompilationRequirements collectRequirements(const Arch& arch, const std::string& header_dir, in collectRequirements() argument
82 std::vector<std::string> headers = collectHeaders(header_dir); in collectRequirements()
83 std::vector<std::string> dependencies = { header_dir }; in collectRequirements()
160 const std::string& header_dir, in compileHeaders() argument
166 auto vfs = createCommonVFS(header_dir, dependency_dir, add_include); in compileHeaders()
177 requirements[type.arch] = collectRequirements(type.arch, header_dir, dependency_dir); in compileHeaders()
202 threads.emplace_back([&jobs, &job_index, &result, &header_dir, vfs, cpu_count, i]() { in compileHeaders()
556 std::string header_dir; in main() local
568 header_dir = versioner_dir + "/current"; in main()
575 header_dir = realpath(argv[optind], nullptr); in main()
592 if (stat(header_dir.c_str(), &st) != 0) { in main()
593 err(1, "failed to stat '%s'", header_dir.c_str()); in main()
595 errx(1, "'%s' is not a directory", header_dir.c_str()); in main()
611 compileHeaders(compilation_types, header_dir, dependency_dir); in main()
621 declaration_database->dump(header_dir + "/"); in main()
637 failed = !preprocessHeaders(preprocessor_output_path, header_dir, declaration_database.get()); in main()