2014-03-18 22:07:45 +00:00
|
|
|
This is a set of individual patches, which contain all the customizations to
|
|
|
|
llvm/clang currently in the FreeBSD base system. These can be applied in
|
2015-12-30 14:06:01 +00:00
|
|
|
alphabetical order to a pristine llvm/clang trunk source tree, for example by
|
2015-03-09 21:31:37 +00:00
|
|
|
doing:
|
2014-03-18 22:07:45 +00:00
|
|
|
|
2015-12-30 14:06:01 +00:00
|
|
|
svn co https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk
|
|
|
|
svn co https://llvm.org/svn/llvm-project/cfe/trunk llvm-trunk/tools/clang
|
|
|
|
cd llvm-trunk
|
2014-03-18 22:07:45 +00:00
|
|
|
for p in /usr/src/contrib/llvm/patches/patch-*.diff; do
|
|
|
|
patch -p0 -f -F0 -E -i $p -s || break
|
|
|
|
done
|
|
|
|
|
|
|
|
A number of these consist of hand-written modifications, specifically for
|
|
|
|
FreeBSD, while most others are cherry pickings off the llvm and clang trunks.
|
|
|
|
When a new version of llvm/clang is eventually imported, those latter ones will
|
|
|
|
largely disappear.
|