diff --git a/build/nuke/Native/Vkd3d.cs b/build/nuke/Native/Vkd3d.cs index 8f075df036..114455443b 100644 --- a/build/nuke/Native/Vkd3d.cs +++ b/build/nuke/Native/Vkd3d.cs @@ -44,12 +44,6 @@ partial class Build { } InheritedShell($"./git-sync-deps", SPIRVToolsPath / "utils").AssertZeroExitCode(); - InheritedShell($"./autogen.sh", Vkd3dPath).AssertZeroExitCode(); - - var spirvToolsBuild = SPIRVToolsPath / "build"; - var vkd3dBuild = Vkd3dPath / "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( @@ -57,6 +51,13 @@ partial class Build { File.ReadAllText(Vkd3dPath / "configure.ac") .Replace("[VKD3D_CHECK_VULKAN]", "[]")); + InheritedShell($"./autogen.sh", Vkd3dPath).AssertZeroExitCode(); + + var spirvToolsBuild = SPIRVToolsPath / "build"; + var vkd3dBuild = Vkd3dPath / "build"; + var vkd3dShaderCompiler = RootDirectory / "src" / "Microsoft" / "Vkd3dCompiler"; + var runtimes = RootDirectory / "src" / "Native" / "Silk.NET.Vkd3d.Native" / "runtimes"; + foreach (var (triple, rid) in new[] { ("x86_64-linux-gnu", "linux-x64"),