Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Patch v7 00/10] Add support for the Rust programming language
@ 2017-07-23  8:11 Eric Le Bihan
  2017-07-23  8:11 ` [Buildroot] [Patch v7 01/10] rustc: new virtual package Eric Le Bihan
                   ` (10 more replies)
  0 siblings, 11 replies; 31+ messages in thread
From: Eric Le Bihan @ 2017-07-23  8:11 UTC (permalink / raw)
  To: buildroot

This series adds support for the Rust programming language by adding the
following packages:

 - rustc: a virtual package for the Rust compiler.
 - rust-bin: provides a pre-built version of rustc.
 - rust: builds rustc from source.
 - cargo: builds Rust package manager from source.

Both providers are able to cross-compile code for ARM, MIPS, PowerPC and
x86_64 architectures. Only the host variants are provided.

The rustc virtual package is inspired by the mysql one.

As the Rust compiler is written in Rust and uses Cargo, the Rust package
manager, as build system, two additional packages are provided: rust-bootstrap
and cargo-bootstrap.

v6 -> v7:

 - add cargo 0.20.0
 - bump rust to 1.19.0
 - bump rust-bootstrap to 1.18.0
 - bump cargo-bootstrap to 0.19.0
 - bump rust-bin to 1.19.0
 - fix mips64 target name in rustc

v5 -> v6:

 - bump rust to 1.18.0
 - bump rust-bootstrap to 1.17.0
 - bump rust-bin to 1.18.0

v4 -> v5:

 - add rustc virtual package
 - add rust-bin, provider for rustc
 - rework rust to be a provider for rustc
 - rework some commit messages

v3 -> v4:

 - bump rust to 1.16.0
 - bump rust-bootstrap to 1.15.1
 - add cargo-bootstrap
 - use built-in target specifications
 - drop external Python script to generate target specifications
 - enable support for PowerPC
 - expose host variant in menuconfig

v2 -> v3:

 - bump rust to 1.10.0
 - rework and bump rust-bootstrap to 1.9.0
 - host-rust requires at least GCC 4.7 because of LLVM (suggested by R. Naour)
 - rust requires a glibc-based cross-compiler
 - rust requires GCC 5.x or above for Aarch64

v1 -> v2:

 - bump rust to version 1.9.0.
 - drop patch for bzip2 support in host-python.
 - add package for jemalloc.
 - add dependency on host being a x86 machine.
 - add dependency on toolchain.
 - use dedicated package to provide bootstrapping binary: rust-bootstrap.
 - let ./configure find out host/build on its own.
 - remove entry from configuration menu.
 - clarify some comments.

Eric Le Bihan (10):
  rustc: new virtual package
  rust-bin: new package
  rustc: expose host variant in menuconfig
  rust-bootstrap: new package
  cargo-bootstrap: new package
  rust: new package
  libssh2: add host variant
  libhttpparser: add host variant
  libcurl: add host variant
  cargo: new package

 DEVELOPERS                                   |   5 ++
 package/Config.in.host                       |   2 +
 package/cargo-bootstrap/cargo-bootstrap.hash |   3 +
 package/cargo-bootstrap/cargo-bootstrap.mk   |  14 ++++
 package/cargo/Config.in.host                 |   8 ++
 package/cargo/cargo.hash                     |   4 +
 package/cargo/cargo.in                       |   2 +
 package/cargo/cargo.mk                       | 112 +++++++++++++++++++++++++++
 package/cargo/config.in                      |   2 +
 package/libcurl/libcurl.mk                   |   3 +
 package/libhttpparser/libhttpparser.mk       |   9 +++
 package/libssh2/libssh2.mk                   |   6 ++
 package/rust-bin/rust-bin.hash               |  30 +++++++
 package/rust-bin/rust-bin.mk                 |  41 ++++++++++
 package/rust-bootstrap/rust-bootstrap.hash   |   8 ++
 package/rust-bootstrap/rust-bootstrap.mk     |  27 +++++++
 package/rust/rust.hash                       |   2 +
 package/rust/rust.mk                         |  78 +++++++++++++++++++
 package/rustc/Config.in.host                 |  61 +++++++++++++++
 package/rustc/rustc.mk                       |  25 ++++++
 20 files changed, 442 insertions(+)
 create mode 100644 package/cargo-bootstrap/cargo-bootstrap.hash
 create mode 100644 package/cargo-bootstrap/cargo-bootstrap.mk
 create mode 100644 package/cargo/Config.in.host
 create mode 100644 package/cargo/cargo.hash
 create mode 100644 package/cargo/cargo.in
 create mode 100644 package/cargo/cargo.mk
 create mode 100644 package/cargo/config.in
 create mode 100644 package/rust-bin/rust-bin.hash
 create mode 100644 package/rust-bin/rust-bin.mk
 create mode 100644 package/rust-bootstrap/rust-bootstrap.hash
 create mode 100644 package/rust-bootstrap/rust-bootstrap.mk
 create mode 100644 package/rust/rust.hash
 create mode 100644 package/rust/rust.mk
 create mode 100644 package/rustc/Config.in.host
 create mode 100644 package/rustc/rustc.mk

-- 
2.9.4

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2017-09-07 20:22 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23  8:11 [Buildroot] [Patch v7 00/10] Add support for the Rust programming language Eric Le Bihan
2017-07-23  8:11 ` [Buildroot] [Patch v7 01/10] rustc: new virtual package Eric Le Bihan
2017-07-23 13:14   ` Jörg Krause
2017-08-10 22:34   ` Arnout Vandecappelle
2017-09-07 17:02     ` Eric Le Bihan
2017-07-23  8:11 ` [Buildroot] [Patch v7 02/10] rust-bin: new package Eric Le Bihan
2017-07-23 13:44   ` Jörg Krause
2017-07-23 14:00   ` Jörg Krause
2017-08-10 23:08   ` Arnout Vandecappelle
2017-09-07 18:13     ` Eric Le Bihan
2017-07-23  8:11 ` [Buildroot] [Patch v7 03/10] rustc: expose host variant in menuconfig Eric Le Bihan
2017-08-10 23:09   ` Arnout Vandecappelle
2017-07-23  8:12 ` [Buildroot] [Patch v7 04/10] rust-bootstrap: new package Eric Le Bihan
2017-08-10 23:13   ` Arnout Vandecappelle
2017-09-07 19:33     ` Eric Le Bihan
2017-07-23  8:12 ` [Buildroot] [Patch v7 05/10] cargo-bootstrap: " Eric Le Bihan
2017-07-23  8:12 ` [Buildroot] [Patch v7 06/10] rust: " Eric Le Bihan
2017-08-10 23:38   ` Arnout Vandecappelle
2017-09-07 19:58     ` Eric Le Bihan
2017-07-23  8:12 ` [Buildroot] [Patch v7 07/10] libssh2: add host variant Eric Le Bihan
2017-07-23  8:19   ` Baruch Siach
2017-08-10 23:40     ` Arnout Vandecappelle
2017-07-23  8:12 ` [Buildroot] [Patch v7 08/10] libhttpparser: " Eric Le Bihan
2017-08-10 23:41   ` Arnout Vandecappelle
2017-07-23  8:12 ` [Buildroot] [Patch v7 09/10] libcurl: " Eric Le Bihan
2017-08-10 23:45   ` Arnout Vandecappelle
2017-07-23  8:12 ` [Buildroot] [Patch v7 10/10] cargo: new package Eric Le Bihan
2017-08-10 23:58   ` Arnout Vandecappelle
2017-09-07 20:20     ` Eric Le Bihan
2017-08-10 23:59 ` [Buildroot] [Patch v7 00/10] Add support for the Rust programming language Arnout Vandecappelle
2017-09-07 20:22   ` Eric Le Bihan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox