Re: Windows PECL dependencies build source
| From: | Christoph M. Becker | Date: | Fri, 27 Sep 2024 15:03:44 +0000 |
| Subject: | Re: Windows PECL dependencies build source | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-17629@lists.php.net to get a copy of this message | ||
Hi Simon!
On 27.09.2024 at 04:08, Simon Holywell wrote:
> I am wondering where the build source files for the dependencies over at
> https://windows.php.net/downloads/pecl/deps/ come from?
>
> I am looking to get Windows builds working in GitHub Actions for the ssdeep
> PECL extension, which is the consumer of the libfuzzy dependency on that
> server.
>
> As I understand it the last place these dependencies where configured was
> in https://github.com/winlibs, but the files there are 2.13 -
> https://github.com/winlibs/ssdeep
>
> On https://windows.php.net/downloads/pecl/deps/ there is a
> newer version of
> 2.14.1 as well so it is unclear where that is coming from.
I don't know, but I guess Anatol built the newer version of the library
somewhere, and uploaded the build. Ah, quite likely indeed, see
<https://github.com/weltling/ssdeep>.
I'll see to porting this to winlibs, and to also provide an update to
winlib/winlib-builder, so the library can be build as GH action.
If you want Windows DLLs for new releases to be built, please file a
ticket at <https://github.com/php/php-windows-builder>.
> The reason I would like to know is because there is no vs16 build of the
> dependency there and I would like to work out how to make one available to
> my build script. I would also like to work out how well these dependencies
> are maintained etc too.
At least for somewhat newish PHP versions, using a library built with an
older toolset should work without problems. So at least for testing or
CI purposes you could use libfuzzy-2.14.1-vc15 or maybe even
libfuzzy-2.13-vc14.
> Finally, there seems to be a mirror here
> https://downloads.php.net/~windows/pecl/deps/ so I am not sure
> which is the
> canonical source either that I should be pulling into my build script.
We're in the process of transitioning windows.php.net to
downloads.php.net, so you can already use the latter.
Cheers,
Christoph