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

Issue 978963002: Have CMake LLVM build share CFLAGS/CXXFLAGS with autoconf (e.g., libc++ flags). (Closed)

Created:
5 years, 9 months ago by jvoung (off chromium)
Modified:
5 years, 8 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Have CMake LLVM build share CFLAGS/CXXFLAGS with autoconf (e.g., libc++ flags). That way, things are more uniform and we don't have a divergence where an autoconf build of LLVM uses libc++ headers/library while the cmake build does not. E.g., subzero is always built with libc++ and it would fail to link against an old cmake build of llvm (which uses libstdc++). We need to disable go bindings test: https://codereview.chromium.org/993513008/ Misc cleanup around the CompilersForHost code/comments (update comments and remove unused glibc path). BUG= https://code.google.com/p/nativeclient/issues/detail?id=4119 R=dschuff@chromium.org Committed: https://chromium.googlesource.com/native_client/src/native_client/+/4dfff0ba4bd05d8e9ed3b7755a5cea1b29c9252b

Patch Set 1 #

Patch Set 2 : random cleanup #

Total comments: 1

Patch Set 3 : toggle more types of linker flags #

Total comments: 6

Patch Set 4 : clarify #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : fix rebase #

Patch Set 8 : update components too #

Patch Set 9 : xxx #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -38 lines) Patch
M toolchain_build/command.py View 1 chunk +7 lines, -1 line 0 comments Download
M toolchain_build/toolchain_build_pnacl.py View 1 2 3 4 5 6 7 8 chunks +65 lines, -37 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
jvoung (off chromium)
https://codereview.chromium.org/978963002/diff/20001/toolchain_build/toolchain_build_pnacl.py File toolchain_build/toolchain_build_pnacl.py (right): https://codereview.chromium.org/978963002/diff/20001/toolchain_build/toolchain_build_pnacl.py#newcode649 toolchain_build/toolchain_build_pnacl.py:649: # Older CMake ignore CMAKE_*_LINKER_FLAGS during config step. Well, ...
5 years, 9 months ago (2015-03-09 22:42:33 UTC) #2
Derek Schuff
the code LGTM. If brad thinks we can make it work without putting his extra ...
5 years, 9 months ago (2015-03-10 00:01:37 UTC) #4
jvoung (off chromium)
https://codereview.chromium.org/978963002/diff/40001/toolchain_build/toolchain_build_pnacl.py File toolchain_build/toolchain_build_pnacl.py (right): https://codereview.chromium.org/978963002/diff/40001/toolchain_build/toolchain_build_pnacl.py#newcode295 toolchain_build/toolchain_build_pnacl.py:295: for linker_type in ['EXE', 'SHARED', 'MODULE']: On 2015/03/10 00:01:37, ...
5 years, 9 months ago (2015-03-10 19:39:20 UTC) #5
Derek Schuff
https://codereview.chromium.org/978963002/diff/40001/toolchain_build/toolchain_build_pnacl.py File toolchain_build/toolchain_build_pnacl.py (right): https://codereview.chromium.org/978963002/diff/40001/toolchain_build/toolchain_build_pnacl.py#newcode295 toolchain_build/toolchain_build_pnacl.py:295: for linker_type in ['EXE', 'SHARED', 'MODULE']: On 2015/03/10 19:39:19, ...
5 years, 9 months ago (2015-03-10 21:09:45 UTC) #6
jvoung (off chromium)
https://codereview.chromium.org/978963002/diff/60001/toolchain_build/command.py File toolchain_build/command.py (right): https://codereview.chromium.org/978963002/diff/60001/toolchain_build/command.py#newcode203 toolchain_build/command.py:203: check_call_kwargs['env'].update(PlatformEnvironment(path_dirs)) On 2015/03/10 21:09:45, Derek Schuff wrote: > can ...
5 years, 9 months ago (2015-03-10 22:30:18 UTC) #7
Derek Schuff
ok, LGTM
5 years, 9 months ago (2015-03-10 22:52:19 UTC) #8
jvoung (off chromium)
Rebased and re-running trybots. After blowing away my pnacl_newlib the .so lookup problem for subzero ...
5 years, 8 months ago (2015-04-09 22:51:10 UTC) #10
jvoung (off chromium)
On 2015/04/09 22:51:10, jvoung wrote: > Rebased and re-running trybots. > > After blowing away ...
5 years, 8 months ago (2015-04-09 23:02:26 UTC) #11
jvoung (off chromium)
5 years, 8 months ago (2015-04-10 20:43:40 UTC) #15
Message was sent while issue was closed.
Committed patchset #9 (id:220001) manually as
4dfff0ba4bd05d8e9ed3b7755a5cea1b29c9252b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698