blob: b3f61429906c4ae697c9df495f3f82a2093955e0 [file] [log] [blame]
Googler9718e792022-10-20 21:57:13 -07001#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4# See https://llvm.org/LICENSE.txt for license information.
5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
7import multiprocessing
8import sys
9import os.path
10this_dir = os.path.dirname(os.path.realpath(__file__))
11sys.path.append(os.path.join(os.path.dirname(this_dir), 'lib'))
12
13from libscanbuild.analyze import analyze_build
14
15if __name__ == '__main__':
16 multiprocessing.freeze_support()
17 sys.exit(analyze_build())