Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: tools/Makefile

Issue 299753004: Add support for building subzero with LLVM (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« Makefile.config.in ('K') | « Makefile.config.in ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifneq ($(SUBZERO_SRC_ROOT),)
jvoung (off chromium) 2014/05/22 19:37:58 Can remove commented out check? Seems like the po
Derek Schuff 2014/05/22 23:21:56 Removed.
22 OPTIONAL_PARALLEL_DIRS += $(SUBZERO_SRC_ROOT)
22 # Build LLDB if present. Note LLDB must be built last as it depends on the 23 # Build LLDB if present. Note LLDB must be built last as it depends on the
23 # wider LLVM infrastructure (including Clang). 24 # wider LLVM infrastructure (including Clang).
24 OPTIONAL_DIRS := lldb 25 OPTIONAL_DIRS := lldb
25 26
26 # NOTE: The tools are organized into five groups of four consisting of one 27 # NOTE: The tools are organized into five groups of four consisting of one
27 # large and three small executables. This is done to minimize memory load 28 # large and three small executables. This is done to minimize memory load
28 # in parallel builds. Please retain this ordering. 29 # in parallel builds. Please retain this ordering.
29 DIRS := llvm-config 30 DIRS := llvm-config
30 PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \ 31 PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \
31 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \ 32 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 69
69 # On Win32, loadable modules can be built with ENABLE_SHARED. 70 # On Win32, loadable modules can be built with ENABLE_SHARED.
70 ifneq ($(ENABLE_SHARED),1) 71 ifneq ($(ENABLE_SHARED),1)
71 ifneq (,$(filter $(HOST_OS), Cygwin MingW)) 72 ifneq (,$(filter $(HOST_OS), Cygwin MingW))
72 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ 73 PARALLEL_DIRS := $(filter-out bugpoint-passes, \
73 $(PARALLEL_DIRS)) 74 $(PARALLEL_DIRS))
74 endif 75 endif
75 endif 76 endif
76 77
77 include $(LEVEL)/Makefile.common 78 include $(LEVEL)/Makefile.common
OLDNEW
« Makefile.config.in ('K') | « Makefile.config.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698