Skip to content
This repository was archived by the owner on Jun 1, 2020. It is now read-only.

Commit 58d6d29

Browse files
committed
Bump last known good LLVM revision
Also clarify how to build LLVM for source, to use with these samples
1 parent b05334b commit 58d6d29

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Makefile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
# default. Also note that a fairly recent version of cmake is required; the
3131
# latest I've been using is 3.5.2
3232
#
33+
# It is recommended to use a recent Clang to build LLVM itself. For example if
34+
# you have a Clang binary release in $CLANGDIR, cmake should be run with:
35+
#
36+
# $ CC=$CLANGDIR/bin/clang CXX=$CLANGDIR/bin/clang++ cmake ....
37+
#
3338
# Alternatively, if you're building vs. a binary distribution of LLVM
3439
# (downloaded from llvm.org), then LLVM_SRC_PATH can point to the main untarred
3540
# directory of the binary download (the directory that has bin/, lib/, include/
@@ -53,12 +58,6 @@ $(info Using LLVM_BUILD_PATH = $(LLVM_BUILD_PATH))
5358
$(info Using LLVM_BIN_PATH = $(LLVM_BIN_PATH))
5459
$(info -----------------------------------------------)
5560

56-
# CXX has to be a fairly modern C++ compiler that supports C++11. gcc 4.8 and
57-
# higher or Clang 3.2 and higher are recommended. Best of all, if you build LLVM
58-
# from sources, use the same compiler you built LLVM with.
59-
# Note: starting with release 3.7, llvm-config will inject flags that gcc may
60-
# not support (for example '-Wcovered-switch-default'). If you run into this
61-
# problem, build with CXX set to a modern clang++ binary instead of g++.
6261
CXX := g++
6362
CXXFLAGS := -fno-rtti -O0 -g
6463
PLUGIN_CXXFLAGS := -fpic

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Last known LLVM build revision for the master branch
2424
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2525

2626
The last upstream LLVM revision I've successfully built the ``master`` branch
27-
against is r307168 (05-Jul-2017). It may build with newer revisions, or it may
27+
against is r308224 (17-Jul-2017). It may build with newer revisions, or it may
2828
not. If you know it builds successfully with a newer one, please let me know and
2929
I'll update this note.
3030

0 commit comments

Comments
 (0)