Can't build disk on Ubuntu 16.04 as boost is too old.
authorCarl Hetherington <cth@carlh.net>
Sat, 25 Apr 2020 18:27:56 +0000 (20:27 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 25 Apr 2020 18:27:56 +0000 (20:27 +0200)
cscript

diff --git a/cscript b/cscript
index c857108775c410431f26368b6f3189384cdaae93..a38929b4d189442540a41284fc4deae194dd3ae6 100644 (file)
--- a/cscript
+++ b/cscript
@@ -209,7 +209,7 @@ def can_build_disk(target):
     # We can build dcpomatic2_disk on platforms that have Boost process and can build the lwext4
     # library.  For now, just whitelist good ones here.
     #
-    # - Lots of Linux distros don't have a new enough boost (1.64 or above)
+    # - Lots of Linux distros (including Ubuntu 16.04) don't have a new enough boost (1.64 or above)
     # - On Centos 6 we can't build lwext4 because it needs a new CMake which Centos 6's g++ is not new enough to build.
     # - On Centos 7 there is a build error in lwext4 related to __unused
     if target.platform == 'windows':
@@ -217,7 +217,7 @@ def can_build_disk(target):
     if target.platform == 'osx':
         return True
     if target.platform == 'linux':
-        if target.distro == 'ubuntu' and target.version in ['16.04', '18.04', '19.10', '20.04']:
+        if target.distro == 'ubuntu' and target.version in ['18.04', '19.10', '20.04']:
             return True
         if target.distro == 'debian' and target.version == '10':
             return True