From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [v3 1/4] package/nodejs: Add node.js v0.12.5 and set as the default version
Date: Wed, 1 Jul 2015 00:20:04 +0200 [thread overview]
Message-ID: <20150630222004.GB21499@free.fr> (raw)
In-Reply-To: <1435660966-11347-1-git-send-email-martin@barkynet.com>
Martin, All,
On 2015-06-30 11:42 +0100, Martin Bark spake thusly:
> The version of the V8 JavaScript engine used by node.js v0.12.5 requires
> at least an ARMv6 architecture with VFPv2. For this reason v0.10.39
> remains the default for ARMv5 targets, all other targets now default to
> v0.12.5.
>
> Signed-off-by: Martin Bark <martin@barkynet.com>
In fact, I missed something, which Thomas did notice...
[--SNIP--]
> diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
> index 9a39385..1e0681b 100644
> --- a/package/nodejs/Config.in
> +++ b/package/nodejs/Config.in
> @@ -24,18 +24,23 @@ if BR2_PACKAGE_NODEJS
>
> choice
> prompt "Node.js version"
> - default BR2_BR2_PACKAGE_NODEJS_0_10_39
> + default BR2_BR2_PACKAGE_NODEJS_0_10_39 if BR2_ARM_CPU_ARMV5
> + default BR2_BR2_PACKAGE_NODEJS_0_12_5
This is OK and must be kept, however...
> help
> Select the version of Node.js you wish to use.
>
> config BR2_BR2_PACKAGE_NODEJS_0_10_39
> bool "v0.10.39"
>
> +config BR2_BR2_PACKAGE_NODEJS_0_12_5
> + bool "v0.12.5"
... why did you drop the dependency on !BR2_ARM_CPU_ARMV5 here?
My comment about reworking the choice was only about the default of the
choice, to have defaults that are coherent with the dependencies of the
options.
We still need to hide 0.12.5 for armv5.
Note: we put the dependencies after the prompt, like so:
# 0.12.5 uses VP8 which requires armv6 or above
config BR2_BR2_PACKAGE_NODEJS_0_12_5
bool "0.12.5"
depends on !BR2_ARM_CPU_ARMV5
Regards,
Yann E. MORIN.
> endchoice
>
> config BR2_PACKAGE_NODEJS_VERSION_STRING
> string
> default "0.10.39" if BR2_BR2_PACKAGE_NODEJS_0_10_39
> + default "0.12.5" if BR2_BR2_PACKAGE_NODEJS_0_12_5
>
> menu "Module Selection"
>
> diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash
> index bc1f15f..816d602 100644
> --- a/package/nodejs/nodejs.hash
> +++ b/package/nodejs/nodejs.hash
> @@ -1,2 +1,5 @@
> # From upstream URL: http://nodejs.org/dist/v0.10.39/SHASUMS256.txt
> sha256 68f8d8f9515c4e77e2a06034b742e19e9848c1fee5bcadedc1d68f3e4302df37 node-v0.10.39.tar.gz
> +
> +# From upstream URL: http://nodejs.org/dist/v0.12.5/SHASUMS256.txt
> +sha256 4bc1e25f4c62ac65324d3cf4aa9de2d801cd708757c3567b6ad2ced7df30cdd2 node-v0.12.5.tar.gz
> --
> 2.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-06-30 22:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 10:42 [Buildroot] [v3 1/4] package/nodejs: Add node.js v0.12.5 and set as the default version Martin Bark
2015-06-30 10:42 ` [Buildroot] [v3 2/4] package/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin Martin Bark
2015-06-30 17:48 ` Yann E. MORIN
2015-06-30 10:42 ` [Buildroot] [v3 3/4] package/nodejs: Add npm_config_target_arch to npm command Martin Bark
2015-06-30 18:01 ` Yann E. MORIN
2015-06-30 23:32 ` Martin Bark
2015-06-30 10:42 ` [Buildroot] [v3 4/4] package/nodejs: Define NPM command for other packages to use Martin Bark
2015-06-30 17:52 ` Yann E. MORIN
2015-06-30 17:46 ` [Buildroot] [v3 1/4] package/nodejs: Add node.js v0.12.5 and set as the default version Yann E. MORIN
2015-06-30 22:20 ` Yann E. MORIN [this message]
2015-07-02 8:22 ` Martin Bark
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=20150630222004.GB21499@free.fr \
--to=yann.morin.1998@free.fr \
--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