Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to node v17.3.1 #31

Merged
merged 2 commits into from
Jan 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/libv8/node/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Libv8; end

module Libv8::Node
VERSION = '16.10.0.0'.freeze
NODE_VERSION = '16.10.0'.freeze
LIBV8_VERSION = '9.3.345.19'.freeze # from v8/include/v8-version.h
VERSION = '17.3.1.0'.freeze
NODE_VERSION = '17.3.1'.freeze
LIBV8_VERSION = '9.6.180.15'.freeze # from v8/include/v8-version.h
end
14 changes: 3 additions & 11 deletions libexec/build-monolith
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,13 @@ platform=$(uname)
rm -f "${LIBV8_MONOLITH}"
case "${platform}" in
"SunOS")
/usr/xpg4/bin/find . -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | while read -r obj; do
ar cqS "${LIBV8_MONOLITH}" "${obj}"
done
ranlib "${LIBV8_MONOLITH}"
/usr/xpg4/bin/find . -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs ar cq "${LIBV8_MONOLITH}"
;;
"Darwin")
/usr/bin/find . -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | while read -r obj; do
/usr/bin/ar -cqS "${LIBV8_MONOLITH}" "${obj}"
done
/usr/bin/ranlib "${LIBV8_MONOLITH}"
/usr/bin/find . -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs /usr/bin/ar -cq "${LIBV8_MONOLITH}"
;;
"Linux")
find . -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | while read -r obj; do
ar -cq "${LIBV8_MONOLITH}" "${obj}"
done
find . -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs ar -cq "${LIBV8_MONOLITH}"
;;
*)
echo "Unsupported platform: ${platform}"
Expand Down
1 change: 1 addition & 0 deletions sums/v17.3.1.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
34ed7eeb1fd088c59e2719c229dc9587c9f106b45329798ca3945c386ac824ed