-
Couldn't load subscription status.
- Fork 8k
ext/json: add php_json_scanner_defs.h as make target #10032
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
Conversation
|
zend can fail in the same way so added that as a commit. Failure example: https://buildbot.mariadb.org/#/builders/237/builds/4281/steps/6/logs/stdio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR!
PHP 8.0 is not supported anymore, could you change the base to 8.1?
It looks like that we could also add a dependency from json_scanner.c to json_parser.tab.h, but otherwise this looks good to me.
|
I wonder why that apparently doesn't fail elsewhere. What is special about this build system? |
possibly just a high -j parallel count. |
To prevent build failures like: make: *** No rule to make target '/code/master/ext/json/php_json_scanner_defs.h', needed by 'ext/json/json_scanner.lo'. Stop.
Its also attempting an out of source build. Which given the targets of this PR are generating files and putting them in the |
2169caf to
25b6e71
Compare
|
AFAIK, the PHP build system never lists headers as dependencies, so I'm not sure about this. Anyhow, if we do this, then we should also add the zend_language_scanner.c dependency for Windows: Line 93 in b6b4a62
|
like zend_ini_parser.h, list zend_ini_scanner_defs.h and zend_language_scanner_defs.h. Add all these files to generated_files so they don't get missed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please do the zend changes in another PR as it is not related to this.
To prevent build failures like:
make: *** No rule to make target '/code/master/ext/json/php_json_scanner_defs.h', needed by 'ext/json/json_scanner.lo'. Stop.
Example where this occurred is the 8.1 and master branches here: https://buildbot.mariadb.org/#/builders/237/builds/4280