diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-05-06 09:05:01 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2020-05-06 07:07:09 +0000 |
commit | cb440400ad47e5b325bce13e22223b1789fd006e (patch) | |
tree | 07ca3864c09a82c29df5a4cd0909cd55ef3bacdb /packaging-tools/build_clang_qdoc.py | |
parent | 7e23e5f33a8de960b345fbed1821a2a703a52332 (diff) |
Qdoc_libclang: Use cmake to pack install directory
7z is running out of memory on 32 bit machines, I thought I would
give packing with cmake a try. CMake uses libarchive from Linux
world.
Change-Id: Ibbf27f97fd613851b20af8d554e6dffe69721606
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'packaging-tools/build_clang_qdoc.py')
-rw-r--r-- | packaging-tools/build_clang_qdoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging-tools/build_clang_qdoc.py b/packaging-tools/build_clang_qdoc.py index bf30cb351..6d8ba5a3d 100644 --- a/packaging-tools/build_clang_qdoc.py +++ b/packaging-tools/build_clang_qdoc.py @@ -226,7 +226,7 @@ def check_clang(toolchain, build_path, environment): def package_clang(install_path, result_file_path): (basepath, dirname) = os.path.split(install_path) - zip_command = ['7z', 'a', result_file_path, dirname] + zip_command = ['cmake', '-E', 'tar', 'cf', result_file_path, '--format=7zip', dirname] bld_utils.runCommand(zip_command, basepath) def upload_clang(file_path, remote_path): |