zlib: use default configure script on windows - #366922
Conversation
1b211bd to
5edefc4
Compare
5edefc4 to
c227db8
Compare
|
It now builds for me. Does the pkg-config file belong under bin? I believe that those still belong under |
c227db8 to
9cdecc1
Compare
|
Doesn't seem like I can avoid a rebuild on other platforms, as patches will now be an empty list, |
Your changes only affect mingw targets, and the pkgsCross are not build as part of the testing. That means changes like this kinda rely on code reviewers instead of hydra to test the changes on the target environment. (This means that they don't block merges, but also that they are brittle and easily broken). I'm running a build locally of the cross target package. I'll update in a bit when that's done. |
That does seem a more robust way of handling it. Any reason to not try that one out, @getchoo ? |
|
Can we please get this merged? |
Looking further into this, I don't think their patch is applicable directly to our usage here. In their patch they force all MinGW targets to build both shared and static libraries every time. That's pretty common in MinGW distributions I've used, but it's not how nixpkgs is setup to roll. So I don't think that we should go with their patch set. The one in this PR already works great. |
Nope, this just slipped my inbox! I am a little hesitant to add this though, as I'm not completely sure why they're making some of these changes (as I'd hope upstream would do most of the heavy lifting here) and like you said, I'm not sure they're super applicable here If any issues come up from the one I have, I will gladly move to this instead |
f256c20 to
2c4d941
Compare
This avoids the pitfalls of win32/Makefile.gcc (which prevents building on compilers other than gcc without patching and has non-standard installation behavior) and fixes cross compilation for ucrtAarch64
2c4d941 to
f3d9b73
Compare
SuperSandro2000
left a comment
There was a problem hiding this comment.
LGTM but I am a Windows cross noob
|
Now that the issue with the aarch64 cross compiler is addressed, this build failure is now directly halting other progress on ucrtAarch64 cross package builds. Any chance we can get it merged? |
| patches = [ | ||
| ./mingw-shared.patch | ||
| ]; |
This comment was marked as duplicate.
This comment was marked as duplicate.
Sorry, something went wrong.
|
It's been 5 more weeks. Please merge this? It's completely rendering the whole Windows on Arm cross compile target useless. |
RossSmyth
left a comment
There was a problem hiding this comment.
Builds for me, looks good.
Closes #366427
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.