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

Issue 1196003003: Make `llvm-config` detect whether or not LLVM is a shared library. If it is, then only try to link … (Closed)

Created:
5 years, 6 months ago by Richard Diamond
Modified:
5 years, 4 months ago
Reviewers:
JF
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make `llvm-config` detect whether or not LLVM is a shared library. If it is, then only try to link to the shared lib. R= jfb@chromium.org BUG=

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Review changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -3 lines) Patch
M tools/llvm-config/BuildVariables.inc.in View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tools/llvm-config/CMakeLists.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/llvm-config/Makefile View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M tools/llvm-config/llvm-config.cpp View 1 2 3 2 chunks +40 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Richard Diamond
5 years, 6 months ago (2015-06-20 14:57:44 UTC) #1
JF
Could you explain what this does in more details? Or rather: what isn't working? I'm ...
5 years, 6 months ago (2015-06-24 17:12:53 UTC) #2
Richard Diamond
On 2015/06/24 at 17:12:53, jfb wrote: > Could you explain what this does in more ...
5 years, 6 months ago (2015-06-24 18:42:58 UTC) #3
JF
Could you also test this change with the cmake build, to make sure it doesn't ...
5 years, 6 months ago (2015-06-24 21:09:02 UTC) #4
Richard Diamond
On 2015/06/24 at 21:09:02, jfb wrote: > Could you also test this change with the ...
5 years, 6 months ago (2015-06-24 21:19:16 UTC) #5
Richard Diamond
https://codereview.chromium.org/1196003003/diff/30001/tools/llvm-config/llvm-config.cpp File tools/llvm-config/llvm-config.cpp (right): https://codereview.chromium.org/1196003003/diff/30001/tools/llvm-config/llvm-config.cpp#newcode354 tools/llvm-config/llvm-config.cpp:354: const bool IsSharedLib = (std::strcmp(BUILD_SHARED_LIBS, "ON") == 0); On ...
5 years, 6 months ago (2015-06-24 21:44:30 UTC) #6
JF
https://codereview.chromium.org/1196003003/diff/30001/tools/llvm-config/llvm-config.cpp File tools/llvm-config/llvm-config.cpp (right): https://codereview.chromium.org/1196003003/diff/30001/tools/llvm-config/llvm-config.cpp#newcode354 tools/llvm-config/llvm-config.cpp:354: const bool IsSharedLib = (std::strcmp(BUILD_SHARED_LIBS, "ON") == 0); On ...
5 years, 6 months ago (2015-06-24 21:52:43 UTC) #7
Richard Diamond
https://codereview.chromium.org/1196003003/diff/30001/tools/llvm-config/llvm-config.cpp File tools/llvm-config/llvm-config.cpp (right): https://codereview.chromium.org/1196003003/diff/30001/tools/llvm-config/llvm-config.cpp#newcode354 tools/llvm-config/llvm-config.cpp:354: const bool IsSharedLib = (std::strcmp(BUILD_SHARED_LIBS, "ON") == 0); On ...
5 years, 6 months ago (2015-06-24 21:54:48 UTC) #8
Richard Diamond
I've addressed your comments JF; I'm now going to continue development upstream.
5 years, 6 months ago (2015-06-24 22:31:49 UTC) #9
Richard Diamond
5 years, 6 months ago (2015-06-24 22:54:30 UTC) #10
On 2015/06/24 at 22:31:49, Richard Diamond wrote:
> I've addressed your comments JF; I'm now going to continue development
upstream.

Upstream LLVM patch: http://reviews.llvm.org/D10716

Powered by Google App Engine
This is Rietveld 408576698