1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 3# The LLVM Compiler Infrastructure 4# 5# This file is distributed under the University of Illinois Open Source 6# License. See LICENSE.TXT for details. 7 8import multiprocessing 9multiprocessing.freeze_support() 10 11import sys 12import os.path 13this_dir = os.path.dirname(os.path.realpath(__file__)) 14sys.path.append(os.path.dirname(this_dir)) 15 16from libscanbuild.intercept import intercept_build_main 17sys.exit(intercept_build_main(this_dir)) 18