44 Commits

Author SHA1 Message Date
Le Philousophe 561bcc8af3 APPLE: Update to latest SDK 2025-12-21 09:05:29 +00:00
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 0f735e3d1c ALL: Various toolchain upgrades 2025-08-31 16:09:39 +00:00
Le Philousophe c9f791afd3 MACOS: Update Apple SDKs
Also target MacOS 13 for arm64 as MacPorts seems to have lost
its MacOS 12 builder.
Upgrade cctools-port used by osxcross to latest version to let it handle
objective-C constructs used by MacPorts packages.

Also refresh the patches.
2025-04-24 10:41:09 +00:00
Le Philousophe 0263c42555 ALL: Various toolchains updates 2024-10-19 19:08: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 3fbba0a9b7 APPLE: Update osxcross and Xcode 2023-09-01 19:56:44 +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 925b5699d4 ALL: Various toolchain upgrades 2023-03-18 18:27:49 +01:00
Le Philousophe 79b231f63a APPLE: Rework Apple toolchains and add tvOS support 2022-12-31 19:21:40 +01:00
Le Philousophe d378a8c0d0 ALL: Various toolchains updates 2022-11-13 10:56:06 +00:00
Le Philousophe 574fc489bc ALL: Various toolchain updates 2022-10-30 17:36:48 +00:00
Le Philousophe c6a384386b APPLE: Upgrade SDK and fix MacPorts download
Don't download variant when not asking for it
2022-09-18 13:19:11 +00:00
Le Philousophe a28d02cd67 ALL: Various updates 2022-09-11 09:13:39 +00:00
Le Philousophe 5b6df65d3a ALL: Various toolchains upgrades 2022-05-30 06:57:57 +00:00
Le Philousophe 1c595f464b APPLE: Upgrade SDK
Patches are refreshed too
2022-04-18 14:29:44 +00: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 01579dabac ALL: Various toolchains updates 2022-01-15 12:30:11 +00:00
Le Philousophe 395555e070 MACOS/IPHONE: Optimize toolchain size 2022-01-12 11:43:26 +00:00
Le Philousophe ed920bfa69 IPHONE: Fix compiler invocation
Latest LLVM need to specify the stdlib to use when cross compiling.
Update worker to match toolchain
2022-01-12 11:43:26 +00:00
Le Philousophe f44dc887ef IPHONE: Remove gas-preprocessor, it's not needed anymore 2022-01-12 11:43:26 +00:00
Le Philousophe d90521e1d2 ALL: Upgrade to Debian Bullseye 2022-01-12 11:43:26 +00:00
Le Philousophe 82c82cc928 IPHONE: Really silence unused arguments
When meson it would fail because it enforce the warning as error
2022-01-12 11:43:26 +00:00
Le Philousophe c829a417ca MACOSX/IPHONE: Fix llvm and clang install with Debian packages
We use versioned compilers but it's easier to link them to their
unversioned name for the next steps
2022-01-12 11:43:26 +00:00
Le Philousophe 9c5be08dd9 ALL: Various toolchains updates 2022-01-12 11:43:26 +00:00
Le Philousophe 202ff896b6 APPLE-SDKS: Update SDK and fix extraction and build
New SDK uses hardlink tricks in CPIO to compress package better.
When using the extraction filter, the hardlinked files are extracted
badly and files are corrupted
New iPhone SDK needs a really recent LLVM because of Swift related
changes in the headers.
Newer LLVM needs fixes to compiler-rt build process
2022-01-12 11:43:26 +00:00
Le Philousophe 7db1ccbbff MACOSX/IPHONE: Fix ldid pour MacOS and add codesign shims
ldid now uses upstream repository for MacOS
iPhone toolchain still uses tpoechtrager one as it's used by setup
script
2021-05-23 19:09:16 +00:00
Le Philousophe 2af6885184 MACOSX/IPHONE: Update SDK 2021-05-01 20:06:45 +00:00
Le Philousophe 4dc75627cf ALL: Various toolchains updates 2021-05-01 15:43:22 +00:00
Le Philousophe 6b82605907 ALL: Add giflib dependency 2021-04-10 08:25:12 +00:00
Le Philousophe 033dcf2e56 ALL: Various versions updates 2021-04-04 09:54:31 +00:00
Le Philousophe e9fd2c4d10 IPHONE: Fix Curl compilation
Debian package got patched for CVE-2021-22890 and internal API changed.
Backported patch didn't update darwinssl.c, we do it now.
2021-04-03 19:32:09 +00:00
Le Philousophe 1180dba961 IPHONE: Switch to arm64 to support iOS11+ 2021-03-28 17:39:46 +00:00
Le Philousophe 7e44a0c476 IPHONE: Update SDK 2021-01-31 16:07:12 +01:00
Le Philousophe 767589d219 IPHONE: Make compiler-rt version fallback more robust
Allow previous minor versions
2021-01-31 16:07:12 +01:00
Le Philousophe 23955ec5e2 ALL: Rework toolchain start to use a specific Debian version
A M4 header is used which is common to all toolchains.
This enforce that every platform will use the same base.

For workers it was already the case, just specify the version.
2021-01-31 16:07:12 +01: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 09eb5c4968 MACOSX/IPHONE: Update SDK versions
Let osxcross be patched by toolchain
2020-12-17 16:22:16 +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 6e893714a9 IPHONE: Add iPhone platform support 2020-11-01 09:02:07 +00:00