diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-03-04 05:34:54 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-09-08 16:57:04 +0530 |
commit | 9c2c1956f0c316b0e142cacf8df3dc18d54d56b5 (patch) | |
tree | 119fee217152c3e00d45d9e3c066ebd1368721d5 | |
parent | d211542a900bb9f44254876ada7277e3ba78fdf3 (diff) |
windows.config: Place temporary wine files in var/tmp
This is a more obvious place for it, and is self-documenting in the CI
YAML too, where we exclude it from the cerbero-deps tarball.
-rw-r--r-- | cerbero/config.py | 2 | ||||
-rw-r--r-- | config/windows.config | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cerbero/config.py b/cerbero/config.py index 2fa1db8d..34d68600 100644 --- a/cerbero/config.py +++ b/cerbero/config.py @@ -243,6 +243,8 @@ class Config (object): self._create_path(os.path.join(self.prefix, 'share', 'aclocal')) self._create_path(os.path.join( self.build_tools_prefix, 'share', 'aclocal')) + self._create_path(os.path.join( + self.build_tools_prefix, 'var', 'tmp')) libdir = os.path.join(self.prefix, 'lib%s' % self.lib_suffix) self.libdir = libdir diff --git a/config/windows.config b/config/windows.config index 658e5cfe..9c2a8399 100644 --- a/config/windows.config +++ b/config/windows.config @@ -21,6 +21,10 @@ if platform == Platform.WINDOWS: if target_arch == Architecture.X86_64: build = 'x86_64-w64-mingw32' else: + # NOTE: Ensure that whatever directory this goes into is ignored by the + # .cerbero deps CI job otherwise we will tar up ~1GB of generated data. + os.environ['WINEPREFIX'] = os.path.join(build_tools_prefix, 'var', 'tmp', 'wine') + os.environ['WINEDEBUG'] = 'fixme-all' separator = ':' if target_arch == Architecture.X86: |