Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 318 $(OBJDIR)/unittest: $(OBJDIR) | 318 $(OBJDIR)/unittest: $(OBJDIR) |
| 319 @mkdir -p $@ | 319 @mkdir -p $@ |
| 320 | 320 |
| 321 $(OBJDIR)/unittest/AssemblerX8632: $(OBJDIR)/unittest | 321 $(OBJDIR)/unittest/AssemblerX8632: $(OBJDIR)/unittest |
| 322 @mkdir -p $@ | 322 @mkdir -p $@ |
| 323 $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest | 323 $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest |
| 324 @mkdir -p $@ | 324 @mkdir -p $@ |
| 325 | 325 |
| 326 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c | 326 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c |
| 327 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ | 327 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ |
| 328 build/runtime/szrt_native_x8664.o build/runtime/szrt_sb_x8664.o \ | |
| 328 build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o | 329 build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o |
| 329 | 330 |
| 330 runtime: $(RT_OBJ) | 331 runtime: $(RT_OBJ) |
| 331 | 332 |
| 332 # Use runtime.is.built so that build-runtime.py is invoked only once | 333 # Use runtime.is.built so that build-runtime.py is invoked only once |
| 333 # even in a parallel build. | 334 # even in a parallel build. |
| 334 .INTERMEDIATE: runtime.is.built | 335 .INTERMEDIATE: runtime.is.built |
| 335 $(RT_OBJ): runtime.is.built | 336 $(RT_OBJ): runtime.is.built |
| 336 runtime.is.built: $(RT_SRC) pydir/build-runtime.py | 337 runtime.is.built: $(RT_SRC) pydir/build-runtime.py |
| 337 @echo ================ Building Subzero runtime ================ | 338 @echo ================ Building Subzero runtime ================ |
| 338 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) | 339 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) |
| 339 | 340 |
| 340 check-lit: $(OBJDIR)/pnacl-sz make_symlink | 341 check-lit: $(OBJDIR)/pnacl-sz make_symlink |
| 341 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 342 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 342 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit | 343 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit |
| 343 | 344 |
| 344 ifdef MINIMAL | 345 ifdef MINIMAL |
| 345 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 346 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 346 @echo "Crosstests disabled, minimal build" | 347 @echo "Crosstests disabled, minimal build" |
| 347 else | 348 else |
| 348 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 349 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 349 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. | 350 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. |
| 350 # For (slow) sandboxed tests, limit to Om1/sse4.1. | 351 # For (slow) sandboxed tests, limit to Om1/sse4.1. |
| 351 ./pydir/crosstest_generator.py -v --lit \ | 352 ./pydir/crosstest_generator.py -v --lit \ |
| 352 --toolchain-root $(TOOLCHAIN_ROOT) \ | 353 --toolchain-root $(TOOLCHAIN_ROOT) \ |
| 353 -i x8632,native,sse2 -i x8632,native,sse4.1,test_vector_ops \ | 354 -i x8632,native,sse2 -i x8632,native,sse4.1,test_vector_ops \ |
| 354 -i x8632,sandbox,sse4.1,Om1 \ | 355 -i x8632,sandbox,sse4.1,Om1 \ |
| 356 -i x8664,native,sse2 -i x8664,native,sse4.1,test_vector_ops \ | |
| 357 -e x8664,native,sse2,test_global \ | |
| 358 -e x8664,sandbox,sse4.1,Om1 \ | |
|
Jim Stichnoth
2015/08/11 16:01:37
This -e actually has no effect, since none of the
John
2015/08/12 19:27:55
Done.
| |
| 355 -i arm32,native,neon,simple_loop \ | 359 -i arm32,native,neon,simple_loop \ |
| 356 -i arm32,native,neon,mem_intrin \ | 360 -i arm32,native,neon,mem_intrin \ |
| 357 -i arm32,native,neon,test_bitmanip \ | 361 -i arm32,native,neon,test_bitmanip \ |
| 358 -i arm32,native,neon,test_stacksave \ | 362 -i arm32,native,neon,test_stacksave \ |
| 359 -i arm32,native,neon,test_strengthreduce | 363 -i arm32,native,neon,test_strengthreduce |
| 360 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 364 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 361 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output | 365 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output |
| 362 endif | 366 endif |
| 363 | 367 |
| 364 check-unit: $(OBJDIR)/run_unittests | 368 check-unit: $(OBJDIR)/run_unittests |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 387 | 391 |
| 388 docs: | 392 docs: |
| 389 doxygen Doxyfile | 393 doxygen Doxyfile |
| 390 @echo See file://`pwd`/docs/html/index.html | 394 @echo See file://`pwd`/docs/html/index.html |
| 391 | 395 |
| 392 clean: | 396 clean: |
| 393 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 397 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 394 | 398 |
| 395 clean-all: clean | 399 clean-all: clean |
| 396 rm -rf build/ docs/ | 400 rm -rf build/ docs/ |
| OLD | NEW |