-
Notifications
You must be signed in to change notification settings - Fork 100
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
BinaryBuilder.jl: Construct The Future #441
Conversation
Also, much better c++filt auditing
The "get docker working on Windows" checkbox above may not hold quite yet :) On julia 1.3rc4 with using BinaryBuilder; BinaryBuilder.runshell(Linux(:x86_64, libc=:glibc)) This gives the following error message from Docker
full error
Searching online I found https://stackoverflow.com/q/38905135. It seems it could be a Windows line endings thing, or perhaps an bash/ash shebang thing. Not sure how I can easily check that though. |
Also fix: * Serialization, so we can restart wizard runs again * Registration, hopefully fewer ENOTFASTFORWARD errors
I've just checked the last box, so tomorrow I'm likely going to merge this (even though the tests need to be rewritten) then start in on the tests. @visr I hear you, I will look into it, it's most likely that the docker import failed and you have a docker image that is empty. Try clearing out your binarybuilder rootfs image (find it with |
Ok thanks for the tip. It does help relieving one error, but then I bump into issues with But don't let it stop you from merging, I can always make separate issues for Windows, I think there are a few more. In any case I still need 1872752. |
Without this on a Windows system with Git for Windows installed, I get: ``` docker: Error response from daemon: the working directory '\workspace\' is invalid, it needs to be an absolute path. ``` Apparently this is a known issue with Git for Windows: docker/for-win#1971 (comment) It seems harmless to prepend a slash on any platform, to work around this.
Big BB overhaul! Highlights:
Pkg.Artifacts
system, and so BB itself now requires Julia 1.3+.cc
will now invoke a shell script that calls${target}-gcc
, which in turn will call/opt/${target}/bin/${target}-gcc ${platform_cflags} ${platform_ldflags}
which allows us to not have to worry so much when build systems don't include$(LDFLAGS)
automatically.Things yet to do before merging this:
docker
runner (we can probably do something clever with mounts with our new artifacts support)docker
working on Windows as well! (Two small fixes for running Docker on Windows #418) :DFixskipping for now,qemu
runner (upgrade it to use artifacts instead of downloading things directly, etc...)docker
will be the official way to do this on Mac/Windows