patches: Patch the llvm 12.x release to include support for std::filesystem in libcxx

This commit is contained in:
Martin Storsjö committed 2021-04-23 10:58:42 +03:00
1 parent e1f30312e9
commit 2094638569
27 files changed
+2867

No files matched your search

+5
View File
@@ -77,6 +77,11 @@ if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then
cd llvm-project
[ -z "$SYNC" ] || git fetch
git checkout $LLVM_VERSION
if [ "$LLVM_VERSION" = "llvmorg-12.0.0" ]; then
# The bundled patches for std::filesystem apply on the 12.0.0 release,
# but don't try to apply them if a different version was requested.
git am -3 --keep-non-patch ../patches/llvm-project/*.patch
fi
cd ..
fi