gpu-dawn: prepare to use via package manager
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
81ff09af6b
commit
61a2ea91e6
6 changed files with 1609 additions and 1612 deletions
|
|
@ -11,7 +11,7 @@ const sysaudio = @import("libs/sysaudio/build.zig").Sdk(.{
|
||||||
// error: TarUnsupportedFileType
|
// error: TarUnsupportedFileType
|
||||||
.xcode_frameworks = @import("libs/gpu-dawn/libs/xcode-frameworks/build.zig"),
|
.xcode_frameworks = @import("libs/gpu-dawn/libs/xcode-frameworks/build.zig"),
|
||||||
});
|
});
|
||||||
pub const gpu_dawn = @import("libs/gpu-dawn/sdk.zig").Sdk(.{
|
pub const gpu_dawn = @import("libs/gpu-dawn/build.zig").Sdk(.{
|
||||||
// TODO(build-system): This cannot be imported with the Zig package manager
|
// TODO(build-system): This cannot be imported with the Zig package manager
|
||||||
// error: TarUnsupportedFileType
|
// error: TarUnsupportedFileType
|
||||||
.xcode_frameworks = @import("libs/gpu-dawn/libs/xcode-frameworks/build.zig"),
|
.xcode_frameworks = @import("libs/gpu-dawn/libs/xcode-frameworks/build.zig"),
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ const glfw = @import("libs/mach-glfw/build.zig").Sdk(.{
|
||||||
// error: TarUnsupportedFileType
|
// error: TarUnsupportedFileType
|
||||||
.xcode_frameworks = @import("libs/mach-gpu-dawn/libs/xcode-frameworks/build.zig"),
|
.xcode_frameworks = @import("libs/mach-gpu-dawn/libs/xcode-frameworks/build.zig"),
|
||||||
});
|
});
|
||||||
const gpu_dawn = @import("libs/mach-gpu-dawn/sdk.zig").Sdk(.{
|
const gpu_dawn = @import("libs/mach-gpu-dawn/build.zig").Sdk(.{
|
||||||
// TODO(build-system): This cannot be imported with the Zig package manager
|
// TODO(build-system): This cannot be imported with the Zig package manager
|
||||||
// error: TarUnsupportedFileType
|
// error: TarUnsupportedFileType
|
||||||
.xcode_frameworks = @import("libs/mach-gpu-dawn/libs/xcode-frameworks/build.zig"),
|
.xcode_frameworks = @import("libs/mach-gpu-dawn/libs/xcode-frameworks/build.zig"),
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RELEASE_COMMIT: ${{env.recorded_release_version}}
|
RELEASE_COMMIT: ${{env.recorded_release_version}}
|
||||||
run: |
|
run: |
|
||||||
sed -i "/binary_version: \[\]const u8 =/c\ binary_version: []const u8 = \"release-$RELEASE_COMMIT\"," ./libs/gpu-dawn/sdk.zig
|
sed -i "/binary_version: \[\]const u8 =/c\ binary_version: []const u8 = \"release-$RELEASE_COMMIT\"," ./libs/gpu-dawn/build.zig
|
||||||
- name: 'gpu/dawn: use latest binary release'
|
- name: 'gpu/dawn: use latest binary release'
|
||||||
run: |
|
run: |
|
||||||
git config user.name 'Release automation'
|
git config user.name 'Release automation'
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -4,7 +4,7 @@ const glfw = @import("libs/mach-glfw/build.zig").Sdk(.{
|
||||||
// error: TarUnsupportedFileType
|
// error: TarUnsupportedFileType
|
||||||
.xcode_frameworks = @import("libs/mach-gpu-dawn/libs/xcode-frameworks/build.zig"),
|
.xcode_frameworks = @import("libs/mach-gpu-dawn/libs/xcode-frameworks/build.zig"),
|
||||||
});
|
});
|
||||||
const gpu_dawn_sdk = @import("libs/mach-gpu-dawn/sdk.zig");
|
const gpu_dawn_sdk = @import("libs/mach-gpu-dawn/build.zig");
|
||||||
const gpu_sdk = @import("sdk.zig");
|
const gpu_sdk = @import("sdk.zig");
|
||||||
|
|
||||||
pub fn build(b: *std.Build) !void {
|
pub fn build(b: *std.Build) !void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue