add brotli,bzip2,curl,zlib for linux

This commit is contained in:
crazywhalecc
2023-03-21 00:25:46 +08:00
parent 79efecb5a9
commit 063b55ae0d
10 changed files with 1038 additions and 9 deletions

View File

@@ -31,12 +31,12 @@ class BuilderProvider
cxx: $input->getOption('cxx'),
arch: $input->getOption('arch'),
),
// 'Linux' => new LinuxBuilder(
// cc: $input->getOption('cc'),
// cxx: $input->getOption('cxx'),
// arch: $input->getOption('arch'),
// ),
default => throw new RuntimeException('Current OS is not supported yet'),
'Linux' => new LinuxBuilder(
cc: $input->getOption('cc'),
cxx: $input->getOption('cxx'),
arch: $input->getOption('arch'),
),
default => throw new RuntimeException('Current OS "' . PHP_OS_FAMILY . '" is not supported yet'),
};
}
}