Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Need a new way to get rlibc #231

Closed
bharrisau opened this issue Nov 10, 2014 · 6 comments
Closed

Need a new way to get rlibc #231

bharrisau opened this issue Nov 10, 2014 · 6 comments

Comments

@bharrisau
Copy link
Contributor

Removed from Rust tree as of rust-lang/rust#18625.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 10, 2014

So as I understand it, they pull out some libs along with rlibc.

So this it's my update so far:

Rakefile:

# cross-compiled librlibc
compile_rust :rlibc_crate, {
  source:  'thirdparty/librlibc/src/lib.rs'.in_root,
  produce: 'thirdparty/librlibc/src/lib.rs'.in_root.as_rlib.in_build,
  out_dir: true,
  recompile_on: :triple,
}

rake

  Rake::FileTask.define_task 'thirdparty/librlibc'.in_root do |t|
    sh "git clone --single-branch --depth 1 https://github.com/rust-lang/rlibc.git #{t.name}"
  end.invoke

Is that it? Nah, the version is a bit different, so it requires more than just those changes above.

@bharrisau
Copy link
Contributor Author

You only need the master for rlibc. It doesn't change.

I'll hook up a bot to create a similar repo for libcore (the nightly-linux buildbot has the needed info and I can listen on IRC for build notifications) and it should solve the issues with revision commits and also speed up the build a little.

@farcaller
Copy link
Member

I'm building libcore/ribc as part of rustc bootstrap in zinci so this isn't going to be a problem when we move off travis.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 11, 2014

@farcaller When we can see any result?

Moving off travis? Can you share more?

@bharrisau
Copy link
Contributor Author

Updated the rakefile.

@farcaller
Copy link
Member

@0xc0170 it's now live at http://beta.ci.zinc.rs/builds/ for a trial run.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants