summaryrefslogtreecommitdiffstats
path: root/o3d/installer/linux/build.scons
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/installer/linux/build.scons')
-rw-r--r--o3d/installer/linux/build.scons17
1 files changed, 14 insertions, 3 deletions
diff --git a/o3d/installer/linux/build.scons b/o3d/installer/linux/build.scons
index c68c93e..50e93a5 100644
--- a/o3d/installer/linux/build.scons
+++ b/o3d/installer/linux/build.scons
@@ -149,8 +149,8 @@ if subprocess.Popen(["which", "dpkg-buildpackage"],
$$(dirname $TARGET)""")
return targets
-
- BuildDebianPackage(["debian_amd64/changelog",
+ # Build amd64 package.
+ BuildDebianPackage(["debian_common/changelog",
"debian_amd64/control",
"debian_amd64/google-o3d.install",
"debian_amd64/links",
@@ -167,7 +167,18 @@ if subprocess.Popen(["which", "dpkg-buildpackage"],
output_dir='$ARTIFACTS_DIR',
force_version=env.get('O3D_PLUGIN_VERSION'))
- # TODO(tschmelcher): Also build an i386 deb.
+ # Build i386 package.
+ BuildDebianPackage(["debian_common/changelog",
+ "debian_i386/control",
+ "debian_i386/google-o3d.install",
+ "debian_i386/links",
+ "debian_i386/rules"
+ ],
+ [("libnpo3dautoplugin.so",
+ '$ARTIFACTS_DIR/libnpo3dautoplugin.so')
+ ],
+ output_dir='$ARTIFACTS_DIR',
+ force_version=env.get('O3D_PLUGIN_VERSION'))
else:
print('dpkg-buildpackage not found in PATH; Debian packages will not be '