1#!/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 8multiprocessing.freeze_support() 9 10import sys 11import os.path 12this_dir = os.path.dirname(os.path.realpath(__file__)) 13sys.path.append(os.path.dirname(this_dir)) 14 15from libscanbuild.intercept import intercept_build 16sys.exit(intercept_build()) 17