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

Issue 299753004: Add support for building subzero with LLVM (Closed)

Created:
6 years, 7 months ago by Derek Schuff
Modified:
6 years, 7 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Visibility:
Public.

Description

Add support for building subzero with LLVM Since subzero depends on LLVM components, it makes sense to build it along with the LLVM build. Also, toolchain_build doesn't have support for a target to depend on another target's working directory. We may want to fix that in the future, but for now it's simpler to do the build together with LLVM. This CL allows subzero to be built from an external directory similar to the way clang is. However we just use a Make variable directly insetad of a configure flag to avoid regenerating autoconf files. R=jvoung@chromium.org, stichnot@chromium.org BUG= Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=2b73db4

Patch Set 1 #

Total comments: 4

Patch Set 2 : remove commented-out check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M Makefile.config.in View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Derek Schuff
6 years, 7 months ago (2014-05-21 00:55:51 UTC) #1
Jim Stichnoth
lgtm https://codereview.chromium.org/299753004/diff/1/Makefile.config.in File Makefile.config.in (right): https://codereview.chromium.org/299753004/diff/1/Makefile.config.in#newcode63 Makefile.config.in:63: PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/subzero%,$(SUBZERO_SRC_ROOT)%,$(PROJ_SRC_DIR)) Too bad about >80 ...
6 years, 7 months ago (2014-05-22 16:57:42 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/299753004/diff/1/tools/Makefile File tools/Makefile (right): https://codereview.chromium.org/299753004/diff/1/tools/Makefile#newcode21 tools/Makefile:21: #ifneq ($(SUBZERO_SRC_ROOT),) Can remove commented out check? Seems like ...
6 years, 7 months ago (2014-05-22 19:37:58 UTC) #3
jvoung (off chromium)
Okay, I think see -- it's never actually in the directory llvm/tools/subzero -- hence the ...
6 years, 7 months ago (2014-05-22 19:41:09 UTC) #4
Derek Schuff
https://codereview.chromium.org/299753004/diff/1/Makefile.config.in File Makefile.config.in (right): https://codereview.chromium.org/299753004/diff/1/Makefile.config.in#newcode63 Makefile.config.in:63: PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/subzero%,$(SUBZERO_SRC_ROOT)%,$(PROJ_SRC_DIR)) On 2014/05/22 16:57:42, stichnot wrote: ...
6 years, 7 months ago (2014-05-22 23:21:56 UTC) #5
Derek Schuff
6 years, 7 months ago (2014-05-22 23:22:18 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r2b73db4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698