aboutsummaryrefslogtreecommitdiff
path: root/tools/scan-build-py/bin/intercept-build
blob: 2c3a26ecdddc1307b7e809e54ca70b8da379530c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#                     The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.

import multiprocessing
multiprocessing.freeze_support()

import sys
import os.path
this_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.dirname(this_dir))

from libscanbuild.intercept import intercept_build
sys.exit(intercept_build())