Skip to content

Commit

Permalink
Native/Vkd3d: Temporarily patch out the Vulkan library check in confi…
Browse files Browse the repository at this point in the history
…gure.ac.
  • Loading branch information
alexrp committed Apr 22, 2024
1 parent b6a39ea commit f149f04
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/nuke/Native/Vkd3d.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ partial class Build {
var vkd3dShaderCompiler = RootDirectory / "src" / "Microsoft" / "Vkd3dCompiler";
var runtimes = RootDirectory / "src" / "Native" / "Silk.NET.Vkd3d.Native" / "runtimes";

// Get rid of the Vulkan library check since we will not be needing it.
File.WriteAllText(
Vkd3dPath / "configure.ac",
File.ReadAllText(Vkd3dPath / "configure.ac")
.Replace("[VKD3D_CHECK_VULKAN]", "[]"));

foreach (var (triple, rid) in new[]
{
("x86_64-linux-gnu", "linux-x64"),
Expand Down Expand Up @@ -102,6 +108,8 @@ partial class Build {
}
}

Git("checkout HEAD configure.ac", Vkd3dPath);

PrUpdatedNativeBinary("Vkd3d");
}
)
Expand Down

0 comments on commit f149f04

Please sign in to comment.