Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bunch of improvements to native library builds (#2049)
* Native: Add CMake toolchain files for Linux cross-compilation. These will mainly be used in CI workflows, so they're specific to Ubuntu 18.04 and 22.04. * Native/Assimp: Build for linux-arm, linux-arm64, and win-arm64. Also clean up the build script. * Native/Assimp: Don't build tests. * Native/Assimp: Strip Linux/macOS binaries after build. * Native/GLFW: Build for linux-arm and linux-arm64. Also clean up the build script. * Native/GLFW: Don't build examples, tests, and docs. * Native/GLFW: Strip Linux/macOS binaries after build. * Native/OpenAL Soft: Add submodule tracking 1.23.1. * Native/OpenAL Soft: Add build script and workflow. * Native/SDL: Build for linux-arm and linux-arm64. Also clean up the Linux/Windows build script logic. * Native/SDL: Drop linux-x86 support. This has never been officially supported by .NET. * Native/SDL: Build with dynamically-loaded Wayland and X11 support. * Native/SDL: Disable assertions when building on Windows/Linux. * Native/SDL: Don't build static libraries on Linux. * Native/SDL: Strip macOS binaries after build. * Native/Shaderc: Build for linux-arm. * Native/Shaderc: Drop linux-x86 support. This has never been officially supported by .NET. * Native/Shaderc: Build with -O3 instead of -Os. * Native/SPIRV-Cross: Build for linux-arm. * Native/SPIRV-Cross: Drop linux-x86 support. This has never been officially supported by .NET. * Native/SPIRV-Cross: Build with -O3 instead of -Os. * Native/SPIRV-Reflect: Build for linux-arm. * Native/SPIRV-Reflect: Drop linux-x86 support. This has never been officially supported by .NET. * Native/SPIRV-Reflect: Build with -O3 instead of -Os. * Native/SwiftShader: Build for linux-arm, linux-arm64, osx-arm64, and win-x86. Also clean up the build script. * Native/SwiftShader: Don't build tests. * Native/SwiftShader: Strip Linux/macOS binaries after build. * Native/Vkd3d: Build with -O3 instead of -Os. * Native/Vulkan Loader: Build for linux-arm64, osx-arm64, and win-x86. Also clean up the build script. * Native/Vulkan Loader: Strip Linux/macOS binaries after build. * Native/wgpu-native: Build for linux-arm and linux-arm64. Also clean up the build script to be table-driven. * Native/wgpu-native: Drop linux-x86 support. This has never been officially supported by .NET. * New binaries for GLFW on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for Vulkan Loader on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for Wgpu on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for GLFW on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for SPIRV-Reflect on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for GLFW on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for Vulkan Loader on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for GLFW on Microsoft Windows 10.0.20348 * New binaries for Wgpu on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for SDL2 on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for Assimp on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for SDL2 on Microsoft Windows 10.0.20348 * New binaries for GLFW on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for GLFW on Microsoft Windows 10.0.20348 * New binaries for SDL2 on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for Wgpu on Microsoft Windows 10.0.20348 * New binaries for SPIRV-Cross on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for Assimp on Microsoft Windows 10.0.20348 * New binaries for Vkd3d on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for MoltenVK on Darwin 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:42:47 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_ARM64_VMAPPLE * New binaries for Vulkan Loader on Microsoft Windows 10.0.20348 * New binaries for Assimp on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for DXVK on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for SwiftShader on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for SwiftShader on Microsoft Windows 10.0.20348 * New binaries for Shaderc on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for SwiftShader on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * Native/GLFW: Fix incorrect library file name in package. * New binaries for GLFW on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for GLFW on Microsoft Windows 10.0.20348 * Native/OpenAL Soft: Explicitly disable sndio support. The sndio backend takes a hard dependency on libsndio.so, unlike most other backends which load libraries dynamically. We don't want our libopenal.so to require users to install sndio. * Native/OpenAL Soft: Ensure that D-Bus libraries are installed in CI. This allows the build to pick them up and enable support. * Native/OpenAL Soft: Fix library/PR name. * Native/OpenAL Soft: Only install JACK for amd64 in the workflow. This package is not multiarch-compatible in 22.04, so prioritize amd64. * Native/SDL: Only install JACK for amd64 in the workflow. This package is not multiarch-compatible in 22.04, so prioritize amd64. * New binaries for SDL2 on Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:50 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_VMAPPLE * New binaries for SDL2 on Microsoft Windows 10.0.20348 * New binaries for OpenALSoft on Microsoft Windows 10.0.20348 * New binaries for SDL2 on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * New binaries for OpenALSoft on Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar 9 04:50:38 UTC 2024 * Native/Workflows: Add comments explaining APT sources. --------- Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
- Loading branch information