Laszlo Nagy | bc68758 | 2016-01-12 22:38:41 +0000 | [diff] [blame^] | 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.intercept import intercept_build_main |
| 17 | sys.exit(intercept_build_main(this_dir)) |