Drop support for 32-bit x86 prebuilt binaries

SIMDe 0.8.2 doesnt build on 32 bit and while that will likely be fixed
eventually, 32bit isn't tested in CI and generally speaking there isn't
much use for this platform anymore. I dont know of any 32-bit computers
in common use these days.

As such the overhead of maintaining these is not worth it for me.
kitty itself remains buildable on 32-bit though no guarantees for how
long that will last. kitten remains available on 32bit.
This commit is contained in:
Kovid Goyal
2024-05-03 08:01:34 +05:30
parent f6f97d4169
commit 9b3bb05a3a
3 changed files with 3 additions and 6 deletions

View File

@@ -49,9 +49,7 @@ detect_os() {
amd64|x86_64) arch="x86_64";;
aarch64*) arch="arm64";;
armv8*) arch="arm64";;
i386) arch="i686";;
i686) arch="i686";;
*) die "Unknown CPU architecture $(command uname -m)";;
*) die "kitty binaries not available for architecture $(command uname -m)";;
esac
;;
*) die "kitty binaries are not available for $(command uname)"

View File

@@ -84,7 +84,7 @@ def run_build(args: Any) -> None:
time.sleep(25)
call(cmd, echo=True)
for x in ('64', '32', 'arm64'):
for x in ('64', 'arm64'):
prefix = f'python ../bypy linux --arch {x} '
run_with_retry(prefix + f'program --non-interactive --extra-program-data "{vcs_rev}"')
call(prefix + 'shutdown', echo=True)

View File

@@ -2022,7 +2022,7 @@ def build_dep() -> None:
p.add_argument(
'--platform',
default=Options.platform,
choices='all macos linux linux-32 linux-arm64 linux-64'.split(),
choices='all macos linux linux-arm64 linux-64'.split(),
help='Platforms to build the dep for'
)
p.add_argument(
@@ -2034,7 +2034,6 @@ def build_dep() -> None:
args = p.parse_args(sys.argv[2:], namespace=Options())
linux_platforms = [
['linux', '--arch=64'],
['linux', '--arch=32'],
['linux', '--arch=arm64'],
]
if args.platform == 'all':