Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: buildroot@busybox.net
Subject: [Buildroot] [Patch v4 2/3] cargo-bootstrap: new package
Date: Fri, 07 Apr 2017 09:06:39 +0200	[thread overview]
Message-ID: <1491548799.26127.5.camel@embedded.rocks> (raw)
In-Reply-To: <20170402194651.28684-3-eric.le.bihan.dev@free.fr>

Hi Eric,

On Sun, 2017-04-02 at 21:46 +0200, Eric Le Bihan wrote:
> This new package fetches a binary snapshot of Cargo, suitable for the
> host, in order to bootstrap the Rust compiler and Cargo, the package
> manager.

Why not build it from source?

> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
> ?DEVELOPERS???????????????????????????????????|??1 +
> ?package/cargo-bootstrap/cargo-bootstrap.hash |??3 +++
> ?package/cargo-bootstrap/cargo-bootstrap.mk???| 14 ++++++++++++++
> ?3 files changed, 18 insertions(+)
> ?create mode 100644 package/cargo-bootstrap/cargo-bootstrap.hash
> ?create mode 100644 package/cargo-bootstrap/cargo-bootstrap.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 863d5aa..1fed408 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -442,6 +442,7 @@ F:	package/xxhash/
> ?
> ?N:	Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ?F:	package/adwaita-icon-theme/
> +F:	package/cargo-bootstrap
> ?F:	package/darkhttpd/
> ?F:	package/eudev/
> ?F:	package/execline/
> diff --git a/package/cargo-bootstrap/cargo-bootstrap.hash
> b/package/cargo-bootstrap/cargo-bootstrap.hash
> new file mode 100644
> index 0000000..b193c6f
> --- /dev/null
> +++ b/package/cargo-bootstrap/cargo-bootstrap.hash
> @@ -0,0 +1,3 @@
> +# Locally generated
> +sha256
> 0655713cacab054e8e5a33e742081eebec8531a8c77d28a4294e6496123e8ab1??car
> go-nightly-x86_64-unknown-linux-gnu.tar.gz
> +sha256
> f20adfdcd6fb61c1252034e998998ec349c8a6b05c0320e47a539b0f6d1c76fa??car
> go-nightly-i686-unknown-linux-gnu.tar.gz
> diff --git a/package/cargo-bootstrap/cargo-bootstrap.mk
> b/package/cargo-bootstrap/cargo-bootstrap.mk
> new file mode 100644
> index 0000000..8a11e6e
> --- /dev/null
> +++ b/package/cargo-bootstrap/cargo-bootstrap.mk
> @@ -0,0 +1,14 @@
> +####################################################################
> ############
> +#
> +# cargo-bootstrap
> +#
> +####################################################################
> ############
> +
> +CARGO_BOOTSTRAP_VERSION = 6e0c18cccc8b0c06fba8a8d76486f81a792fb420
> +CARGO_BOOTSTRAP_SITE = https://s3.amazonaws.com/rust-lang-ci/cargo-b
> uilds/$(CARGO_BOOTSTRAP_VERSION)
> +CARGO_BOOTSTRAP_SOURCE = cargo-nightly-$(HOSTARCH)-unknown-linux-
> gnu.tar.gz
> +CARGO_BOOTSTRAP_LICENSE = Apache-2.0 or MIT
> +CARGO_BOOTSTRAP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
> +CARGO_BOOTSTRAP_STRIP_COMPONENTS = 1
> +
> +$(eval $(host-generic-package))

  reply	other threads:[~2017-04-07  7:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-02 19:46 [Buildroot] [Patch v4 0/3] Add support for the Rust programming language Eric Le Bihan
2017-04-02 19:46 ` [Buildroot] [Patch v4 1/3] rust-bootstrap: new package Eric Le Bihan
2017-04-07  7:03   ` Jörg Krause
2017-04-07  8:26     ` Thomas Petazzoni
2017-04-07  8:54       ` Jörg Krause
2017-04-07  9:03         ` Thomas Petazzoni
2017-04-07  9:22           ` Jörg Krause
2017-04-07 10:26             ` Thomas Petazzoni
2017-04-08  9:23     ` Eric Le Bihan
2017-04-02 19:46 ` [Buildroot] [Patch v4 2/3] cargo-bootstrap: " Eric Le Bihan
2017-04-07  7:06   ` Jörg Krause [this message]
2017-04-08  9:34     ` Eric Le Bihan
2017-04-08 13:20       ` Thomas Petazzoni
2017-04-02 19:46 ` [Buildroot] [Patch v4 3/3] rust: " Eric Le Bihan
2017-04-07  7:18   ` Jörg Krause
2017-04-08 10:09     ` Eric Le Bihan
2017-04-10 19:02       ` Jörg Krause
2017-04-10 21:43         ` Arnout Vandecappelle
2017-04-13  6:05           ` Jörg Krause
2017-04-13 16:49             ` Eric Le Bihan
2017-04-13 21:09               ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491548799.26127.5.camel@embedded.rocks \
    --to=joerg.krause@embedded.rocks \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox