blob: 0884ef2234bf447884aafe399aa071971fd5c961 [file] [log] [blame]
Laszlo Nagybc687582016-01-12 22:38:41 +00001#!/usr/bin/env python
2# -*- coding: utf-8 -*-
Chandler Carruth2946cd72019-01-19 08:50:56 +00003# 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
Laszlo Nagybc687582016-01-12 22:38:41 +00006
7import multiprocessing
Laszlo Nagybc687582016-01-12 22:38:41 +00008import sys
9import os.path
10this_dir = os.path.dirname(os.path.realpath(__file__))
11sys.path.append(os.path.dirname(this_dir))
12
Laszlo Nagy5270bb92017-03-08 21:18:51 +000013from libscanbuild.analyze import analyze_build
Lawrence D'Anna0c642822020-09-05 11:09:21 -070014
15if __name__ == '__main__':
16 multiprocessing.freeze_support()
17 sys.exit(analyze_build())