Skip to content

Solaris target #134

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

Closed
bgermann opened this issue Oct 6, 2017 · 2 comments
Closed

Solaris target #134

bgermann opened this issue Oct 6, 2017 · 2 comments

Comments

@bgermann
Copy link
Contributor

bgermann commented Oct 6, 2017

In rust-lang/rust#45001 I was pointed here. I am thinking of adding support for Solaris. @malbarbo asked for SPARC support, but at least a sparc64-unknown-linux-gnu already exists. I would build sparcv9-sun-solaris and x86_64-sun-solaris.

As I read through the sources, they seem to be similar to the Docker CI stuff in rust-lang/rust. Also there is alexcrichton/port-of-rust, which also seems to have the same roots. Would it be preferable to have a prebuilt Solaris Docker image to reuse here?

@malbarbo
Copy link
Contributor

malbarbo commented Oct 6, 2017

Thanks @bgermann for taking a look at cross. I mean to ask for Solaris support, I was kind of 😴, sorry.

The Docker stuff is similar to that of rust-lang/rust, so you are in a good position for adding cross support for Solaris 😁.

Would it be preferable to have a prebuilt Solaris Docker image to reuse here?

The prebuilt images are not being used anymore (the only exceptions, I think, are freebsd and netbsd on https://github.com/rust-lang/libc). Sadly there are a lot of repetitions... I had to add support for android and emscripten in three repositories: https://github.com/rust-lang/rust, https://github.com/rust-lang/libc and https://github.com/japaric/cross. I think that in the future libc could use cross, but https://github.com/rust-lang/rust have different needs. So for now, adding Docker files in cross should be enough. What do you think @japaric?

@bgermann
Copy link
Contributor Author

bgermann commented Oct 6, 2017

I have seen the use in libc and want to create Solaris CI support there as well. As there is no cross compiler for it in Ubuntu, binutils/gcc have to be built, which takes a long time. It is the same for *BSD, so I guess this is the reason for them relying on a prebuilt image with cross-gcc installed.

But if there are concrete plans that libc will use cross for their testing, I will only add support here without a prebuilt image.

japaric pushed a commit that referenced this issue Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants