[PATCH] D125798: [release] Add cmake as an extra tarball and not bundle it
Konrad Wilhelm Kleine via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 02:13:08 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc0f5beef2fb1: [release] Add cmake as an extra tarball and not bundle it (authored by kwk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125798/new/
https://reviews.llvm.org/D125798
Files:
llvm/utils/release/export.sh
Index: llvm/utils/release/export.sh
===================================================================
--- llvm/utils/release/export.sh
+++ llvm/utils/release/export.sh
@@ -13,7 +13,7 @@
set -e
-projects="llvm clang compiler-rt libcxx libcxxabi libclc clang-tools-extra polly lldb lld openmp libunwind flang"
+projects="llvm clang cmake compiler-rt libcxx libcxxabi libclc clang-tools-extra polly lldb lld openmp libunwind flang"
release=""
rc=""
@@ -128,21 +128,10 @@
-cJf test-suite-$release$rc.src.tar.xz test-suite-$release$rc.src
fi
- # Package up top-level cmake directory so that we can append it to all projects.
- tmp_dir=$(mktemp -d)
- cmake_archive_file=$tmp_dir/cmake.tar
- trap "rm -rv $tmp_dir" EXIT
- pushd $llvm_src_dir
- git archive -o $cmake_archive_file $tree_id cmake/
- popd
-
for proj in $projects; do
echo "Creating tarball for $proj ..."
pushd $llvm_src_dir/$proj
- tmp_archive_file=$tmp_dir/$proj.tar
- git archive --prefix=$proj-$release$rc.src/ -o $tmp_archive_file $tree_id .
- tar -Af $tmp_archive_file $cmake_archive_file
- xz < $tmp_archive_file > $target_dir/$(template_file $proj)
+ git archive --prefix=$proj-$release$rc.src/ $tree_id . | xz >$target_dir/$(template_file $proj)
popd
done
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125798.430607.patch
Type: text/x-patch
Size: 1348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/80947123/attachment.bin>
More information about the llvm-commits
mailing list