macOS arm64 CI (#16070)

* Merge MacOS jobs
* Code signing
* rpath hack
* Upgrade macOS VM to 13
* Update llvm compiler
* Update to macOS Sonoma
* Update build-mac.sh
* Remove unnecessary version check
* Disable Homebrew cache
* Use macosx_version_min
* Downgrade min version and VM to 13
* Force -D__MAC_OS_X_VERSION_MIN_REQUIRED=130000
* Ignore -Welaborated-enum-base in display_sleep
* Move compiler version to env variable
* Enable auto-updater on macOS ARM64
This commit is contained in:
nastys 2024-09-22 20:39:43 +02:00 committed by GitHub
parent 02362a4807
commit eb9acd9b56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 346 additions and 23 deletions

View file

@ -61,6 +61,7 @@ DYNAMIC_IMPORT("ntdll.dll", NtSetTimerResolution, NTSTATUS(ULONG DesiredResoluti
#if defined(__APPLE__)
#include <dispatch/dispatch.h>
#if defined (__x86_64__)
// sysinfo_darwin.mm
namespace Darwin_Version
{
@ -69,6 +70,7 @@ namespace Darwin_Version
extern int getNSpatchVersion();
}
#endif
#endif
#include "Utilities/Config.h"
#include "Utilities/Thread.h"
@ -538,7 +540,7 @@ int main(int argc, char** argv)
}
#endif
#ifdef __APPLE__
#if defined(__APPLE__) && defined(__x86_64__)
const int osx_ver_major = Darwin_Version::getNSmajorVersion();
const int osx_ver_minor = Darwin_Version::getNSminorVersion();
if ((osx_ver_major == 14 && osx_ver_minor < 3) && (utils::get_cpu_brand().rfind("VirtualApple", 0) == 0))