Skip to content

Commit 8e50af3

Browse files
committed
update to rc3
1 parent 8e96c64 commit 8e50af3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/SPC/builder/linux/LinuxBuilder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ protected function buildCgi(): void
211211
$concurrency = getenv('SPC_CONCURRENCY') ? '-j' . getenv('SPC_CONCURRENCY') : '';
212212
shell()->cd(SOURCE_PATH . '/php-src')
213213
->exec('sed -i "s|//lib|/lib|g" Makefile')
214-
->exec("make -j {$vars} cgi");
214+
->exec("make {$concurrency} {$vars} cgi");
215215

216216
if (!$this->getOption('no-strip', false)) {
217217
shell()->cd(SOURCE_PATH . '/php-src/sapi/cgi')->exec('strip --strip-unneeded php-cgi');
@@ -247,7 +247,7 @@ protected function buildMicro(): void
247247

248248
shell()->cd(SOURCE_PATH . '/php-src')
249249
->exec('sed -i "s|//lib|/lib|g" Makefile')
250-
->exec("make -j {$vars} micro");
250+
->exec("make {$concurrency} {$vars} micro");
251251

252252
$this->processMicroUPX();
253253

@@ -267,7 +267,7 @@ protected function buildFpm(): void
267267
$concurrency = getenv('SPC_CONCURRENCY') ? '-j' . getenv('SPC_CONCURRENCY') : '';
268268
shell()->cd(SOURCE_PATH . '/php-src')
269269
->exec('sed -i "s|//lib|/lib|g" Makefile')
270-
->exec("make -j {$vars} fpm");
270+
->exec("make {$concurrency} {$vars} fpm");
271271

272272
if (!$this->getOption('no-strip', false)) {
273273
shell()->cd(SOURCE_PATH . '/php-src/sapi/fpm')->exec('strip --strip-unneeded php-fpm');
@@ -294,7 +294,7 @@ protected function buildEmbed(): void
294294
shell()->cd(SOURCE_PATH . '/php-src')
295295
->exec('sed -i "s|//lib|/lib|g" Makefile')
296296
->exec('sed -i "s|^EXTENSION_DIR = .*|EXTENSION_DIR = /' . basename(BUILD_MODULES_PATH) . '|" Makefile')
297-
->exec('make -j INSTALL_ROOT=' . BUILD_ROOT_PATH . " {$vars} install-sapi {$install_modules} install-build install-headers install-programs");
297+
->exec("make {$concurrency} INSTALL_ROOT=" . BUILD_ROOT_PATH . " {$vars} install-sapi {$install_modules} install-build install-headers install-programs");
298298

299299
$ldflags = getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS') ?: '';
300300
$libDir = BUILD_LIB_PATH;

src/SPC/store/source/PhpSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function fetch(bool $force = false, ?array $config = null, int $lock_as =
1616
{
1717
$major = defined('SPC_BUILD_PHP_VERSION') ? SPC_BUILD_PHP_VERSION : '8.4';
1818
if ($major === '8.5') {
19-
Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://github.com/php/php-src/archive/refs/tags/php-8.5.0RC2.tar.gz'], $force);
19+
Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://github.com/php/php-src/archive/refs/tags/php-8.5.0RC3.tar.gz'], $force);
2020
} elseif ($major === 'git') {
2121
Downloader::downloadSource('php-src', ['type' => 'git', 'url' => 'https://github.com/php/php-src.git', 'rev' => 'master'], $force);
2222
} else {

0 commit comments

Comments
 (0)