| 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 := .. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 llvm-vtabledump verify-uselistorder | 40 llvm-vtabledump verify-uselistorder |
| 41 | 41 |
| 42 # 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. |
| 43 ifeq ($(USE_INTEL_JITEVENTS), 1) | 43 ifeq ($(USE_INTEL_JITEVENTS), 1) |
| 44 PARALLEL_DIRS += llvm-jitlistener | 44 PARALLEL_DIRS += llvm-jitlistener |
| 45 endif | 45 endif |
| 46 | 46 |
| 47 # Let users override the set of tools to build from the command line. | 47 # Let users override the set of tools to build from the command line. |
| 48 ifdef ONLY_TOOLS | 48 ifdef ONLY_TOOLS |
| 49 OPTIONAL_PARALLEL_DIRS := | 49 OPTIONAL_PARALLEL_DIRS := |
| 50 # @LOCALMOD-BEGIN -- Allow subzero to be built as a tool if requested. |
| 51 ifneq ($(findstring subzero,$(ONLY_TOOLS)),) |
| 52 OPTIONAL_PARALLEL_DIRS += $(SUBZERO_SRC_ROOT) |
| 53 endif |
| 54 # @LOCALMOD-END |
| 50 OPTIONAL_DIRS := $(findstring lldb,$(ONLY_TOOLS)) | 55 OPTIONAL_DIRS := $(findstring lldb,$(ONLY_TOOLS)) |
| 51 PARALLEL_DIRS := $(filter-out lldb,$(ONLY_TOOLS)) | 56 PARALLEL_DIRS := $(filter-out lldb subzero,$(ONLY_TOOLS)) # @LOCALMOD |
| 52 endif | 57 endif |
| 53 | 58 |
| 54 # These libraries build as dynamic libraries (.dylib /.so), they can only be | 59 # These libraries build as dynamic libraries (.dylib /.so), they can only be |
| 55 # built if ENABLE_PIC is set. | 60 # built if ENABLE_PIC is set. |
| 56 ifndef ONLY_TOOLS | 61 ifndef ONLY_TOOLS |
| 57 ifeq ($(ENABLE_PIC),1) | 62 ifeq ($(ENABLE_PIC),1) |
| 58 # gold only builds if binutils is around. It requires "lto" to build before | 63 # gold only builds if binutils is around. It requires "lto" to build before |
| 59 # it so it is added to DIRS. llvm-lto also requires lto | 64 # it so it is added to DIRS. llvm-lto also requires lto |
| 60 DIRS += lto llvm-lto | 65 DIRS += lto llvm-lto |
| 61 ifdef BINUTILS_INCDIR | 66 ifdef BINUTILS_INCDIR |
| (...skipping 14 matching lines...) Expand all Loading... |
| 76 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ | 81 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ |
| 77 $(PARALLEL_DIRS)) | 82 $(PARALLEL_DIRS)) |
| 78 endif | 83 endif |
| 79 endif | 84 endif |
| 80 | 85 |
| 81 ifneq (,$(filter go,$(BINDINGS_TO_BUILD))) | 86 ifneq (,$(filter go,$(BINDINGS_TO_BUILD))) |
| 82 PARALLEL_DIRS += llvm-go | 87 PARALLEL_DIRS += llvm-go |
| 83 endif | 88 endif |
| 84 | 89 |
| 85 include $(LEVEL)/Makefile.common | 90 include $(LEVEL)/Makefile.common |
| OLD | NEW |