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

Side by Side Diff: Makefile.standalone

Issue 610813002: Subzero: Rewrite the pass timing infrastructure. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Make the optimized overlaps() implementation actually correct Created 6 years, 2 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
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceOperand.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # The following variables will likely need to be modified, depending on where 1 # The following variables will likely need to be modified, depending on where
2 # and how you built LLVM & Clang. They can be overridden in a command-line 2 # and how you built LLVM & Clang. They can be overridden in a command-line
3 # invocation of make, like: 3 # invocation of make, like:
4 # 4 #
5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \
6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ...
7 # 7 #
8 8
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This
10 # directory should contain the configure script, the include/ and lib/ 10 # directory should contain the configure script, the include/ and lib/
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 IceCfgNode.cpp \ 73 IceCfgNode.cpp \
74 IceConverter.cpp \ 74 IceConverter.cpp \
75 IceGlobalContext.cpp \ 75 IceGlobalContext.cpp \
76 IceInst.cpp \ 76 IceInst.cpp \
77 IceInstX8632.cpp \ 77 IceInstX8632.cpp \
78 IceIntrinsics.cpp \ 78 IceIntrinsics.cpp \
79 IceLiveness.cpp \ 79 IceLiveness.cpp \
80 IceMemoryRegion.cpp \ 80 IceMemoryRegion.cpp \
81 IceOperand.cpp \ 81 IceOperand.cpp \
82 IceRegAlloc.cpp \ 82 IceRegAlloc.cpp \
83 IceRNG.cpp \ 83 » IceRNG.cpp \
84 IceTargetLowering.cpp \ 84 IceTargetLowering.cpp \
85 IceTargetLoweringX8632.cpp \ 85 IceTargetLoweringX8632.cpp \
86 IceTimerTree.cpp \
86 IceTranslator.cpp \ 87 IceTranslator.cpp \
87 IceTypeConverter.cpp \ 88 IceTypeConverter.cpp \
88 IceTypes.cpp \ 89 IceTypes.cpp \
89 llvm2ice.cpp \ 90 llvm2ice.cpp \
90 PNaClTranslator.cpp 91 PNaClTranslator.cpp
91 92
92 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) 93 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS))
93 94
94 # Keep all the first target so it's the default. 95 # Keep all the first target so it's the default.
95 all: $(OBJDIR)/llvm2ice make_symlink 96 all: $(OBJDIR)/llvm2ice make_symlink
(...skipping 10 matching lines...) Expand all
106 107
107 # TODO: Be more precise than "*.h" here and elsewhere. 108 # TODO: Be more precise than "*.h" here and elsewhere.
108 $(OBJS): $(OBJDIR)/%.o: src/%.cpp src/*.h src/*.def 109 $(OBJS): $(OBJDIR)/%.o: src/%.cpp src/*.h src/*.def
109 $(CXX) -c $(CXXFLAGS) $< -o $@ 110 $(CXX) -c $(CXXFLAGS) $< -o $@
110 111
111 $(OBJS): | $(OBJDIR) 112 $(OBJS): | $(OBJDIR)
112 113
113 $(OBJDIR): 114 $(OBJDIR):
114 @mkdir -p $@ 115 @mkdir -p $@
115 116
116 check-lit: llvm2ice 117 check-lit: llvm2ice make_symlink
117 LLVM_BIN_PATH=$(LLVM_BIN_PATH) \ 118 LLVM_BIN_PATH=$(LLVM_BIN_PATH) \
118 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit 119 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit
119 120
120 check: check-lit 121 check: check-lit
121 (cd crosstest; ./runtests.sh) 122 (cd crosstest; ./runtests.sh)
122 123
123 # TODO: Fix the use of wildcards. 124 # TODO: Fix the use of wildcards.
124 # Assumes clang-format is within $PATH. 125 # Assumes clang-format is within $PATH.
125 format: 126 format:
126 clang-format -style=LLVM -i src/*.h src/*.cpp 127 clang-format -style=LLVM -i src/*.h src/*.cpp
127 128
128 # Assumes clang-format-diff.py is within $PATH, and that the 129 # Assumes clang-format-diff.py is within $PATH, and that the
129 # clang-format it calls is also within $PATH. This may require adding 130 # clang-format it calls is also within $PATH. This may require adding
130 # a component to $PATH, or creating symlinks within some existing 131 # a component to $PATH, or creating symlinks within some existing
131 # $PATH component. Uses the one in /usr/lib/clang-format/ if it 132 # $PATH component. Uses the one in /usr/lib/clang-format/ if it
132 # exists. 133 # exists.
133 ifeq (,$(wildcard /usr/lib/clang-format/clang-format-diff.py)) 134 ifeq (,$(wildcard /usr/lib/clang-format/clang-format-diff.py))
134 CLANG_FORMAT_DIFF = clang-format-diff.py 135 CLANG_FORMAT_DIFF = clang-format-diff.py
135 else 136 else
136 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py 137 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py
137 endif 138 endif
138 format-diff: 139 format-diff:
139 git diff -U0 `git merge-base HEAD master` | \ 140 git diff -U0 `git merge-base HEAD master` | \
140 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i 141 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i
141 142
142 clean: 143 clean:
143 rm -rf llvm2ice *.o build/ 144 rm -rf llvm2ice *.o build/
OLDNEW
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceOperand.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698