crazywhalecc
1bdbdfc08c
refactor: move getLibExtra* to Package base, add ToolPackage support to executors and builders
...
- Move getLibExtraCFlags/getLibExtraCxxFlags/getLibExtraLdFlags/getLibExtraLibs from LibraryPackage to Package base class so ToolPackage can also use them
- Full ToolPackage implementation: getBuildRootPath, getIncludeDir, getLibDir, getBinDir, getToolField with platform suffix support
- Update PackageBuilder to support building ToolPackage (not just LibraryPackage)
- Update PackageInstaller: support ToolPackage in download/extract/install pipeline, auto-install build-time tools, record installed versions
- Allow LibraryPackage|ToolPackage union type in all Executor classes and UnixShell::initializeEnv
2026-07-06 15:10:08 +08:00
crazywhalecc
90846ab149
refactor: restructure tool target configs into tool package system
...
- Move tool configs from config/pkg/target/ to config/pkg/tool/
- Add ToolVersionRegistry for tracking installed tool versions
- Delete old Target/pkgconfig.php, move to tool config
- Rename: 7za-win, go-win, go-xcaddy, jom, nasm, protoc, strawberry-perl, upx, vswhere, zig, pkg-config
2026-07-06 15:08:43 +08:00
crazywhalecc
a81dd6d5c9
feat(tool): implement tool package support with validation and configuration
2026-06-27 15:39:30 +08:00
Jerry Ma
af771cf2b5
feat: enhance type hints and improve verbosity handling in commands ( #1186 )
2026-06-16 18:50:18 +08:00
Jerry Ma
0732c1f0b0
Merge branch 'v3' into feat/clickhouse
2026-05-11 13:18:16 +08:00
henderkes
dc6e63e1ba
fix logic errors in shared ext patching
2026-05-09 15:09:59 +07:00
crazywhalecc
4507c8feb4
Fix zig check on fresh installed spc
2026-05-08 16:47:34 +08:00
crazywhalecc
e93d103e99
SPC_DEFAULT_LD_FLAGS renamed to SPC_DEFAULT_LDFLAGS
2026-05-07 14:56:07 +08:00
crazywhalecc
9e4a622f42
SPC_DEFAULT_CXX_FLAGS renamed to SPC_DEFAULT_CXXFLAGS
2026-05-07 14:55:45 +08:00
crazywhalecc
506cb15654
SPC_DEFAULT_C_FLAGS renamed to SPC_DEFAULT_CFLAGS
2026-05-07 14:55:05 +08:00
crazywhalecc
48c3be7e70
Add shared extension output
2026-04-29 16:37:15 +08:00
crazywhalecc
d458f57c84
Forward-port #1110
2026-04-29 16:24:58 +08:00
crazywhalecc
02713fafb5
Enhance package management in CraftCommand by merging craft-level packages and shared extensions into build options
2026-04-29 15:09:21 +08:00
crazywhalecc
05900c2d6c
Remove patch point
2026-04-20 11:29:16 +08:00
crazywhalecc
0dbbf7abb2
Allow all packages has output
2026-04-12 23:12:26 +08:00
crazywhalecc
be034b756b
Allow detect static-bins for windows
2026-04-12 23:12:11 +08:00
crazywhalecc
661b0fe887
Remove v2 from v3 branch
2026-04-12 13:19:59 +08:00
crazywhalecc
39a975dc90
Just skip sleep
2026-04-12 01:12:17 +08:00
crazywhalecc
626bdc3509
Allow fallback to builder options
2026-04-12 01:11:48 +08:00
crazywhalecc
c207269998
Add php extension OS support checks to PackageInstaller
2026-04-08 22:13:59 +08:00
crazywhalecc
097af804a7
Add OS support checks to PhpExtensionPackage
2026-04-08 22:13:44 +08:00
crazywhalecc
028aa45c17
Merge remote-tracking branch 'origin/v3-refactor/win-exts' into v3-refactor/win-exts
...
# Conflicts:
# src/Package/Target/php/windows.php
2026-04-06 13:16:55 +08:00
crazywhalecc
f8d24e2b3a
Refactor package resolution to filter only available build artifacts
2026-04-06 13:13:45 +08:00
crazywhalecc
51b8a0cab5
Fix upx packing for win
2026-04-03 16:26:20 +08:00
crazywhalecc
b96586e4d3
Add curl extension and enhance Windows build process
2026-03-31 15:10:47 +08:00
crazywhalecc
7c3022b7e3
Add postgresql (replace postgresql-win)
2026-03-24 12:07:57 +08:00
crazywhalecc
75dd01aa91
Enhance package download logic to handle binary-only packages and improve error messaging for installation failures
2026-03-21 12:43:39 +08:00
crazywhalecc
f6e00c67cc
Refactor LibraryPackage to skip pkg-config and static-bin checks on Windows
2026-03-21 00:32:02 +08:00
crazywhalecc
b0522205da
Add support for package environment variables and path injection
2026-03-20 09:30:34 +08:00
crazywhalecc
b1a59dad79
Make PhpExtensionPackage::getSharedExtensionLoadString public
2026-03-18 12:06:48 +08:00
crazywhalecc
c5b11f47c3
Add ext-libxml
2026-03-10 22:41:33 +08:00
crazywhalecc
77e129881a
Move all interactive input to construct
2026-03-09 11:04:18 +08:00
crazywhalecc
0c86d82b98
Update getDistName method to use display-name from config
2026-03-08 14:02:04 +08:00
crazywhalecc
368ce75261
Fix configuration retrieval by using the extension's name instead of a formatted version
2026-03-06 19:20:16 +08:00
crazywhalecc
28c82b811b
Add PackageInfoCommand to display package configuration information and support status
2026-02-27 09:50:21 +08:00
Jerry Ma
da1f348daa
Update src/StaticPHP/Package/PhpExtensionPackage.php
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-27 09:18:28 +08:00
crazywhalecc
e9279940d7
Add DumpStagesCommand to dump package stages and their locations
2026-02-26 16:09:18 +08:00
crazywhalecc
3238c44745
Refactor FrankenPHP build and smoke test processes for Unix
2026-02-26 15:46:18 +08:00
crazywhalecc
bc7ac812b1
phpstan, package display message enhance
2026-02-19 23:02:09 +08:00
crazywhalecc
bbab685247
Refactor exception handler to v3, use standard shell exitcode
2026-02-19 23:02:09 +08:00
crazywhalecc
18434b68f6
Add frankenphp SAPI build support
2026-02-19 23:02:09 +08:00
crazywhalecc
5c7ab48718
Support define php extension arg-type in config
2026-02-06 16:38:03 +08:00
crazywhalecc
478b85879f
Chore
2026-02-06 16:34:51 +08:00
crazywhalecc
c72a2b6228
Refactor nasm,php-sdk-binary-tools,strawberry-perl,vswhere
2026-02-06 14:46:57 +08:00
crazywhalecc
880bb8799b
Add libevent and postinstall action adder for library package
2026-02-06 10:55:59 +08:00
crazywhalecc
8f798c9006
Add imap and BuildRootTracker
2026-02-06 09:48:51 +08:00
crazywhalecc
0d32b7bfdb
Refactor lib packing to v3 postinstall action
2026-02-05 16:42:49 +08:00
crazywhalecc
81ce777bf2
phpstan fix
2026-02-05 16:30:58 +08:00
crazywhalecc
9f2132c001
Add pack lib command
2026-02-05 16:11:28 +08:00
crazywhalecc
2a4959d973
Chore
2026-02-05 16:11:16 +08:00