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

Side by Side Diff: Makefile.standalone

Issue 581293003: Adjust paths for host_x86_32/bin -> bin and for switch to 64-bit. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 3 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 | pydir/crosstest.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> 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/
11 # directories of LLVM, Clang in tools/clang/, etc. 11 # directories of LLVM, Clang in tools/clang/, etc.
12 # Alternatively, if you're building vs. a binary download of LLVM, then 12 # Alternatively, if you're building vs. a binary download of LLVM, then
13 # LLVM_SRC_PATH can point to the main untarred directory. 13 # LLVM_SRC_PATH can point to the main untarred directory.
14 LLVM_SRC_PATH ?= ../llvm 14 LLVM_SRC_PATH ?= ../llvm
15 15
16 # LLVM_BIN_PATH is the directory where binaries are placed by the LLVM build 16 # LLVM_BIN_PATH is the directory where binaries are placed by the LLVM build
17 # process. It should contain the tools like opt, llc and clang. The default 17 # process. It should contain the tools like opt, llc and clang. The default
18 # reflects a debug build with autotools (configure & make). 18 # reflects a debug build with autotools (configure & make).
19 LLVM_BIN_PATH ?= $(shell readlink -e \ 19 LLVM_BIN_PATH ?= $(shell readlink -e \
20 » ../../out/llvm_i686_linux_work/Release+Asserts/bin) 20 » ../../out/llvm_x86_64_linux_work/Release+Asserts/bin)
21 21
22 # LIBCXX_INSTALL_PATH is the directory where libc++ is located. It should 22 # LIBCXX_INSTALL_PATH is the directory where libc++ is located. It should
23 # contain header files and corresponding libraries 23 # contain header files and corresponding libraries
24 LIBCXX_INSTALL_PATH ?= $(shell readlink -e \ 24 LIBCXX_INSTALL_PATH ?= $(shell readlink -e \
25 » ../../../toolchain/linux_x86/pnacl_newlib/host_x86_32) 25 » ../../../toolchain/linux_x86/pnacl_newlib)
26 26
27 # CLANG_PATH is the location of the clang compiler to use. 27 # CLANG_PATH is the location of the clang compiler to use.
28 CLANG_PATH ?= $(shell readlink -e \ 28 CLANG_PATH ?= $(shell readlink -e \
29 ../../../../third_party/llvm-build/Release+Asserts/bin) 29 ../../../../third_party/llvm-build/Release+Asserts/bin)
30 30
31 HOST_ARCH ?= x86 31 HOST_ARCH ?= x86_64
32 ifeq ($(HOST_ARCH),x86_64) 32 ifeq ($(HOST_ARCH),x86_64)
33 HOST_FLAGS = -m64 -stdlib=libc++ 33 HOST_FLAGS = -m64 -stdlib=libc++
34 else 34 else
35 ifeq ($(HOST_ARCH),x86) 35 ifeq ($(HOST_ARCH),x86)
36 HOST_FLAGS = -m32 -stdlib=libc++ 36 HOST_FLAGS = -m32 -stdlib=libc++
37 endif 37 endif
38 endif 38 endif
39 39
40 $(info -----------------------------------------------) 40 $(info -----------------------------------------------)
41 $(info Using LLVM_SRC_PATH = $(LLVM_SRC_PATH)) 41 $(info Using LLVM_SRC_PATH = $(LLVM_SRC_PATH))
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 CLANG_FORMAT_DIFF = clang-format-diff.py 120 CLANG_FORMAT_DIFF = clang-format-diff.py
121 else 121 else
122 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py 122 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py
123 endif 123 endif
124 format-diff: 124 format-diff:
125 git diff -U0 `git merge-base HEAD master` | \ 125 git diff -U0 `git merge-base HEAD master` | \
126 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i 126 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i
127 127
128 clean: 128 clean:
129 rm -rf llvm2ice *.o build/ 129 rm -rf llvm2ice *.o build/
OLDNEW
« no previous file with comments | « no previous file | pydir/crosstest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698