OLD | NEW |
1 ##===- tools/Makefile --------------------------------------*- Makefile -*-===## | 1 ##===- tools/Makefile --------------------------------------*- Makefile -*-===## |
2 # | 2 # |
3 # The LLVM Compiler Infrastructure | 3 # The LLVM Compiler Infrastructure |
4 # | 4 # |
5 # This file is distributed under the University of Illinois Open Source | 5 # This file is distributed under the University of Illinois Open Source |
6 # License. See LICENSE.TXT for details. | 6 # License. See LICENSE.TXT for details. |
7 # | 7 # |
8 ##===----------------------------------------------------------------------===## | 8 ##===----------------------------------------------------------------------===## |
9 | 9 |
10 LEVEL := .. | 10 LEVEL := .. |
11 | 11 |
12 include $(LEVEL)/Makefile.config | 12 include $(LEVEL)/Makefile.config |
13 | 13 |
14 # Build clang if present. | 14 # Build clang if present. |
15 | 15 |
16 ifneq ($(CLANG_SRC_ROOT),) | 16 ifneq ($(CLANG_SRC_ROOT),) |
17 OPTIONAL_PARALLEL_DIRS := $(CLANG_SRC_ROOT) | 17 OPTIONAL_PARALLEL_DIRS := $(CLANG_SRC_ROOT) |
18 else | 18 else |
19 OPTIONAL_PARALLEL_DIRS := clang | 19 OPTIONAL_PARALLEL_DIRS := clang |
20 endif | 20 endif |
21 | 21 |
| 22 OPTIONAL_PARALLEL_DIRS += $(SUBZERO_SRC_ROOT) # @LOCALMOD |
| 23 |
22 # Build LLD and LLDB if present. Note LLDB must be built last as it depends on | 24 # Build LLD and LLDB if present. Note LLDB must be built last as it depends on |
23 # the wider LLVM infrastructure (including Clang). | 25 # the wider LLVM infrastructure (including Clang). |
24 OPTIONAL_PARALLEL_DIRS += lld | 26 OPTIONAL_PARALLEL_DIRS += lld |
25 OPTIONAL_DIRS := lldb | 27 OPTIONAL_DIRS := lldb |
26 | 28 |
27 # NOTE: The tools are organized into five groups of four consisting of one | 29 # NOTE: The tools are organized into five groups of four consisting of one |
28 # large and three small executables. This is done to minimize memory load | 30 # large and three small executables. This is done to minimize memory load |
29 # in parallel builds. Please retain this ordering. | 31 # in parallel builds. Please retain this ordering. |
30 DIRS := llvm-config | 32 DIRS := llvm-config |
31 PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \ | 33 PARALLEL_DIRS := pnacl-llc pnacl-abicheck pnacl-bcanalyzer pnacl-freeze \ |
| 34 pnacl-benchmark pnacl-thaw pnacl-bccompress pnacl-bcdis \ |
| 35 opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \ |
32 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \ | 36 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \ |
33 macho-dump llvm-objdump llvm-readobj llvm-rtdyld \ | 37 macho-dump llvm-objdump llvm-readobj llvm-rtdyld \ |
34 llvm-dwarfdump llvm-cov llvm-size llvm-stress llvm-mcmarkup \ | 38 llvm-dwarfdump llvm-cov llvm-size llvm-stress llvm-mcmarkup \ |
35 llvm-profdata llvm-symbolizer obj2yaml yaml2obj llvm-c-test \ | 39 llvm-profdata llvm-symbolizer obj2yaml yaml2obj llvm-c-test \ |
36 llvm-vtabledump verify-uselistorder | 40 llvm-vtabledump verify-uselistorder |
37 | 41 |
38 # If Intel JIT Events support is configured, build an extra tool to test it. | 42 # If Intel JIT Events support is configured, build an extra tool to test it. |
39 ifeq ($(USE_INTEL_JITEVENTS), 1) | 43 ifeq ($(USE_INTEL_JITEVENTS), 1) |
40 PARALLEL_DIRS += llvm-jitlistener | 44 PARALLEL_DIRS += llvm-jitlistener |
41 endif | 45 endif |
(...skipping 30 matching lines...) Expand all Loading... |
72 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ | 76 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ |
73 $(PARALLEL_DIRS)) | 77 $(PARALLEL_DIRS)) |
74 endif | 78 endif |
75 endif | 79 endif |
76 | 80 |
77 ifneq (,$(filter go,$(BINDINGS_TO_BUILD))) | 81 ifneq (,$(filter go,$(BINDINGS_TO_BUILD))) |
78 PARALLEL_DIRS += llvm-go | 82 PARALLEL_DIRS += llvm-go |
79 endif | 83 endif |
80 | 84 |
81 include $(LEVEL)/Makefile.common | 85 include $(LEVEL)/Makefile.common |
OLD | NEW |