-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add some documentation to README.md about how to get going on Windows ARM64. #38
base: master
Are you sure you want to change the base?
Conversation
I'm not sure if it makes sense to add further quick-starter batch files nowadays; it seems to me they actually get in the way, since you can build any supported PHP version easily with latest Visual Studio 2022 but using an older toolset. For instance, my local phpsdk-vc15-x64.bat is:
Or you can run BTW: are you doing only minimal PHP builds on ARM64, or where do you get the dependencies (e.g. libxml2) from? |
phpsdk-vc15-x64.bat is:
Makes sense.
Im using microsoft/vcpkg for deps If you prefer not to merge it is there a preferred place that I could contrib to docs. Its not immediately clear (at least) to me how to get going on arm :) |
Ah, thanks!
We have:
If you like, provide a PR for the README; I'll try to find some time to update the Wiki page. |
I updated this pull request. Is that enough? Or do you want a new pull request? |
I dont know the delineation between a minimal build and a respectable windows build but I've worked my way up to Notably, |
With minimal build I was referring to a build without any external dependencies.
Great!
That's certainly possible. It's also possible that they use some manually written assembler code. The whole GD integration is unfortunate on Windows: you cannot use an external libgd, and to build with the bundled GD, you need all supported dependencies. Otherwise you could try library by library, and even start without any dependency. I hope to find some time to work on that, anyway. |
@cmb69 If you're interested. Here jamespack/php-deps-windows-arm64 is how I'm currently handling deps. This could probably be tied into the build system. There are a few libs that dont play well. Notably libxml. but for the most part vcpkg is awesome. |
We have discussed using vcpkg a few years ago, and came to the conclusion that it doesn't fulfill our needs. (naming conventions; distribution of single packages; and maybe a couple of other issues) |
I get that on your side. Its nice for the home gamer tho. Its also matured quite a bit since then. |
This is all I had to do to get building on my arm based surface laptop using the sdk which is nice!!