-
-
Notifications
You must be signed in to change notification settings - Fork 362
StaticPHP v3 #980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
crazywhalecc
wants to merge
283
commits into
v3
Choose a base branch
from
v3-dev
base: v3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
StaticPHP v3 #980
Changes from 1 commit
Commits
Show all changes
283 commits
Select commit
Hold shift + click to select a range
106b55d
[v3] Add musl-wrapper and musl-toolchain installation support (#984)
crazywhalecc 66840a8
update xdebug to use pie sources
henderkes 7bdcda1
gmp can't build with std=c23 (default with gcc 15)
henderkes 6b5f702
ncurses can't build with std=c23 (default with gcc 15)
henderkes 1d5aec0
c17 instead
henderkes b2182b4
use source extract hook for pdo_sqlsrv
henderkes 47ab5d7
use c17 for extensions as well?
henderkes 9ad7147
Enhance musl-wrapper and musl-toolchain installation process (#988)
crazywhalecc d3b0f5d
Fix argument naming in InstallPackageCommand for clarity (#989)
crazywhalecc dce63d3
we need extensions to explicitly tell which c std they need
henderkes 2f09ace
Add LinuxToolCheck
crazywhalecc baddd60
Add dev commands: is-installed, shell (for debugging package status)
crazywhalecc dbc6dbe
Add Zig package support with downloader and installation checks
crazywhalecc 88b86d3
Fix artifact downloade does not accept boolean options bug
crazywhalecc 6775cb4
Fix pkg-config doctor fix using source bug
crazywhalecc 3ff762c
Fix wrong namespace in go-xcaddy package
crazywhalecc df6c27c
Allow absolute paths for configs
crazywhalecc abd6c2f
Add PackageInstaller::isPackageInstalled() API
crazywhalecc eab1059
Remove redundant path
crazywhalecc 127c935
Refactor BUILDROOT_ABS initialization to provide a default path (#991)
crazywhalecc a1cadec
Refactor re2c fix-item
crazywhalecc 80d922a
Use patch for current package exclusively
crazywhalecc 20e0711
Add libedit package build
crazywhalecc 11e7a59
Add ncurses package build
crazywhalecc 321f2e1
Allow all types of package can be built
crazywhalecc f4bb026
Fix ncurses static-libs
crazywhalecc b384345
Add php-micro patch for embed mode
crazywhalecc 80128ed
Add patch description display
crazywhalecc 78234ef
Add missing patchPkgconfPrefix function
crazywhalecc 7b16f68
Allow package implementation using parent class functions
crazywhalecc a4bd2a7
Add shared extension build support
crazywhalecc 0db26be
Correct SAPI-packages to be installed
crazywhalecc e004d10
Fix phpstan
crazywhalecc 808aed2
Refactor package stage handling and update class structures for impro…
crazywhalecc ac01867
Refactor stage execution to use method references for improved clarity
crazywhalecc b0f630f
Add package outputs, colorize motd
crazywhalecc bcaef59
Support full --no-ansi options
crazywhalecc 4a96875
Update src/Package/Library/ncurses.php
crazywhalecc f68adc3
Update src/Package/Target/php.php
crazywhalecc 7837563
V3 feat/re2c (#992)
crazywhalecc bde1440
Refactor test structure and update paths for improved organization
crazywhalecc 97e337c
Refactor test structure and update paths for improved organization (#…
crazywhalecc 794d92c
Add early validation for package build and installation requirements
crazywhalecc 2901d32
Update ApplicationContext and InteractiveTerm to handle null outputs …
crazywhalecc 66d3af5
Add early validation for package build and installation requirements …
crazywhalecc 458af6a
Add build function check for current OS and update validation logic
crazywhalecc dc05ad2
Update captain hook for windows
crazywhalecc a54021b
Apply suggestion from @henderkes
henderkes f0b5e4f
Fix typo in ncurses.php enable-symlinks option (#994)
crazywhalecc 07ea1e2
update libwebp and libxml2 (#982)
henderkes 3c89ce6
Update version to 2.7.10 (#997)
crazywhalecc 2080407
Enhance Windows support by updating artifact configuration and improv…
crazywhalecc fe0b983
Fix debug mode and verbosity relation
crazywhalecc 4bbe56d
Fix windows extracting with curl typo, ignore traits in package
crazywhalecc eb0a36e
Rename
crazywhalecc 48fbeab
Add log for interactive term
crazywhalecc 7c8b40a
Add windows php cli builds, support micro patches
crazywhalecc f6b47ad
Separate unix and windows build for php
crazywhalecc 6d292b4
Add WindowsCMakeExecutor
crazywhalecc e3f9894
Apply copilot's suggestion
crazywhalecc c4cec15
Use container instead of passing
crazywhalecc da8b7c2
Use the real build target to display
crazywhalecc 4e841cf
Update src/Package/Target/php/windows.php
crazywhalecc 8bf2f42
Merge remote-tracking branch 'origin/v3-feat/win' into v3-feat/win
crazywhalecc 9a91aec
Update src/Package/Target/php/windows.php
crazywhalecc a4fd618
Update src/StaticPHP/Artifact/Artifact.php
crazywhalecc 355da34
Merge remote-tracking branch 'origin/v3-feat/win' into v3-feat/win
crazywhalecc 63c7aa8
Update captainhook.json to cross-platform friendly
crazywhalecc f8952da
Update captainhook.json to cross-platform friendly
crazywhalecc 88d135a
Allow interrupt on Windows
crazywhalecc fefcbf4
Allow automatically get latest gRPC source (#909)
crazywhalecc 910f10a
Typo
crazywhalecc c1c31a7
V3 feat/win (#999)
crazywhalecc acd0e2b
Prepare for skeleton
crazywhalecc d064e13
the libwebp 1.6.0 bug affects centos 7 too
henderkes 18c5ccf
the libwebp 1.6.0 bug affects centos 7 too (#1004)
henderkes 1707c67
Sort
crazywhalecc dd5762f
Add lib skeleton command and sort config, spc_mode suuport, etc...
crazywhalecc 9fdfef5
macOS don't need to disable avx2 explicitly (#1007)
crazywhalecc 656a58c
remove source dir after successful build in CI environment
henderkes 0247458
we were installing to wrong dir if source name != lib name
henderkes ce44e00
@crazywhalecc how to use patch points to delete source dirs?
henderkes 037d224
why does phpstan think this is necessary?
henderkes e677be7
remove
henderkes 9e051c8
fix: check for link first before checking for is_dir
henderkes e1a14bb
fix implicit include
henderkes 53f7cde
fix swoole compilation with php 8.5.1
henderkes 6b52000
fix downloader selecting drafts
henderkes f7ca621
Test
crazywhalecc 8650ce4
Add MACOSX_DEPLOYMENT_TARGET to env.ini (#1009)
crazywhalecc 9a681a9
add mariadb mysqlnd plugins
henderkes 09b89a3
WIP: use system libraries for grpc without building our own grpc lib
henderkes e952f1c
we don't even need to build grpc library for grpc extension...
henderkes 5ef4623
grpc will fail for php 8.5, it's not updated yet
henderkes 93a3590
factor grpc extension out to ext-grpc, keep library for now, even tho…
henderkes 2f31226
make grpc php 8.5 compatible
henderkes e7a88f1
enable fat for gmp when next version releases
henderkes 08388c0
force enable tailcall vm with zig
henderkes 7688a55
don't get zig master branch
henderkes 022fdb2
fix no-strip
henderkes a06cc32
pin libpng to released tags, not git
henderkes 64f7a35
don't need it anymore
henderkes d1b1949
use OPENSSL_CONF directory for openssl default configuration
henderkes fff2484
postgresql doesn't build under c23
henderkes 559a290
use little trick to order libargon2 before libsodium
henderkes 890ff47
our memcache patch prevents shared building
henderkes 54001ab
simplify logic a bit
henderkes 1be353f
more concise message
henderkes 76025b9
missing space
henderkes 6bbb3c9
remove -release handling functionality
henderkes f8b0c2c
add release thing to extension build too
henderkes 94644d3
fix
henderkes 3a17cec
deploy extensions with -release flag too
henderkes 34910d1
add patch point for shared ext build
henderkes cd2dc5b
Fix nghttp2 and curl build configurations for static linking (#1014)
crazywhalecc d902e70
fix arm64 builds
henderkes b09337d
add excimer extension
henderkes 0b863cb
Merge branch 'main' into feat/excimer
henderkes 19f9417
zig now supports -Wl,-exported_symbols_list
henderkes 1e2b401
test excimer
henderkes ae0217b
add excimer extension (#1018)
henderkes af75ffa
suggestions, change openssldir
henderkes 6cf4c40
Merge remote-tracking branch 'origin/main' into henderkes-patch-1
henderkes 372760e
Update patch point docs
crazywhalecc b3c4502
up version
henderkes 1c28f0f
bunch of fixes/changes to make packages build (#1006)
henderkes cfb8cc9
Merge branch 'main' into v3-feat/skeleton
crazywhalecc 2c22bf2
Refactor getOSRelease method for improved readability and efficiency
crazywhalecc a0cab24
Remove skeleton command
crazywhalecc 75cfd7e
3.0 Enhancement
crazywhalecc 1865762
Fix config yaml support
crazywhalecc ae74875
Fix config yaml support
crazywhalecc 7b725bb
Add LicenseDumper component
crazywhalecc 22fc703
Implement attr, brotli, bzip2 build for unix
crazywhalecc c27ed8b
Implement fastlz, zlib (unix)
crazywhalecc 223dd10
fix spx shared libadd
henderkes a709221
Add skip helper function for calling events
crazywhalecc ccd948e
Add openssl lib support
crazywhalecc 3a575f0
Use yml instead of yaml (sync with craft)
crazywhalecc 51415fb
Use shorter summary json file name
crazywhalecc 4531c9f
add option to allow linking musl dynamically on alpine
henderkes c5882c1
fix gettext v1.0 release
henderkes 0cfa203
fix spx shared libadd (#1022)
henderkes 7a262fe
Merge branch 'refs/heads/main' into v3-refactor/libs
crazywhalecc a414c65
Forward-port #1022 spc target env var
crazywhalecc f232588
Merge remote-tracking branch 'origin/v3-refactor/libs' into v3-refact…
crazywhalecc 455d42d
Separate package config
crazywhalecc f4a29c4
Add dev:lint-config to replace sort-config command
crazywhalecc f437efe
Add dev:lint-config to replace sort-config command
crazywhalecc 5a83412
Remove sort config command
crazywhalecc 23db10d
Add libiconv,libssh2,libxml2,xz
crazywhalecc 1586825
Add builder options for build:libs command
crazywhalecc 82ab141
Add nghttp2, nghttp3, ngtcp2
crazywhalecc 3d10236
Add PatchBeforeBuild attribute
crazywhalecc 6ee8dc7
Add zstd,libcares
crazywhalecc 19e11ca
Add ldap,libcares,libsodium,libunistring, lint all configs
crazywhalecc a6c79e3
Add dump license files after installing
crazywhalecc 3492992
Add ncurses
crazywhalecc fddcdb8
Add filelist downloader debug message
crazywhalecc e732543
Fix wrong debug message show
crazywhalecc e4d6723
Add gettext
crazywhalecc 2e8f6bb
Add idn2
crazywhalecc 6688819
Add libedit
crazywhalecc a2409d9
Add getSourceRoot for artifacts
crazywhalecc 09ddd2f
Add methods to retrieve package sub-dependencies and configuration
crazywhalecc c536fed
Add krb5 and lint configs
crazywhalecc 103b5b3
Upgrade phpstan to v2
crazywhalecc 7041e06
Add curl
crazywhalecc 6fdbf62
Fix selective artifact installation detect
crazywhalecc 38f7421
Use zig toolchain by default, lint files
crazywhalecc b89ff3c
Add com_dotnet extension (#1023)
crazywhalecc 274098b
Merge remote-tracking branch 'origin/v3-refactor/libs' into v3-refact…
crazywhalecc 0d4cde7
Add download options for build:libs command
crazywhalecc a02f287
Fix macOS wrong patch file directory
crazywhalecc b5c14d6
Fix golang download website hash match pattern
crazywhalecc c40eaee
Fix custom artifact binary download `is-installed` check
crazywhalecc 08d2020
Allow all artifact configs
crazywhalecc e2011e1
Verbose message
crazywhalecc 0afa1dd
Use new brand name
crazywhalecc e9c27de
Add go-xcaddy,musl-toolchain,php,upx, and also glfw linux support
crazywhalecc 8f44b07
Merge remote-tracking branch 'origin/v3-refactor/libs' into v3-refact…
crazywhalecc 0652d4a
Just in case source dir have not been created
crazywhalecc 3fa2d69
Add ext-mbstring,ext-mbregex,onig
crazywhalecc 16f9446
Add artifact name suggestions for download and install commands
crazywhalecc b9af9ba
Chore
crazywhalecc 6bd3646
Merge branch 'main' into v3-refactor/libs
crazywhalecc 4d4b1a3
Add ext-readline,freetype,gmssl,grpc,icu
crazywhalecc 2a4959d
Chore
crazywhalecc 9f2132c
Add pack lib command
crazywhalecc 81ce777
phpstan fix
crazywhalecc 0d32b7b
Refactor lib packing to v3 postinstall action
crazywhalecc b3bbe0a
Add libjpeg,libpng
crazywhalecc 8fc2da9
Use OS release definition for openssl
crazywhalecc 97634b0
Forward-port #1006 changes
crazywhalecc a75060e
Update exit code in ArtifactDownloader to reflect termination signal
crazywhalecc a072657
Update license file path for bzip2 in configuration
crazywhalecc 807b90b
Fix incorrect variable name for working directory in submodule update…
crazywhalecc 7ae16e5
Add imagemagick,jbig,lerc,libaom,libde265,libheif,libjxl,libtiff,libw…
crazywhalecc 8f798c9
Add imap and BuildRootTracker
crazywhalecc 1eec88f
Add reset command
crazywhalecc 3cfab10
Add libacl
crazywhalecc 39a2070
Add libargon2
crazywhalecc fba2676
Add lint-config command to check and sort configuration files
crazywhalecc d999bfc
Add libavif
crazywhalecc 880bb87
Add libevent and postinstall action adder for library package
crazywhalecc a832cc2
Add libffi
crazywhalecc 2723387
Add liblz4
crazywhalecc e9a411c
Add libmaxminddb
crazywhalecc bd11533
Add libmemcached
crazywhalecc f2d389d
Add librabbitmq
crazywhalecc 4cfd8f4
Add librdkafka
crazywhalecc 127697b
Add liburing
crazywhalecc fa1b71b
Add libuuid
crazywhalecc d6af728
Add libuv
crazywhalecc 0c386e9
Allow shell completion for build:libs command
crazywhalecc 017fabd
Add libxslt
crazywhalecc b42601d
Add libyaml
crazywhalecc 2874336
Add mimalloc
crazywhalecc 9912b21
Add net-snmp
crazywhalecc aad710e
Add postgresql
crazywhalecc 67bea25
Add qdbm
crazywhalecc 425010f
Add re2c
crazywhalecc 6be4da2
Add readline
crazywhalecc fd40b92
Add snappy
crazywhalecc d163c3d
Add sqlite
crazywhalecc a5f8402
Add tidy
crazywhalecc b6d8bf5
Add unixodbc
crazywhalecc ca9dc25
Add watcher
crazywhalecc 368461d
phpstan fix
crazywhalecc c72a2b6
Refactor nasm,php-sdk-binary-tools,strawberry-perl,vswhere
crazywhalecc d8d9f38
Refactor patching logic for Alpine Linux and macOS in attr.php
crazywhalecc 95f34fb
Add extension amqp
crazywhalecc cf5a946
Add extension bcmath,openssl,zlib
crazywhalecc 478b858
Chore
crazywhalecc 5c7ab48
Support define php extension arg-type in config
crazywhalecc 7c3ac48
v3-refactor: Implement v2 libs (#1021)
crazywhalecc 041b08f
V3 fix/phpunit (#1024)
crazywhalecc 82bf317
Refactor Linux and macOS tool checks for improved error handling and …
crazywhalecc 18434b6
Add frankenphp SAPI build support
crazywhalecc 508f635
Add permission copying to ArtifactExtractor
crazywhalecc 7a3f10b
Make downloader configurable
crazywhalecc 0be4e85
Avoid using glob in phar mode
crazywhalecc 753fdd7
Add registry availability check
crazywhalecc 1095807
Use yml instead
crazywhalecc f1e9dd8
Fix box compile config for v3
crazywhalecc 2fdb0b4
Correct bootstrap
crazywhalecc 059f785
Remove redundant catch for downloader
crazywhalecc ee5aabb
Add CMakeConfigureLog.yaml lookup
crazywhalecc bbab685
Refactor exception handler to v3, use standard shell exitcode
crazywhalecc bc7ac81
phpstan, package display message enhance
crazywhalecc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.