From 9b3bb05a3a0d8fd872398217206f90cbc409a8a2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 May 2024 08:01:34 +0530 Subject: [PATCH] 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. --- docs/installer.sh | 4 +--- publish.py | 2 +- setup.py | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/installer.sh b/docs/installer.sh index 8afa12c1b..3002bcd0f 100644 --- a/docs/installer.sh +++ b/docs/installer.sh @@ -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)" diff --git a/publish.py b/publish.py index a70a13681..9678570c8 100755 --- a/publish.py +++ b/publish.py @@ -84,7 +84,7 @@ def run_with_retry(cmd: str) -> 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) diff --git a/setup.py b/setup.py index df48170cb..fbbc974cc 100755 --- a/setup.py +++ b/setup.py @@ -2022,7 +2022,7 @@ class Options: 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 @@ class Options: args = p.parse_args(sys.argv[2:], namespace=Options()) linux_platforms = [ ['linux', '--arch=64'], - ['linux', '--arch=32'], ['linux', '--arch=arm64'], ] if args.platform == 'all':