Skip to content

Conversation

cmb69
Copy link

@cmb69 cmb69 commented Nov 30, 2021

Without that, phpize builds fail because there is rar.c and rar.cpp,
and both are compiled to rar.obj in the same folder. This appears to
be an upstream bug[1], but even if so, that won't be fixed for PHP 7
anymore, so we work around.

[1] https://github.com/php/php-src/blob/php-8.1.0/win32/build/confutils.js#L1617-L1625

Without that, phpize builds fail because there is rar.c and rar.cpp,
and both are compiled to rar.obj in the same folder.  This appears to
be an upstream bug[1], but even if so, that won't be fixed for PHP 7
anymore, so we work around.

[1] <https://github.com/php/php-src/blob/php-8.1.0/win32/build/confutils.js#L1617-L1625>
cmb69 added a commit to cmb69/php-rar that referenced this pull request Nov 30, 2021
While there is already an AppVeyor CI, the problem with that is that
usually only one job runs in parallel, but we want to be able to run
the builds for multiple PHP versions.

For now, we just run for PHP 7.4, though, since some stuff needs to be
fixed, e.g. cataphract#13, and the failing tests[1].

[1] <https://github.com/cmb69/php-rar/runs/4370012547>
@cmb69 cmb69 mentioned this pull request Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant