DO NOT MERGE: fix PHP build issue with upb textformat#23628
DO NOT MERGE: fix PHP build issue with upb textformat#23628jtattermusch wants to merge 10 commits intogrpc:masterfrom
Conversation
|
This is an improved/alternative version of #23614
|
|
@stanley-cheung @markdroth WDYT? |
|
Depending on the nature of the PHP build issue, there might be one alternative approach - currently all the UPB generated files go under the "upb-generated" directory. It would be pretty easy to make all the .upbdefs.c files end up in a different directory (say "upbdefs-generated"), which may prevent the PHP problem (the upb.c and .upbdef.c files will be in different directory which may avoid the collision) and we would't need to patch the file names of the generated files. |
4a42e2c to
a5a81db
Compare
|
In a local experiment (ran with |
|
|
||
|
|
||
| # In PHP build Makefile, the files with .upb.c suffix collide .upbdefs.c suffix due to a PHP buildsystem bug. | ||
| # Work around this by changing the generated suffix from ".upbdefs.c" to "_ubpdefs.h". |
There was a problem hiding this comment.
I think you mean "_upbdefs.c", not "_upbdefs.h".
|
Superseded by #23835. |
Based on #23533 - an attempt to solve the PHP artifact/distribtest issues.