231 Commits

Author SHA1 Message Date
crazywhalecc
fe455bf901
Fix shared-extensions as optional
{craft}
extensions: curl,ast
sapi: cli,micro
{/craft}
2025-06-14 02:30:00 +08:00
DubbleClick
302cf8345d properly handle different php versions, clean up only required files 2025-06-13 13:01:02 +07:00
Marc
bb0a3589c1
Merge pull request #760 from lyrixx/better-exception
Better exception
2025-06-12 12:10:20 +07:00
Jerry Ma
8bd7794a2e
Add -v compatibility for command 2025-06-12 11:57:42 +08:00
DubbleClick
e31942bf1e uncommented buildphp, haha 2025-06-07 08:21:56 +07:00
DubbleClick
a68212672b apply suggestions 2025-06-06 23:49:58 +07:00
DubbleClick
3b9670c202 fpic for liblzma 2025-06-06 09:57:20 +07:00
DubbleClick
6b689f1584 explicitly pass env to process handler, fails in docker otherwise (??????) 2025-06-02 15:12:44 +07:00
DubbleClick
c53b06c3d2 shared-extensions instead of build-shared 2025-06-02 12:27:58 +07:00
DubbleClick
ed87a7cd67 don't force invalidate php-src if the download option is explicitly passed 2025-06-02 12:00:20 +07:00
DubbleClick
108bf34cca craft needs to download shared extensions too 2025-06-02 11:55:55 +07:00
DubbleClick
55b4ba5832 fix file_exists check in printing shared extension folder 2025-06-01 13:23:44 +07:00
Marc
93eb6378ba
Merge branch 'main' into fix/icurel 2025-05-31 22:32:08 +07:00
David Grüner
c551efb75c
Fix CraftCommand ignoring build-options during build (closes #732) (#733)
Unified option to parameter conversion
2025-05-26 20:14:23 +08:00
DubbleClick
835fc1e360 oops 2025-05-22 16:08:09 +07:00
DubbleClick
2a70b998e3 change to count of Static Extensions 2025-05-22 16:07:52 +07:00
DubbleClick
b376d1682f remove runSharedExtensionCheckUnix 2025-05-21 18:35:48 +07:00
Marc
95380168ef
Merge branch 'fix/icurel' into feat/spx 2025-05-21 14:55:17 +07:00
DubbleClick
7698ceb108 fixes for more configure args 2025-05-21 14:10:56 +07:00
Marc
1e50dac5a6
Update BuildPHPCommand.php
fix printed path
2025-05-20 10:50:41 +07:00
henderkes
f88c10d4aa restore buildphp command 2025-05-18 08:57:07 +07:00
henderkes
c1e91e1ccb sockets doesn't install header?! 2025-05-17 22:40:30 +07:00
DubbleClick
2c13eb257b static compilation is not quite working yet 2025-04-30 21:46:27 +07:00
crazywhalecc
348decf72f Fix Windows missing SIGINT bug 2025-04-29 14:52:24 +08:00
DubbleClick
8143b1d768 fix 60s timeout 2025-04-29 13:11:26 +07:00
DubbleClick
d275a44895 Merge remote-tracking branch 'origin/main' into feat/craft 2025-04-28 10:58:11 +07:00
Jerry Ma
39953b5223
Fix pack lib command with wrong compression (#710)
* Fix pack lib command with wrong compression

* Update src/SPC/command/dev/PackLibCommand.php

Co-authored-by: Marc <m@pyc.ac>

---------

Co-authored-by: Marc <m@pyc.ac>
2025-04-24 14:21:07 +08:00
crazywhalecc
bd341db54a
Add build from config support (craft command) 2025-04-24 14:18:39 +08:00
Jerry Ma
455ed7d503
Add alt download for Downloader (#706)
* Add alt download for Downloader

* Test broken url

* Break another source

* Good!

* Rename alt_sources variable

* Use SPC_DOWNLOAD_RETRIES instead of SPC_RETRY_TIME

* Apply new curlExec args
2025-04-22 20:25:44 +08:00
DubbleClick
0b3421e3cd rename SPC_RETRY_TIME to SPC_DOWNLOAD_RETRIES to clear up what it's doing
sleep 5 seconds between retries
2025-04-22 12:24:08 +07:00
crazywhalecc
61eafa48ff
Add static extension filter 2025-04-18 12:18:20 +08:00
crazywhalecc
8b07b15f6c
Merge branch 'main' into feat/xdebug-dynamic 2025-04-18 09:45:19 +08:00
crazywhalecc
4e4eaed123
Add extract source only mode for SourceManager 2025-03-31 16:37:24 +08:00
DubbleClick
0c6dd7a577 warning for building an extension as both static and shared 2025-03-30 23:50:49 +07:00
Marc
fc4872c5d6
Merge branch 'main' into feat/xdebug-dynamic 2025-03-30 23:39:30 +07:00
crazywhalecc
5c04638cb4
Full spell for SPC_DOWNLOAD 2025-03-30 23:27:43 +08:00
crazywhalecc
67afffeb96
Remove redundant suffix, add libc version suffix 2025-03-30 21:59:58 +08:00
crazywhalecc
4e5c0f0a48
Add additional log output for pre-built finder 2025-03-30 20:21:56 +08:00
crazywhalecc
631a1b5864
Add libc version for pre-built content name 2025-03-30 20:16:41 +08:00
crazywhalecc
87c0535624
Allow locking different arch pre-built content 2025-03-30 16:53:14 +08:00
crazywhalecc
5648681ecc
Adjust console output and PHPDoc 2025-03-30 15:17:09 +08:00
DubbleClick
48f257f85a unixconfigurearg needs to know if currently building shared or static 2025-03-27 11:12:19 +07:00
DubbleClick
acdec64144 build static and shared at the same time 2025-03-27 09:36:46 +07:00
crazywhalecc
0beb97648a
Fix phpstan 2025-03-26 12:41:13 +08:00
crazywhalecc
5564559192
Change --with-shared to --build-shared 2025-03-26 12:39:55 +08:00
crazywhalecc
8cb93bc1fe
Add more exception and log 2025-03-26 12:39:15 +08:00
crazywhalecc
f37110605e
Remove dev build target 2025-03-25 16:13:41 +08:00
crazywhalecc
8cd69b2b70
Support zero extension build result 2025-03-25 00:05:46 +08:00
crazywhalecc
aa4d4db11f
Refactor, supports shared extension build now ! 2025-03-24 23:50:12 +08:00
crazywhalecc
76c353e790
Add SPC_DOCKER_DEBUG=yes option for docker build 2025-03-24 22:39:45 +08:00