]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/patches/README.TXT
Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
[FreeBSD/FreeBSD.git] / contrib / llvm / patches / README.TXT
1 This is a set of individual patches, which contain all the customizations to
2 llvm/clang currently in the FreeBSD base system.  These can be applied in
3 alphabetical order to a pristine llvm/clang 3.5.1 release source tree, for
4 example by doing:
5
6 svn co https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_351/final llvm-3.5.1-final 
7 svn co https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_351/final llvm-3.5.1-final/tools/clang
8 cd llvm-3.5.1-final
9 for p in /usr/src/contrib/llvm/patches/patch-*.diff; do
10         patch -p0 -f -F0 -E -i $p -s || break
11 done
12
13 A number of these consist of hand-written modifications, specifically for
14 FreeBSD, while most others are cherry pickings off the llvm and clang trunks.
15 When a new version of llvm/clang is eventually imported, those latter ones will
16 largely disappear.