From f569617d246741a9be41f15cf7feda776b1ec274 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 2 Jul 2015 05:19:53 +0000 Subject: [PATCH] Clean up the libraries to install --- script/cibuild | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/script/cibuild b/script/cibuild index 9a8fdf3f1b02..76c7bed1fdf8 100755 --- a/script/cibuild +++ b/script/cibuild @@ -10,13 +10,16 @@ from lib.util import execute, rm_rf, scoped_env SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) LINUX_DEPS = [ + 'gcc-multilib', + 'g++-multilib', +] + +LINUX_DEPS_AMD64 = [ 'libdbus-1-dev', 'libgconf2-dev', 'libgnome-keyring-dev', 'libgtk2.0-dev', 'libnotify-dev', - 'gcc-multilib', - 'g++-multilib', ] LINUX_DEPS_ARM = [ @@ -25,15 +28,6 @@ LINUX_DEPS_ARM = [ 'g++-arm-linux-gnueabihf', ] -LINUX_DEPS_I386 = [ - 'linux-libc-dev:i386', - 'libdbus-1-dev:i386', - 'libgconf2-dev:i386', - 'libgnome-keyring-dev:i386', - 'libgtk2.0-dev:i386', - 'libnotify-dev:i386', -] - def main(): os.environ['CI'] = '1' @@ -49,8 +43,8 @@ def main(): deps = LINUX_DEPS if target_arch == 'arm': deps += LINUX_DEPS_ARM - elif target_arch == 'ia32': - deps += LINUX_DEPS_I386 + elif target_arch == 'x64': + deps += LINUX_DEPS_AMD64 execute(['sudo', 'apt-get', 'install'] + deps) os.environ['DISPLAY'] = ':99.0'