mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-08-16 18:10:32 +03:00
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:
parent
f6f97d4169
commit
9b3bb05a3a
@ -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)"
|
||||
|
@ -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)
|
||||
|
3
setup.py
3
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':
|
||||
|
Loading…
Reference in New Issue
Block a user