[Buildroot] [PATCH v4 0/2] package/nodejs: bump version to 14.17.6
Adam Duskett
aduskett at gmail.com
Sat Oct 9 00:27:25 UTC 2021
Changes include:
- Remove the dependency on Python2, as nodejs 14 supports Python 3.
- Remove --without-snapshot as it's no longer a supported config option.
- Remove /openssl to the shared-openssl-includes config option, as the build
system automatically appends /openssl to the includes path.
- Add a qemu wrapper. V8's JIT infrastructure requires binaries such as
mksnapshot and mkpeephole to be run in the host during the build.
However, these binaries must have the same bit-width as the target
(e.g. a x86_64 host targeting ARMv6 needs to produce a 32-bit binary).
To work around this issue, cross-compile the binaries for the target and
run them on the host with QEMU, much like gobject-introspection.
Changes v2 -> v3:
- Drop the default y options from python3/Config.in.host (Yann)
Changes v3 -> v4:
- Fill out package/nodejs/0001-add-qemu-wrapper-support.patch (Thomas)
Adam Duskett (2):
package/python3: Add bzip2 option to host
package/nodejs: bump version to 14.17.6
.../0001-add-qemu-wrapper-support.patch | 88 +++++++++++++++++++
package/nodejs/Config.in | 15 +++-
package/nodejs/nodejs.hash | 6 +-
package/nodejs/nodejs.mk | 78 +++++++++-------
package/nodejs/v8-qemu-wrapper.in | 12 +++
package/python3/Config.in.host | 6 ++
package/python3/python3.mk | 6 ++
7 files changed, 170 insertions(+), 41 deletions(-)
create mode 100644 package/nodejs/0001-add-qemu-wrapper-support.patch
create mode 100644 package/nodejs/v8-qemu-wrapper.in
--
2.30.2
More information about the buildroot
mailing list