aws-lc-sys dep cross-compile to Windows, CMake errors
#914
Replies: 1 comment
-
|
Somehow this started working after one of our automated bumps of dependencies on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Posting this here to see if I can get some help. I've been trying to cross-compile a project from x86_64-linux (and x86_64-darwin) to Windows following your FAQ related to
aws-lc-sysand I've found this error:I get this is might not be an issue of
craneitself but I don't know exactly how to fine-tune the way the dependencies are built, it seems that CMake is trying to write to files in the Nix store which of course would fail, though it seems that the purpose is to only copy them.I'd say there'd be a way to instruct CMake to not attempt to open with write or to do so in a modifiable copy of the dependency sources during the build, but don't know exactly how. I find it weird that it's attempting to do this in the first place.
Have you found this before?
The flake output I'm trying to build is this one. Other cross-compiled outputs seem to be building fine (there's
x86_64-linux-muslandaarch64-linux-muslthat I'm able to run from macOS).Thanks!
Beta Was this translation helpful? Give feedback.
All reactions