mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 15:55:39 +08:00
add cs profiling as optional second step profiling pass
This commit is contained in:
@@ -130,6 +130,7 @@ class LinuxBuilder extends UnixBuilderBase
|
||||
|
||||
$this->emitPatchPoint('before-php-make');
|
||||
SourcePatcher::patchBeforeMake($this);
|
||||
PgoManager::patchBeforeMake($this);
|
||||
|
||||
$this->cleanMake();
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ abstract class UnixBuilderBase extends BuilderBase
|
||||
throw new SPCInternalException("Deploy failed. Cannot find file after copy: {$dst}");
|
||||
}
|
||||
|
||||
if (!$this->getOption('no-strip') && !$this->getOption('pgi')) {
|
||||
if (!$this->getOption('no-strip') && !$this->getOption('pgi') && !$this->getOption('cs-pgi')) {
|
||||
// extract debug info
|
||||
$this->extractDebugInfo($dst);
|
||||
// extra strip
|
||||
|
||||
Reference in New Issue
Block a user