-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Continuous builds for DragonFlyBSD #16298
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
Comments
Currently this involves having an AWS bot set up which is then also hooked up to our buildmaster. We currently don't have a way for community infrastructure to hook up to the buildmaster, but I believe that's something that we've wanted for awhile now! |
Will you discuss this in a weekly meeting or what'd be the next steps? |
@alexcrichton: One year has passed :). What's the current situation regarding setting up a buildbot for DragonFly? We have Rust in the ports tree, but it needs patching of snapshots.txt and my own snapshots for building. |
Cc @edunham
|
If you have your own hardware you'd like builds to run on you can contact us for how to set it up, but we don't have a lot of precedent in the area unfortunately. |
Thanks. I am trying to organize some hardware then getting back to you. Or else, is it possible to get the neccessary changes into |
@mneumann, the FreeBSD and Bitrig snaps that @dhuseby contributes are a good example of how we've been handling community builds. The way we've handled the other community builds is to have the a community member set up a buildslave for the buildbot. After a slave is set up, our buildmaster handles uploading artefacts that it creates. PRs such as #27821 to |
@alexcrichton: The snapshot file is here: http://www.ntecs.de/downloads/rust/rust-stage0-2015-08-11-1af31d4-dragonfly-x86_64-08e7dd9d77434b377c0905cc5f8c705b2daf3a0e.tar.bz2. This is the first part in getting Continuous builds for DragonFly (#16298).
@mneumann I actually have plans to spin up DragonflyBSD build bots. I haven't been able to build it successfully on Dragonfly yet tho. Maybe you can help me with that? If you've got a rustc and libs built for Dragonfly, let me know, I can use that to get a buildbot set up. I already have the hardware and the infrastructure for setting up new buildbots. I am running the bitrig and freebsd 32/64 bots already. I was planning on standing up openbsd, netbsd, and dragonflybsd ones in the near future. |
@dhuseby : That would be perfect! If you try the latest version from git, it should actually compile out-of-the-box, as I have uploaded a snapshot for DragonFly to static.rust-lang.org. All versions prior of that required some minor patching. |
@dhuseby : Note that you can't build against the llvm from ports. I think FreeBSD has a similar problem. Also note that the build will fail if you already have Rust installed. |
@mneumann that's fine, rust builds it's own llvm. |
The landscape today is that we just need nightlies for new platforms to gate on new platforms. Currently this is done via cross compilation as we've basically concluded that for now we're not maintaining BSD bots. PRs are of course always welcome over at rust-lang/rust-buildbot especially to the linux-cross image! If there's a docker image to cross compile to dragonfly, we'll happily set up nightlies for it :) |
@alexcrichton can you point me at some information what needs to be done to setup cross-compilation for DragonFly? If it works for FreeBSD, it shouldn't be too hard for DragonFly and I could give it a try. This would probably also mean that we gain support in rustup, right? |
@mneumann sure! From a high level, compilation of these platforms works not through bootstrapping but rather cross-compiling. The linux-cross container contains all the bits and pieces for this, and we use the new rustbuild build system to cross-compile via The linux-cross Dockerfile is a little sprawling, but it's basically just got a section for each platform it can cross-compile to. For example FreeBSD/NetBSD happen here, with the real meat being their corresponding scripts. I suspect that a DragonFly script would look pretty similar, right? To get it work, the steps would look like:
From there I can take over deployment and adding an auto builder, should be pretty straightforward! Once that's all up an running it's a pretty similar set of steps to get Cargo/rustup building as well. The tricky part with these two is OpenSSL, but it may not be that hard in the long run. We can cross that bridge when we get there :) |
@alexcrichton thanks a lot. rust-lang-deprecated/rust-buildbot#105 contains part 1. I haven't been able to log into the container yet, because somehow the network is not correctly set up. |
Awesome! Odd that you're having problems logging into a container, I'm not sure I've ever had that kind of problem with docker ... |
feat: Add inlay hint for exclusive ranges Adds an inlay hint containing a '<' character to exclusive range expressions and patterns that specify an upper bound.  Inspired by [this comment](rust-lang#37854 (comment)) noting that IntelliJ Rust has this feature.
Would be nice to have continuous builds of the Rust compiler also for DragonFly, in a way that it also gets added to the
src/snapshots.txt
file. Are there enough resources to do this, and if yes, how can I help to get this going?As a side note, go-lang has also continuous builds for dragonfly.
The text was updated successfully, but these errors were encountered: