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 8 import multiprocessing 9 multiprocessing.freeze_support() 10 11 import sys 12 import os.path 13 this_dir = os.path.dirname(os.path.realpath(__file__)) 14 sys.path.append(os.path.dirname(this_dir)) 15 16 from libscanbuild.analyze import analyze_build_main 17 sys.exit(analyze_build_main(this_dir, False)) 18