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

Side by Side Diff: Makefile.standalone

Issue 1508423003: Subzero. ARM32. Introduces explicit register parameter attribute. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: New IceRegistersARM32.def file. Created 5 years 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 | pydir/gen_arm32_reg_tables.py » ('j') | no next file with comments »
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> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \
6 # PNACL_BIN_PATH=<path> ... 6 # PNACL_BIN_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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \ 316 $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \
317 -Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib) 317 -Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib)
318 318
319 $(SB_OBJDIR)/pnacl-sz.x86-32.nexe: $(SB_OBJS) 319 $(SB_OBJDIR)/pnacl-sz.x86-32.nexe: $(SB_OBJS)
320 $(eval PNACL_SZ_BASE := $(patsubst %.nexe, %, $@)) 320 $(eval PNACL_SZ_BASE := $(patsubst %.nexe, %, $@))
321 $(SB_CXX) $(SB_LDFLAGS) -o $(PNACL_SZ_BASE).nonfinal.pexe $^ \ 321 $(SB_CXX) $(SB_LDFLAGS) -o $(PNACL_SZ_BASE).nonfinal.pexe $^ \
322 $(SB_LLVM_LDFLAGS) 322 $(SB_LLVM_LDFLAGS)
323 $(SB_TRANSLATE) -arch x86-32 $(PNACL_SZ_BASE).nonfinal.pexe -o $@ \ 323 $(SB_TRANSLATE) -arch x86-32 $(PNACL_SZ_BASE).nonfinal.pexe -o $@ \
324 --allow-llvm-bitcode-input 324 --allow-llvm-bitcode-input
325 325
326 src/IceRegistersARM32.def: pydir/gen_arm32_reg_tables.py
327 python $< > $@
328
326 # TODO(stichnot): Be more precise than "*.h" here and elsewhere. 329 # TODO(stichnot): Be more precise than "*.h" here and elsewhere.
327 $(OBJS): $(OBJDIR)/%.o: src/%.cpp src/*.h src/*.def 330 $(OBJS): $(OBJDIR)/%.o: src/%.cpp src/*.h src/*.def
328 $(CXX) -c $(CXXFLAGS) $< -o $@ 331 $(CXX) -c $(CXXFLAGS) $< -o $@
329 332
330 $(SB_OBJS): $(SB_OBJDIR)/%.o: src/%.cpp src/*.h src/*.def 333 $(SB_OBJS): $(SB_OBJDIR)/%.o: src/%.cpp src/*.h src/*.def
331 $(SB_CXX) -c $(SB_CXXFLAGS) $< -o $@ 334 $(SB_CXX) -c $(SB_CXXFLAGS) $< -o $@
332 335
333 $(OBJDIR)/run_unittests: $(UNITTEST_OBJS) $(UNITTEST_LIB_OBJS) 336 $(OBJDIR)/run_unittests: $(UNITTEST_OBJS) $(UNITTEST_LIB_OBJS)
334 $(CXX) $(GTEST_LIB_PATH) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \ 337 $(CXX) $(GTEST_LIB_PATH) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \
335 -lgtest -lgtest_main -ldl \ 338 -lgtest -lgtest_main -ldl \
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 499
497 docs: 500 docs:
498 doxygen Doxyfile 501 doxygen Doxyfile
499 @echo See file://`pwd`/docs/html/index.html 502 @echo See file://`pwd`/docs/html/index.html
500 503
501 clean: 504 clean:
502 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json 505 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
503 506
504 clean-all: clean 507 clean-all: clean
505 rm -rf build/ docs/ 508 rm -rf build/ docs/
OLDNEW
« no previous file with comments | « no previous file | pydir/gen_arm32_reg_tables.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698