Commit aea6c51
A bunch of improvements to native library builds (dotnet#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>1 parent 9c42984 commit aea6c51
File tree
133 files changed
+811
-380
lines changed- .github/workflows
- .nuke
- build
- cmake
- nuke/Native
- submodules
- src
- Microsoft/Vkd3dCompiler
- Native
- Silk.NET.Assimp.Native
- runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.DXVK.Native/runtimes
- win-x64/native
- win-x86/native
- Silk.NET.GLFW.Native
- runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.MoltenVK.Native/runtimes
- iossimulator/native
- maccatalyst/native
- Silk.NET.OpenAL.Soft.Native
- runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.SDL.Native
- runtimes
- iossimulator/native
- ios/native
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- linux-x86/native
- osx/native
- tvossimulator/native
- tvos/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.SPIRV.Cross.Native
- runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- linux-x86/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.SPIRV.Reflect.Native
- runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- linux-x86/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.Shaderc.Native
- runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- linux-x86/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
- Silk.NET.Vkd3d.Native/runtimes/linux-x64/native
- Silk.NET.Vulkan.Loader.Native
- runtimes
- linux-arm64/native
- linux-x64/native
- osx-arm64/native
- osx-x64/native
- win-x64/native
- win-x86/native
- Silk.NET.Vulkan.SwiftShader.Native/runtimes
- linux-arm64/native
- linux-arm/native
- linux-x64/native
- osx-arm64/native
- osx-x64/native
- win-x64/native
- win-x86/native
- Silk.NET.WebGPU.Native.WGPU
- runtimes
- linux-arm64/native
- linux-arm/native
- osx-arm64/native
- osx-x64/native
- win-arm64/native
- win-x64/native
- win-x86/native
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
133 files changed
+811
-380
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
27 | 47 | | |
28 | 48 | | |
29 | 49 | | |
30 | | - | |
| 50 | + | |
31 | 51 | | |
32 | 52 | | |
33 | 53 | | |
| |||
41 | 61 | | |
42 | 62 | | |
43 | 63 | | |
44 | | - | |
| 64 | + | |
45 | 65 | | |
46 | 66 | | |
47 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
27 | 51 | | |
28 | 52 | | |
29 | 53 | | |
30 | | - | |
| 54 | + | |
31 | 55 | | |
32 | 56 | | |
33 | 57 | | |
| |||
41 | 65 | | |
42 | 66 | | |
43 | 67 | | |
44 | | - | |
| 68 | + | |
45 | 69 | | |
46 | 70 | | |
47 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
59 | 78 | | |
60 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
61 | 92 | | |
62 | 93 | | |
63 | 94 | | |
| |||
72 | 103 | | |
73 | 104 | | |
74 | 105 | | |
| 106 | + | |
75 | 107 | | |
76 | 108 | | |
77 | 109 | | |
| |||
82 | 114 | | |
83 | 115 | | |
84 | 116 | | |
85 | | - | |
| 117 | + | |
86 | 118 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
27 | 50 | | |
28 | 51 | | |
29 | 52 | | |
30 | | - | |
| 53 | + | |
31 | 54 | | |
32 | 55 | | |
33 | 56 | | |
| |||
41 | 64 | | |
42 | 65 | | |
43 | 66 | | |
44 | | - | |
| 67 | + | |
45 | 68 | | |
46 | 69 | | |
47 | 70 | | |
| |||
0 commit comments