From 731515d3744b321aab087d89399c4d84b5afd43b Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Thu, 14 Nov 2024 14:55:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20Link=20libc++.a=20for=20m?= =?UTF-8?q?ac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cpp/CMakeLists.txt | 2 +- docs/release_notes/release_notes_4_0.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index a6ea379f..f45bf159 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -308,7 +308,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Android # This is a patch build. # https://github.com/abseil/abseil-cpp/blob/master/CMake/README.md add_subdirectory(${V8_DIR}/third_party/abseil-cpp ${V8_RELEASE_DIR}/third_party/abseil-cpp) - target_link_libraries(Javet PUBLIC absl::base absl::time) + target_link_libraries(Javet PUBLIC -lc++ absl::base absl::time) endif() if(DEFINED NODE_DIR) list(APPEND includeDirs diff --git a/docs/release_notes/release_notes_4_0.rst b/docs/release_notes/release_notes_4_0.rst index b7c6e533..f5d4cf0e 100644 --- a/docs/release_notes/release_notes_4_0.rst +++ b/docs/release_notes/release_notes_4_0.rst @@ -7,6 +7,7 @@ Release Notes 4.0.x - 4.1.x * Upgraded Node.js to ``v22.11.0`` `(2024-10-29) `_ * Upgraded V8 to ``v13.1.201.8`` (2024-11-11) +* Upgraded clang to v20 for V8 mode on MacOS * Switched to core dependency + individual native dependency * Supported ``Float16Array`` * Added ``Float16``