mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove build commands for 32-bit arches
This commit is contained in:
parent
df89c9f251
commit
d7e16f1b8e
@ -19,7 +19,7 @@ __all__ = [
|
|||||||
'upload_installers',
|
'upload_installers',
|
||||||
'upload_user_manual', 'upload_demo', 'reupload',
|
'upload_user_manual', 'upload_demo', 'reupload',
|
||||||
'stage1', 'stage2', 'stage3', 'stage4', 'stage5', 'publish', 'publish_betas',
|
'stage1', 'stage2', 'stage3', 'stage4', 'stage5', 'publish', 'publish_betas',
|
||||||
'linux', 'linux32', 'linux64', 'linuxarm64', 'win', 'win32', 'win64', 'osx', 'build_dep',
|
'linux', 'linux64', 'linuxarm64', 'win', 'win64', 'osx', 'build_dep',
|
||||||
'export_packages', 'hyphenation', 'liberation_fonts', 'csslint'
|
'export_packages', 'hyphenation', 'liberation_fonts', 'csslint'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -103,7 +103,8 @@ def build_dep(args):
|
|||||||
|
|
||||||
class BuildInstaller(Command):
|
class BuildInstaller(Command):
|
||||||
|
|
||||||
OS = BITNESS = ''
|
OS = ''
|
||||||
|
BITNESS = '64'
|
||||||
|
|
||||||
def add_options(self, parser):
|
def add_options(self, parser):
|
||||||
parser.add_option(
|
parser.add_option(
|
||||||
@ -148,7 +149,7 @@ class BuildInstaller(Command):
|
|||||||
class BuildInstallers(BuildInstaller):
|
class BuildInstallers(BuildInstaller):
|
||||||
|
|
||||||
OS = ''
|
OS = ''
|
||||||
ALL_ARCHES = '64', '32'
|
ALL_ARCHES = '64'
|
||||||
|
|
||||||
def run(self, opts):
|
def run(self, opts):
|
||||||
for bitness in self.ALL_ARCHES:
|
for bitness in self.ALL_ARCHES:
|
||||||
@ -156,15 +157,8 @@ class BuildInstallers(BuildInstaller):
|
|||||||
build_single(self.OS, bitness, shutdown)
|
build_single(self.OS, bitness, shutdown)
|
||||||
|
|
||||||
|
|
||||||
class Linux32(BuildInstaller):
|
|
||||||
OS = 'linux'
|
|
||||||
BITNESS = '32'
|
|
||||||
description = 'Build the 32-bit Linux calibre installer'
|
|
||||||
|
|
||||||
|
|
||||||
class Linux64(BuildInstaller):
|
class Linux64(BuildInstaller):
|
||||||
OS = 'linux'
|
OS = 'linux'
|
||||||
BITNESS = '64'
|
|
||||||
description = 'Build the 64-bit Linux calibre installer'
|
description = 'Build the 64-bit Linux calibre installer'
|
||||||
|
|
||||||
|
|
||||||
@ -174,15 +168,8 @@ class LinuxArm64(BuildInstaller):
|
|||||||
description = 'Build the 64-bit ARM Linux calibre installer'
|
description = 'Build the 64-bit ARM Linux calibre installer'
|
||||||
|
|
||||||
|
|
||||||
class Win32(BuildInstaller):
|
|
||||||
OS = 'windows'
|
|
||||||
BITNESS = '32'
|
|
||||||
description = 'Build the 32-bit windows calibre installers'
|
|
||||||
|
|
||||||
|
|
||||||
class Win64(BuildInstaller):
|
class Win64(BuildInstaller):
|
||||||
OS = 'windows'
|
OS = 'windows'
|
||||||
BITNESS = '64'
|
|
||||||
description = 'Build the 64-bit windows calibre installer'
|
description = 'Build the 64-bit windows calibre installer'
|
||||||
|
|
||||||
|
|
||||||
@ -192,7 +179,7 @@ class OSX(BuildInstaller):
|
|||||||
|
|
||||||
class Linux(BuildInstallers):
|
class Linux(BuildInstallers):
|
||||||
OS = 'linux'
|
OS = 'linux'
|
||||||
ALL_ARCHES = '64', '32', 'arm64'
|
ALL_ARCHES = '64', 'arm64'
|
||||||
|
|
||||||
|
|
||||||
class Win(BuildInstallers):
|
class Win(BuildInstallers):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user