diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-10-16 08:18:32 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-10-17 16:15:21 -0700 |
| commit | 246b20b92c0e7e6d907385c32eb11f4350a7defa (patch) | |
| tree | ddccd9e72712ea951aff20dd19a82cd3276b2c0d /meta-oe | |
| parent | 948ee7c2e99fa275de437eee168bc63eee33cea4 (diff) | |
| download | meta-openembedded-246b20b92c0e7e6d907385c32eb11f4350a7defa.tar.gz | |
nodejs: Upgrade to 14.18.1
License-Update: Reflect new location of gtest sources
remove node-inspect from license
update Acorn to v8.4.1
Use internal openssl until nodejs is fixed to work with openssl3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_14.18.1.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb) | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_14.18.1.bb index d468f2518e..76ff980997 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_14.18.1.bb | |||
| @@ -1,10 +1,11 @@ | |||
| 1 | DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" | 1 | DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" |
| 2 | HOMEPAGE = "http://nodejs.org" | 2 | HOMEPAGE = "http://nodejs.org" |
| 3 | LICENSE = "MIT & BSD & Artistic-2.0" | 3 | LICENSE = "MIT & BSD & Artistic-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a1016f9b7979cfe6fc3466a9bba60b1e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6768abdfc4dae4fde59d6b4df96930f3" |
| 5 | 5 | ||
| 6 | DEPENDS = "openssl" | 6 | DEPENDS = "openssl" |
| 7 | DEPENDS:append:class-target = " qemu-native" | 7 | DEPENDS:append:class-target = " qemu-native" |
| 8 | DEPENDS:append:class-native = " c-ares-native" | ||
| 8 | 9 | ||
| 9 | inherit pkgconfig python3native qemu | 10 | inherit pkgconfig python3native qemu |
| 10 | 11 | ||
| @@ -33,7 +34,7 @@ SRC_URI:append:toolchain-clang:x86 = " \ | |||
| 33 | SRC_URI:append:toolchain-clang:powerpc64le = " \ | 34 | SRC_URI:append:toolchain-clang:powerpc64le = " \ |
| 34 | file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ | 35 | file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ |
| 35 | " | 36 | " |
| 36 | SRC_URI[sha256sum] = "ddf1d2d56ddf35ecd98c5ea5ddcd690b245899f289559b4330c921255f5a247f" | 37 | SRC_URI[sha256sum] = "3fa1d71adddfab2f5e3e41874b4eddbdf92b65cade4a43922fb1e437afcf89ed" |
| 37 | 38 | ||
| 38 | S = "${WORKDIR}/node-v${PV}" | 39 | S = "${WORKDIR}/node-v${PV}" |
| 39 | 40 | ||
| @@ -58,7 +59,7 @@ ARCHFLAGS:arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '- | |||
| 58 | GYP_DEFINES:append:mipsel = " mips_arch_variant='r1' " | 59 | GYP_DEFINES:append:mipsel = " mips_arch_variant='r1' " |
| 59 | ARCHFLAGS ?= "" | 60 | ARCHFLAGS ?= "" |
| 60 | 61 | ||
| 61 | PACKAGECONFIG ??= "ares brotli icu zlib" | 62 | PACKAGECONFIG ??= "brotli icu zlib" |
| 62 | 63 | ||
| 63 | PACKAGECONFIG[ares] = "--shared-cares,,c-ares" | 64 | PACKAGECONFIG[ares] = "--shared-cares,,c-ares" |
| 64 | PACKAGECONFIG[brotli] = "--shared-brotli,,brotli" | 65 | PACKAGECONFIG[brotli] = "--shared-brotli,,brotli" |
| @@ -87,7 +88,6 @@ python do_unpack() { | |||
| 87 | 88 | ||
| 88 | bb.build.exec_func('base_do_unpack', d) | 89 | bb.build.exec_func('base_do_unpack', d) |
| 89 | 90 | ||
| 90 | shutil.rmtree(d.getVar('S') + '/deps/openssl', True) | ||
| 91 | if 'ares' in d.getVar('PACKAGECONFIG'): | 91 | if 'ares' in d.getVar('PACKAGECONFIG'): |
| 92 | shutil.rmtree(d.getVar('S') + '/deps/cares', True) | 92 | shutil.rmtree(d.getVar('S') + '/deps/cares', True) |
| 93 | if 'brotli' in d.getVar('PACKAGECONFIG'): | 93 | if 'brotli' in d.getVar('PACKAGECONFIG'): |
| @@ -129,10 +129,6 @@ python do_create_v8_qemu_wrapper () { | |||
| 129 | do_create_v8_qemu_wrapper[dirs] = "${B}" | 129 | do_create_v8_qemu_wrapper[dirs] = "${B}" |
| 130 | addtask create_v8_qemu_wrapper after do_configure before do_compile | 130 | addtask create_v8_qemu_wrapper after do_configure before do_compile |
| 131 | 131 | ||
| 132 | # Keep until openssl 3.x compatibility is fixed | ||
| 133 | CXXFLAGS += "-fpermissive" | ||
| 134 | BUILD_CXXFLAGS += "-fpermissive" | ||
| 135 | |||
| 136 | LDFLAGS:append:x86 = " -latomic" | 132 | LDFLAGS:append:x86 = " -latomic" |
| 137 | 133 | ||
| 138 | # Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi | 134 | # Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi |
| @@ -140,7 +136,7 @@ do_configure () { | |||
| 140 | export LD="${CXX}" | 136 | export LD="${CXX}" |
| 141 | GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES | 137 | GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES |
| 142 | # $TARGET_ARCH settings don't match --dest-cpu settings | 138 | # $TARGET_ARCH settings don't match --dest-cpu settings |
| 143 | python3 configure.py --prefix=${prefix} --cross-compiling --shared-openssl \ | 139 | python3 configure.py --prefix=${prefix} --cross-compiling \ |
| 144 | --without-dtrace \ | 140 | --without-dtrace \ |
| 145 | --without-etw \ | 141 | --without-etw \ |
| 146 | --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ | 142 | --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ |
