git: bf4c86a9e273 - main - www/node{18,20,22}: Add JIT option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Oct 2024 14:58:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bf4c86a9e27395fdfce99b91d8cc1a0f12c1b3ab
commit bf4c86a9e27395fdfce99b91d8cc1a0f12c1b3ab
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-10-07 14:58:07 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-07 14:58:46 +0000
www/node{18,20,22}: Add JIT option
PR: 281746
---
www/node18/Makefile | 5 ++++-
www/node20/Makefile | 5 ++++-
www/node22/Makefile | 5 ++++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/www/node18/Makefile b/www/node18/Makefile
index 0b562778abfd..4e90886e37db 100644
--- a/www/node18/Makefile
+++ b/www/node18/Makefile
@@ -52,13 +52,16 @@ SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py \
tools/*.py \
tools/inspector_protocol/*.py
-OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS
+OPTIONS_DEFINE= BUNDLED_SSL DOCS JIT NLS
+OPTIONS_DEFAULT=JIT
OPTIONS_SUB= yes
BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js
+JIT_DESC= Use Just In Time compiler
BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store --shared-openssl
BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss
BUNDLED_SSL_USES_OFF= ssl
+JIT_CONFIGURE_OFF= --v8-lite-mode
NLS_BUILD_DEPENDS= icu>=69.1:devel/icu
NLS_CONFIGURE_ON= --with-intl=system-icu
NLS_LIB_DEPENDS= libicui18n.so:devel/icu
diff --git a/www/node20/Makefile b/www/node20/Makefile
index 5282dffe00ba..26dc884d2676 100644
--- a/www/node20/Makefile
+++ b/www/node20/Makefile
@@ -52,13 +52,16 @@ SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py \
tools/*.py \
tools/inspector_protocol/*.py
-OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS
+OPTIONS_DEFINE= BUNDLED_SSL DOCS JIT NLS
+OPTIONS_DEFAULT=JIT
OPTIONS_SUB= yes
BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js
+JIT_DESC= Use Just In Time compiler
BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store --shared-openssl
BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss
BUNDLED_SSL_USES_OFF= ssl
+JIT_CONFIGURE_OFF= --v8-lite-mode
NLS_BUILD_DEPENDS= icu>=69.1:devel/icu
NLS_CONFIGURE_ON= --with-intl=system-icu
NLS_LIB_DEPENDS= libicui18n.so:devel/icu
diff --git a/www/node22/Makefile b/www/node22/Makefile
index 10668cd56718..d47c444a15c4 100644
--- a/www/node22/Makefile
+++ b/www/node22/Makefile
@@ -52,13 +52,16 @@ SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py \
tools/*.py \
tools/inspector_protocol/*.py
-OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS
+OPTIONS_DEFINE= BUNDLED_SSL DOCS JIT NLS
+OPTIONS_DEFAULT=JIT
OPTIONS_SUB= yes
BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js
+JIT_DESC= Use Just In Time compiler
BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store --shared-openssl
BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss
BUNDLED_SSL_USES_OFF= ssl
+JIT_CONFIGURE_OFF= --v8-lite-mode
NLS_BUILD_DEPENDS= icu>=69.1:devel/icu
NLS_CONFIGURE_ON= --with-intl=system-icu
NLS_LIB_DEPENDS= libicui18n.so:devel/icu