mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-10-22 14:15:12 -04:00
Check CPU support before building (#331)
* check cpu support before building * build for x86-64-v2 on windows and intel macs
This commit is contained in:
@@ -74,6 +74,8 @@ internal static class Program
|
||||
|
||||
private static async Task InstallAsync(Dictionary<string, string?> flags, IInstallReporter reporter, CancellationToken token)
|
||||
{
|
||||
// local-build.sh falls back to an x86-64-v2 build when this CPU lacks v3.
|
||||
HostCpuRequirement.EnsureSupported(X86CpuProfile.V2);
|
||||
var retroDir = flags.GetValueOrDefault("retro-dir");
|
||||
var installsRetro = !string.IsNullOrEmpty(retroDir);
|
||||
var downloadPayload = flags.ContainsKey("download-retro-wfc-payload");
|
||||
|
||||
Reference in New Issue
Block a user