Bump Go to 1.23

We need this because Go < 1.23 produces binaries that dont work on
modern OpenBSD because OpenBSD decided to remove syscall() from their
libc. Mad buggers, who removes functions from libc breaking all
binaries!!

Also increase minimum macOS version to 11.0 as Go 1.23 requires that
This commit is contained in:
Kovid Goyal
2024-08-24 07:04:54 +05:30
parent 95245ee473
commit d36a64087e
4 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
# Requires installation of XCode 10.3 and go 1.19 and Python 3 and
# Requires installation of XCode >= 10.3 and go 1.23 and Python 3 and
# python3 -m pip install certifi
vm_name 'macos-kitty'
root '/Users/Shared/kitty-build'
python '/usr/local/bin/python3'
universal 'true'
deploy_target '10.14'
deploy_target '11.0'

2
go.mod
View File

@@ -1,6 +1,6 @@
module kitty
go 1.22
go 1.23
require (
github.com/ALTree/bigfloat v0.2.0

View File

@@ -29,13 +29,13 @@ void FUNC(xor_data64)(const uint8_t key[64] UNUSED, uint8_t* data UNUSED, const
// Boilerplate {{{
START_IGNORE_DIAGNOSTIC("-Wfloat-conversion")
START_IGNORE_DIAGNOSTIC("-Wpedantic")
#if defined(__clang__) && __clang_major__ > 12
#if defined(__clang__) && __clang_major__ > 13
_Pragma("clang diagnostic push")
_Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"")
#endif
#include <simde/x86/avx2.h>
#include <simde/arm/neon.h>
#if defined(__clang__) && __clang_major__ > 12
#if defined(__clang__) && __clang_major__ > 13
_Pragma("clang diagnostic pop")
#endif
END_IGNORE_DIAGNOSTIC

View File

@@ -1588,7 +1588,7 @@ def macos_info_plist() -> bytes:
NSHumanReadableCopyright=time.strftime('Copyright %Y, Kovid Goyal'),
CFBundleGetInfoString='kitty - The fast, feature-rich, GPU based terminal emulator. https://sw.kovidgoyal.net/kitty/',
# Operating System Version
LSMinimumSystemVersion='10.15.0',
LSMinimumSystemVersion='11.0.0',
# Categorization
CFBundlePackageType='APPL',
CFBundleSignature='????',