diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-09 23:33:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-09 23:33:45 +0000 |
| commit | e3e01d8c9772b34bf35191197d77e31bee5c9882 (patch) | |
| tree | 319d4413eca1b70cb7ca48848cb1691b82825828 /cscript | |
| parent | 02c400669a490617969a8f3924dd0bce0840a7b8 (diff) | |
Try to fix centos 32-bit build; bump libdcp for better OOM-handling in openjpeg.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -130,7 +130,7 @@ def make_control(debian_version, bits, filename, debug): def dependencies(target): return (('ffmpeg-cdist', '5ac3a6af077c10f07c31954c372a8f29e4e18e2a'), - ('libdcp', 'a7dac85')) + ('libdcp', 'a6bc997')) def build(target, options): cmd = './waf configure --prefix=%s' % target.work_dir_cscript() @@ -201,7 +201,11 @@ def package_centos(target, cpu, version): target.command('rpmbuild -bb build/platform/linux/dcpomatic.spec') rpms = [] - for p in glob.glob('%s/rpmbuild/RPMS/x86_64/*.rpm' % target.work_dir_cdist()): + + if cpu == "amd64": + cpu = "x86_64" + + for p in glob.glob('%s/rpmbuild/RPMS/%s/*.rpm' % (target.work_dir_cdist(), cpu)): rpms.append(os.path.abspath(p)) return rpms |
