-
Notifications
You must be signed in to change notification settings - Fork 549
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 MONA v1.4.18 #9440
base: master
Are you sure you want to change the base?
Add MONA v1.4.18 #9440
Conversation
Hi, I'm trying to build this with the wizard. It builds successfully for linux distributions however fails for Windows i686, Windows x86_64 and macOS aarch64. I think that the issues are caused by: the windows build requires cygwin and the mac build requires a newer version of ld64.lld. I'm a little confused regarding how I should include / update these. Should I include them in the (binary) dependencies step? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked at the code, but based on the error message
[12:29:10] mona.cpp:31:26: fatal error: sys/resource.h: No such file or directory
[12:29:10] #include <sys/resource.h>
I take they just don't support Windows, and I guess you'll have to remove that platform
https://buildkite.com/julialang/yggdrasil/builds/13290#0191facc-9d57-47cc-8cc9-fab915281976/676-1631
that looks like a potential problem |
On their website, windows is supposed to be suggested. Stackoverflow suggests that its because windows is missing Cygwin for the POSIX header (https://stackoverflow.com/questions/64710582/error-using-include-sys-resource-h-with-windows-10-c). How should I include Cygwin into the build environment? Perhaps through dependencies or installation in the script? Thanks! |
We don't support cygwin, we only support real Windows targets with mingw. |
Co-authored-by: Mosè Giordano <[email protected]>
I removed the windows and mac platforms for now. |
Co-authored-by: Mosè Giordano <[email protected]>
Co-authored-by: Mosè Giordano <[email protected]>
You can try one or both of the options Yggdrasil/C/CUTEst/build_tarballs.jl Line 45 in 8fc824c
GTA directory.
|
./configure --prefix=${prefix} --build=${MACHTYPE} --host=${target} | ||
extra="" | ||
if [[ "${target}" == *-apple-* ]]; then | ||
extra="LDFLAGS=\"-Wl,-undefined dynamic_lookup\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This syntax is incorrect. I don't know exactly what flag you want to pass to the linker (and the syntax for that is also wrong), but in the first instance you need to remove all the \"
.
No description provided.