]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/patches/README.TXT
MFV r331712:
[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 trunk source tree, for example by
4 doing:
5
6 svn co https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk 
7 svn co https://llvm.org/svn/llvm-project/cfe/trunk llvm-trunk/tools/clang
8 cd llvm-trunk
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.