Put extension and library compatibility checks before compilation (#451)

This commit is contained in:
Jerry Ma
2024-05-16 13:01:11 +08:00
committed by GitHub
parent 3e84becf77
commit 3136d6edc1
13 changed files with 86 additions and 36 deletions

View File

@@ -63,7 +63,9 @@ class BuildLibsCommand extends BuildCommand
$libraries = DependencyUtil::getLibs($libraries);
logger()->info('Building libraries: ' . implode(',', $libraries));
sleep(2);
$builder->buildLibs($libraries);
$builder->proveLibs($libraries);
$builder->validateLibsAndExts();
$builder->buildLibs();
$time = round(microtime(true) - START_TIME, 3);
logger()->info('Build libs complete, used ' . $time . ' s !');