17330f729Sjoerg#!/usr/bin/env python 27330f729Sjoerg# -*- coding: utf-8 -*- 37330f729Sjoerg# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 47330f729Sjoerg# See https://llvm.org/LICENSE.txt for license information. 57330f729Sjoerg# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 67330f729Sjoerg 77330f729Sjoergimport multiprocessing 87330f729Sjoergimport sys 97330f729Sjoergimport os.path 107330f729Sjoergthis_dir = os.path.dirname(os.path.realpath(__file__)) 117330f729Sjoergsys.path.append(os.path.dirname(this_dir)) 127330f729Sjoerg 137330f729Sjoergfrom libscanbuild.analyze import scan_build 14*e038c9c4Sjoerg 15*e038c9c4Sjoergif __name__ == '__main__': 16*e038c9c4Sjoerg multiprocessing.freeze_support() 177330f729Sjoerg sys.exit(scan_build()) 18