Rebuild tint for macOS with SPIRV reader

This commit is contained in:
2026-03-27 17:25:36 +01:00
parent cc9e41fe44
commit 81176c98a1
2 changed files with 5 additions and 2 deletions
BIN
View File
Binary file not shown.
@@ -102,7 +102,7 @@ namespace Flax.Deps.Dependencies
Utilities.Run("git", "submodule update --recursive", null, root, Utilities.RunOptions.ConsoleLogOutput);
}
// Build tint (get rid of unused stuff)
// Build tint
foreach (var platform in options.Platforms)
{
foreach (var architecture in options.Architectures)
@@ -126,9 +126,12 @@ namespace Flax.Deps.Dependencies
Utilities.FileCopy(Path.Combine(buildDir, config, "tint.exe"), Path.Combine(depsFolder, "tint.exe"));
break;
default:
Utilities.FileCopy(Path.Combine(buildDir, config, "tint"), Path.Combine(depsFolder, "tint"));
Utilities.FileCopy(Path.Combine(buildDir, "tint"), Path.Combine(depsFolder, "tint"));
if (BuildPlatform != TargetPlatform.Windows)
{
Utilities.Run("chmod", "+x tint", null, depsFolder, Utilities.RunOptions.ConsoleLogOutput);
Utilities.Run("strip", "tint", null, depsFolder, Utilities.RunOptions.ConsoleLogOutput);
}
break;
}
}