-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Provide pre-built Windows debug binaries #8170
Comments
Isn't that actually desired? If I |
Hmm, looks like what I expected was not what By rewriting to |
Well, Just defining Thus, I don't know whether it even would make sense to attempt such "mixed" builds. Why not just use release builds of extensions with release builds of php-src, and debug builds of extensions with debug builds of php-src? |
My intention was to build an extension with say assertion enabled using |
Hmm, just enabling assertions may make some sense, but that would require further adjustments ( |
OK. I'm not sure about prebuilt downloadables, but trying to adjust build scripts sounds fragile compared to that. |
Me neither. For actual development of extensions, doing in-tree builds appears to be most sensible, so there wouldn't be an issue. Prebuilt debug binaries don't make sense for production (and even development of userland scripts); the only real benefit I see would be using them for CI. To make some progress here, I'm going to repurpose this ticket as feature request to provide prebuilt Windows debug binaries. If you disagree, we can switch back to the original request/bug report. |
Just found this old ticket.
That's the theory. In practise, most extensions are developerd on Linux (or maybe other POSIX systems), and many have only Windows CI jobs. Using full debug builds might make sense in this case, but is probably not really useful (well, maybe to be able to use |
Description
ARG_ENABLE('debug', ...);
is defined in two places:phpize.js.in
andconfig.w32.phpize.in
.It makes user not possible to activate
--enable-debug
onconfigure
ing an extension because the latter definition overwritesPHP_DEBUG
back to the default false.The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.1.3
Operating System
No response
The text was updated successfully, but these errors were encountered: