mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Do not save the tools
directory of the toolchains.
This directory came from the source and is only used to install the sdk. As the sdk is already installed, we don't need it (and we can save 400Mo)
This commit is contained in:
@ -218,7 +218,10 @@ def make_deps_archive(target, full=False):
|
||||
base_deps_versions['pugixml'])]
|
||||
files_to_archive += HOME.glob('BUILD_*/pugixml-{}'.format(
|
||||
base_deps_versions['pugixml']))
|
||||
files_to_archive += HOME.glob('**/TOOLCHAINS')
|
||||
toolchains_subdirs = HOME.glob('**/TOOLCHAINS/*/*')
|
||||
for subdir in toolchains_subdirs:
|
||||
if not subdir.match('tools'):
|
||||
files_to_archive.append(subdir)
|
||||
|
||||
with tarfile.open(str(relative_path/archive_name), 'w:xz') as tar:
|
||||
for name in set(files_to_archive):
|
||||
|
Reference in New Issue
Block a user