21 Commits

Author SHA1 Message Date
Le Philousophe 4648bf5766 APPLE: Update to latest SDK
This also needs a newer LLVM with an additional fix in compiler-rt.
osxcross is also updated.
2025-11-11 16:29:02 +00:00
Le Philousophe 72a8807165 ALL: Upgrade toolchains and workers to Debian Trixie 2025-10-26 11:09:00 +00:00
Le Philousophe 8568df381c MACOS: Switch to Fluidlite for i386
Next version of Fluidsynth requires full-fledged C++11 support.
2025-10-12 17:05:04 +00:00
Le Philousophe 8807ca6b0c MACOSX/i386: Make the 10.13 SDK somewhat compatible with 10.6
Download 10.6 SDK is harder and there is not much incompatibilities.
2024-12-24 18:39:44 +00:00
Le Philousophe 50509e498e ALL: Add aliases to help building ScummVM
The aliases are added to /etc/bash.bashrc in order to let the user mount
something else on the root directory.
2024-09-07 19:49:05 +00:00
Le Philousophe 9b767ee0c1 APPLE: Migrate to LLVM 18 to fix build
Newer Apple SDK expect __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ to be
defined which LLVM before 17 don't do.
By upgrading to newer LLVM, we raise a bug in libpng which has not been
fixed in the version we use.
Finally update osxcross to take the correct compiler-rt branch.
2024-07-02 17:25:57 +00:00
Le Philousophe 2b6a63c586 APPLE: Update SDK
Updating SDK implies to update LLVM to version 16 as it fails to build
with older versions (commit f4be5ed6a3fef0b2b0c60b29e1c0638926638d28).
LLVM version 16 triggers an incompatibility between compiler-rt (which
uses C++17 features) and the old i386 MacOS SDK.
This new compiler-rt also needs CMake helpers and new arguments to
properly build as we wish.
2024-06-25 08:02:54 +00:00
Le Philousophe 737891c163 ALL: Upgrade toolchains to Debian Bookworm
GCW0 toolchain can't be built anymore as Mesa build requires Python 2
which is not available anymore.
Helper packages got upgraded and configure arguments and several
patches must be updated.
New GCC defaults to a too modern C++ version to compile old GCC.
Debian now provides a modern enough CLang hence switching to it.
2023-08-13 10:43:06 +00:00
Le Philousophe 79b231f63a APPLE: Rework Apple toolchains and add tvOS support 2022-12-31 19:21:40 +01:00
Cameron Cawley 6cb093b7a9 MACOSX: Remove workaround required by GLEW 2022-09-10 19:04:03 +02:00
Le Philousophe 0795b0064b MACOSX: IPHONE: Use latest LLVM
This fixes the bug we got when optimizing arm64
2022-04-18 12:36:47 +00:00
Le Philousophe 814d58c35f ALL: Various toolchains updates 2022-01-12 11:43:26 +00:00
Le Philousophe 2514a79a51 MACOS: Switch back to Debian LLVM as it's modern enough now
iOS still needs something too recent for Debian
2022-01-12 11:43:26 +00:00
Cameron Cawley 77dc32b16e MACOSX/i386: Remove nullptr_t workaround 2021-03-09 19:07:41 +01:00
Le Philousophe c74e8cc708 MACOSX/i386: Don't add initializer_list
ScummVM has a workaround for it
2021-02-07 16:25:25 +00:00
Le Philousophe 6f25aae34a MACOSX/i386: Fix incomplete C++11 support 2021-02-07 12:18:09 +00:00
Le Philousophe a690f09a12 MACOSX: Add cstdint for old SDK
It's needed by glew. Not really clean bu it works
2021-01-31 18:34:57 +00:00
Le Philousophe 0e5114572d MACOSX/IPHONE: Upgrade to LLVM 11
For iPhone where we need compiler-rt, try several patch versions when
the compiler one is not available (CLang PPA is development build)

Upgrade cctools-port at the same time.
2020-12-20 09:49:38 +00:00
Le Philousophe cf9c01ade2 MACOSX/IPHONE: Synchronize settings between toolchain and worker 2020-12-20 09:48:03 +00:00
Le Philousophe ce932fe9f2 MACOSX/IPHONE: Update versions
- Update SDK versions using Xcode 12.2
- Add LDID to osxcross as ARM is now supported by MacOSX11.0 SDK
- Upgrade host triples
- Fix a bad copy-paste in platform configuration (x86_64 instead of
i386)
2020-11-22 11:40:16 +00:00
Le Philousophe 32b434d420 MACOSX: Add MacOS X platform support
This platform is a little complex.
First, it pulls its SDKs from toolchains/apple_sdks.
Second, there is two toolchains for amd64 and i386 (an older SDK as the
last ones have dropped i386 support).
The CLang provided by Debian is too old for last SDKs so there is
multiple choices avoailable:
- use Debian clang,
- use official clang packages,
- use osxcross clang build script (take a long time).
Third, there is a macosx-common image which contains all scripts which
are needed by all toolchains: that is osxcross, osxcross-clang (to build
clang) and libsdl2 (as sdl2-config is buggy in MacPorts).
Finally, there is a m4 script to build all the toolchains.

The Dockerfile.m4 in toolchain directory is only there to do some tuning
on the build.

The same is done for workers.
2020-10-18 19:04:58 +00:00