This adds some functional support for building XHPast on Windows.
Refs T15011
Differential D25535
T15011: Update support for XHPast on Windows speck on Feb 6 2024, 03:06. Authored by
Details
This adds some functional support for building XHPast on Windows. Refs T15011 I deleted src/parser/xhpast/bin/xhpast.exe and ran arc lint src/filesystem/FileFinder.php and verified that a new xhpast.exe was produced and linted.
Diff Detail
Event TimelineComment Actions The ArcanistBundleTestCase failures are due to diff binary not being present on Windows systems. The tests could be rewritten to utilize git diff instead but would take some effort.
Comment Actions Maybe this is wild, but: should we consider removing the compiled xhpast.exe file from the repository, and host is externally? History is here: https://secure.phabricator.com/source/libphutil/history/master/src/parser/xhpast/bin/xhpast.exe Also - is the new file statically linked? https://secure.phabricator.com/T5372 did that. Comment Actions I think with this change it's reasonable to remove it. I do believe it was included because compiling it for windows is involved/difficult. This makes it slightly easier.
I believe so, the last compilation includes -static, though the two libraries are not but I think that's expected/okay. |