Add a check for macports alongside Brew in toolchainmanager

This commit is contained in:
Kevin Boyd
2026-05-28 22:40:33 -07:00
parent 96ab2de4b1
commit 2f4fb9d28f

View File

@@ -41,6 +41,7 @@ class ToolchainManager
'Windows' => MSVCToolchain::class,
'Darwin' => match (getenv('SPC_USE_LLVM') ?: 'system') {
'brew' => ClangBrewToolchain::class,
'port' => ClangPortsToolchain::class,
default => ClangNativeToolchain::class,
},
default => throw new WrongUsageException('Unsupported OS family: ' . PHP_OS_FAMILY),