This repository was archived by the owner on Jun 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 30
30
# default. Also note that a fairly recent version of cmake is required; the
31
31
# latest I've been using is 3.5.2
32
32
#
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
+ #
33
38
# Alternatively, if you're building vs. a binary distribution of LLVM
34
39
# (downloaded from llvm.org), then LLVM_SRC_PATH can point to the main untarred
35
40
# directory of the binary download (the directory that has bin/, lib/, include/
@@ -53,12 +58,6 @@ $(info Using LLVM_BUILD_PATH = $(LLVM_BUILD_PATH))
53
58
$(info Using LLVM_BIN_PATH = $(LLVM_BIN_PATH))
54
59
$(info -----------------------------------------------)
55
60
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++.
62
61
CXX := g++
63
62
CXXFLAGS := -fno-rtti -O0 -g
64
63
PLUGIN_CXXFLAGS := -fpic
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Last known LLVM build revision for the master branch
24
24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25
25
26
26
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
28
28
not. If you know it builds successfully with a newer one, please let me know and
29
29
I'll update this note.
30
30
You can’t perform that action at this time.
0 commit comments