Commit Graph

137 Commits

Author SHA1 Message Date
Rémi Verschelde
e9875afbec Merge pull request #84 from godotengine/containers-overhaul-linux-sdk-macos-arm64 2021-07-13 13:29:09 +02:00
Rémi Verschelde
a1fe8335d7 Update README with current list of containers 2021-07-13 08:28:01 +02:00
Rémi Verschelde
428340a423 Windows: Use godot-mono-builds scripts, remove Wine dependency
Streamlines the build process as done for Linux and macOS in previous commits,
and as was done for mobile and web platforms from the start. We're now fully
in sync with `godot-mono-builds`.

This also removes the need to hack around cross-compilation issues using Wine,
which also seemed no longer to work on Fedora 34 anyway.
2021-07-12 22:29:03 +02:00
Rémi Verschelde
c55dffec9a macOS: Use godot-mono-builds scripts, add macOS arm64
This changes our handmade `configure` calls to rely on the streamlined build
process from `godot-mono-builds`, so that our builds are consistent with the
ones generated there.

This enables us to target macOS arm64 easily as neikeq did the relevant work
in the `godot-mono-builds` scripts.

Includes a backport of https://github.com/mono/mono/pull/21147 to fix Mono
build with `godot-mono-builds` using a wrapper for osxcross.
2021-07-12 22:28:44 +02:00
Rémi Verschelde
28fc5dde48 Linux: New container based on Fedora using Godot SDKs
We now provide pre-built toolchains for Linux with old glibc and the required
Godot dependencies, which can be used to build portable Godot binaries without
having to be on an extremely old Linux distro.

So we can retire the old Ubuntu 14.04 containers and instead do our portable
builds directly on Fedora 34, like for other platforms.

This commit also makes use of `godot-mono-builds` to build Mono and the BCL
for Linux, instead of doing it manually. The same will be done for Windows and
macOS in the next commit.
2021-07-12 22:28:16 +02:00
Rémi Verschelde
c98720506a Mono: Update to 6.12.0.147, adds Apple Silicon support
This is a Preview release of Mono, so we use `centos8-preview` packages which
correspond to its MSBuild version requirements (16.10.1).

For osxcross, we need to build compiler-rt to be able to link the new Apple
Silicon support code. See #83 for details.
Includes a backport of https://github.com/tpoechtrager/osxcross/pull/284 to
simplify the install process.

Actual macOS arm64 builds will be added in a follow-up commit.
2021-07-12 22:27:42 +02:00
Rémi Verschelde
b409e6b9e9 Toolchain updates: Fedora 34, Emscripten 2.0.25, and more
- Update base image from Fedora 33 to Fedora 34 (newer GCC, Clang, MinGW and
  binutils).
- Update Emscripten for classical builds from 2.0.15 to 2.0.25.
- Update Android SDK tools to latest version, and build-tools from 30.0.1 to
  30.0.3.
- Update osxcross and ios cctools-port to latest commits.
- Update iOS Mono build's min target version to match Godot's buildsystem.
  See #83 for details.
2021-07-12 22:27:42 +02:00
Rémi Verschelde
8f8fdf5ba8 Merge pull request #85 from godotengine/ios-disable-arm64-sim
iOS: Disable non-working arm64 simulator build
2021-07-12 22:27:17 +02:00
Rémi Verschelde
6b22d8a24c iOS: Disable non-working arm64 simulator build
We have to wait for a resolution to https://github.com/tpoechtrager/cctools-port/issues/102
or try a custom LLVM build with the proposed patch in that issue.
2021-07-12 15:31:06 +02:00
Rémi Verschelde
a4bcc745d0 Merge pull request #82 from godotengine/fixup-ios
iOS: Fixup sed path after #68
2021-07-12 12:33:09 +02:00
Rémi Verschelde
d269202615 iOS: Fixup sed path after #68 2021-07-12 12:32:19 +02:00
Rémi Verschelde
af550ac358 Merge pull request #68 from bruvzg/m1-ios-simulator-b
Add Apple Silicon iOS simulator build support.
2021-07-10 23:05:57 +02:00
bruvzg
371ef4a99e Add Apple Silicon iOS simulator build support. 2021-06-03 08:15:50 +03:00
Rémi Verschelde
67348232ca Merge pull request #81 from godotengine/javascript-rename-EMSDK-vars
JavaScript: Rename EMSDK env vars, `emsdk_env.sh` nukes them
2021-05-16 17:47:44 +02:00
Rémi Verschelde
5cf65ca6d4 JavaScript: Rename EMSDK env vars, emsdk_env.sh nukes them 2021-05-16 12:04:46 +02:00
Rémi Verschelde
945940756f Merge pull request #79 from godotengine/linux32-ubuntu-16.04-gcc5
Linux 32-bit x86: Update container to Ubuntu 16.04, keep GCC 5
2021-04-26 13:30:41 +02:00
Rémi Verschelde
bc518ff13a Linux 32-bit: Update container to Ubuntu 16.04, keep GCC 5
We've had troubles trying to upgrade GCC on Ubuntu 14.04 i386 containers
as statically linking libstdc++ would then trigger crashes when running
those binaries on more recent Ubuntu versions (which seems to be a Ubuntu
bug, other distros don't have the problem).

Upgrading to Ubuntu 16.04 and using its default GCC 5 version seems to
produce working binaries even with statically linked libstdc++, and that
should still be good enough for the few 32-bit Linux users we have.
2021-04-26 13:22:13 +02:00
Rémi Verschelde
8b8e3c6e4c Merge pull request #77 from godotengine/container-updates
Update images to Fedora 33, Mono 6.12.0.122, Xcode 12.4, Emscripten 2.0.15
2021-03-28 13:58:44 +02:00
Rémi Verschelde
b510572ca5 Adapt upload.sh to take img version as first arg 2021-03-28 01:31:10 +01:00
Rémi Verschelde
011a019429 Update to Mono 6.12.0.122 (current stable)
That's what we'll use for Godot 3.3.
2021-03-28 01:31:10 +01:00
Rémi Verschelde
64ee6284b5 OSX/iOS: Update to Xcode 12.4 and latest osxcross
Osxcross update should improve things for Apple Silicon, notably we
no longer need to disable LDID fake signing, it was replaced by
adhoc-codesign.
2021-03-28 01:31:09 +01:00
Rémi Verschelde
f8aed4f23a JavaScript: Update classical builds to Emscripten 2.0.15 2021-03-27 14:07:29 +01:00
Rémi Verschelde
ad77d19707 Mono: Update msbuild to 16.6+xamarinxplat.2020.04.29.14.43
Also update nuget on Linux, was missed in previous update.
2021-03-27 14:07:29 +01:00
Rémi Verschelde
775b3a6915 Base: Update to Fedora 33 2021-03-27 11:38:59 +01:00
Rémi Verschelde
cc43bc75f3 Mono: Update godot-mono-builds to d462909236457cd212b17378c29ce336749e260d
Should help fix issue with JavaScript builds.
2021-03-26 13:40:38 +01:00
Rémi Verschelde
eb01a7944b Merge pull request #72 from jjmontesl/usage-doc
Adding some usage documentation.
2021-02-23 08:07:25 +01:00
Jose Juan Montes
5e9f238967 Adding usage documentation. 2021-02-23 02:32:35 +01:00
Rémi Verschelde
d3a0c1f426 Merge pull request #73 from godotengine/android-ndk-21.4
Android: Install NDK 21.4 and latest cmdline tools
2021-02-22 16:48:59 +01:00
Rémi Verschelde
d628f00753 Android: Install NDK 21.4 and latest cmdline tools
3.2.4 RC 3+ require NDK 21.4.
2021-02-22 16:46:03 +01:00
Hein-Pieter van Braam-Stewart
aaa066f0cf Add warning about wine binfmt support 2021-02-11 05:04:16 +01:00
Hein-Pieter van Braam
773423da1e Merge pull request #70 from godotengine/windows-net_4_x
Windows: Request net_4_x explicitly so that configure aborts if it can't be built
2021-02-11 00:04:44 +01:00
Rémi Verschelde
57fdc2cebf Windows: Request net_4_x explicitly so that configure aborts if it can't be built 2021-02-10 23:25:47 +01:00
Rémi Verschelde
d387018a09 Link to godot-build-scripts 2021-02-09 12:05:06 +01:00
Rémi Verschelde
5fb821d113 Merge pull request #69 from godotengine/ios-aot-compiler-update
iOS: Download arm64 AOT compiler directly from godot-mono-builds
2021-01-27 21:49:15 +01:00
Rémi Verschelde
7df68e3578 iOS: Download arm64 AOT compiler directly from godot-mono-builds
That release matches Mono 6.12.0.114.
2021-01-27 21:48:45 +01:00
qjyqjyqjyqjy
b3707d15c5 Android: Fix NDK version variable expansion (#66)
To properly expand in the shell it needs to be in double quotes, not single quotes.
2021-01-18 15:53:30 +01:00
Rémi Verschelde
3926b63c6b Android: Update env variables and NDK preinstallation to match Godot buildsystem changes (#64) 2021-01-06 16:30:37 +01:00
Fredia Huya-Kouadio
d40854f75a Update Dockerfile.android
Updates based on feedback.
2021-01-06 07:24:02 -08:00
Fredia Huya-Kouadio
c079413258 Update Dockerfile.android
Updates based on feedback.
2021-01-06 07:14:57 -08:00
Fredia Huya-Kouadio
5978e67f01 Update Dockerfile.android
Update configuration based on the Android buildsystem change in https://github.com/godotengine/godot/pull/44949.
2021-01-05 14:09:02 -08:00
Rémi Verschelde
ffd8d9bfa8 Merge pull request #63 from godotengine/js-emscripten-2.0.11
JavaScript: Bump Emscripten to 2.0.11 for standard builds, update godot-mono-builds
2020-12-30 10:07:01 +01:00
Rémi Verschelde
efa506e301 JavaScript: Bump Emscripten to 2.0.11 for standard builds, update godot-mono-builds 2020-12-30 09:59:55 +01:00
Rémi Verschelde
3794b73dbc Merge pull request #62 from godotengine/js-emscripten-2.0.10
JavaScript: Install Emscripten 2.0.10 for standard builds with GDNative
2020-12-10 14:25:32 +01:00
Fabio Alessandrelli
ab8503aa31 JavaScript: Install Emscripten SDK 1.39.9 (Mono) and 2.0.10 (Standard).
Mono needs to stay on 1.39.9 for compatibility with Mono 6.12.x, but for
standard builds the latest is best, and 2.0.10+ is needed for GDNative support.

None is sourced by default, they will be sourced by the build script.

We use a copy of the same Git clone to ensure that `emsdk_env.sh` is
compatible, otherwise we end up with a dirty state when sourcing both.
2020-12-10 13:40:29 +01:00
Rémi Verschelde
ca5d4473ae Merge pull request #61 from godotengine/android-mono-api-18
Android: Fix 32-bit Mono builds compat with API < 21
2020-12-10 09:52:08 +01:00
Rémi Verschelde
ae944a9610 Android: Fix 32-bit Mono builds compat with API < 21
The fix is done in https://github.com/godotengine/godot-mono-builds/pull/22.

Also bump build-tools/platform to API 30 to match current 3.2 branch.
2020-12-10 09:42:49 +01:00
Rémi Verschelde
62116611f3 Merge pull request #60 from godotengine/xcode-12.2
Update to Xcode 12.2 SDKs
2020-11-19 13:33:54 +01:00
Rémi Verschelde
8faf54b9db Update to Xcode 12.2 SDKs
- macOS 11.0 SDK for Big Sur update
- iOS 14.2 SDK

Cf. https://github.com/godotengine/godot-build-scripts/pull/10
2020-11-19 12:58:03 +01:00
Rémi Verschelde
7e387bd357 Merge pull request #59 from godotengine/mono-6.12.0.111
Update to Mono 6.12.0.111
2020-11-19 11:47:45 +01:00
Rémi Verschelde
98f617fbbd Update to Mono 6.12.0.111
- Since with latest godot-mono-builds, removing the need for downstream
  patches for iOS and Emscripten builds.
2020-11-19 11:46:24 +01:00