blob: 23f5104782ca7d9367f8d8553ce79584c20a516e [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
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
Laszlo Nagy5270bb92017-03-08 21:18:51 +000015from libscanbuild.intercept import intercept_build
16sys.exit(intercept_build())