summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-10-16 08:18:32 -0700
committerKhem Raj <raj.khem@gmail.com>2021-10-17 16:15:21 -0700
commit246b20b92c0e7e6d907385c32eb11f4350a7defa (patch)
treeddccd9e72712ea951aff20dd19a82cd3276b2c0d /meta-oe
parent948ee7c2e99fa275de437eee168bc63eee33cea4 (diff)
downloadmeta-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 @@
1DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" 1DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
2HOMEPAGE = "http://nodejs.org" 2HOMEPAGE = "http://nodejs.org"
3LICENSE = "MIT & BSD & Artistic-2.0" 3LICENSE = "MIT & BSD & Artistic-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a1016f9b7979cfe6fc3466a9bba60b1e" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=6768abdfc4dae4fde59d6b4df96930f3"
5 5
6DEPENDS = "openssl" 6DEPENDS = "openssl"
7DEPENDS:append:class-target = " qemu-native" 7DEPENDS:append:class-target = " qemu-native"
8DEPENDS:append:class-native = " c-ares-native"
8 9
9inherit pkgconfig python3native qemu 10inherit pkgconfig python3native qemu
10 11
@@ -33,7 +34,7 @@ SRC_URI:append:toolchain-clang:x86 = " \
33SRC_URI:append:toolchain-clang:powerpc64le = " \ 34SRC_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 "
36SRC_URI[sha256sum] = "ddf1d2d56ddf35ecd98c5ea5ddcd690b245899f289559b4330c921255f5a247f" 37SRC_URI[sha256sum] = "3fa1d71adddfab2f5e3e41874b4eddbdf92b65cade4a43922fb1e437afcf89ed"
37 38
38S = "${WORKDIR}/node-v${PV}" 39S = "${WORKDIR}/node-v${PV}"
39 40
@@ -58,7 +59,7 @@ ARCHFLAGS:arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
58GYP_DEFINES:append:mipsel = " mips_arch_variant='r1' " 59GYP_DEFINES:append:mipsel = " mips_arch_variant='r1' "
59ARCHFLAGS ?= "" 60ARCHFLAGS ?= ""
60 61
61PACKAGECONFIG ??= "ares brotli icu zlib" 62PACKAGECONFIG ??= "brotli icu zlib"
62 63
63PACKAGECONFIG[ares] = "--shared-cares,,c-ares" 64PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
64PACKAGECONFIG[brotli] = "--shared-brotli,,brotli" 65PACKAGECONFIG[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 () {
129do_create_v8_qemu_wrapper[dirs] = "${B}" 129do_create_v8_qemu_wrapper[dirs] = "${B}"
130addtask create_v8_qemu_wrapper after do_configure before do_compile 130addtask create_v8_qemu_wrapper after do_configure before do_compile
131 131
132# Keep until openssl 3.x compatibility is fixed
133CXXFLAGS += "-fpermissive"
134BUILD_CXXFLAGS += "-fpermissive"
135
136LDFLAGS:append:x86 = " -latomic" 132LDFLAGS: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)}" \