@runanywhere/core 0.17.3 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/CMakeLists.txt +9 -0
- package/ios/Binaries/RACommons.xcframework/ios-arm64/RACommons.framework/RACommons +0 -0
- package/ios/Binaries/RACommons.xcframework/ios-arm64_x86_64-simulator/RACommons.framework/RACommons +0 -0
- package/nitrogen/generated/shared/c++/HybridRunAnywhereCoreSpec.hpp +1 -1
- package/package.json +1 -1
package/android/CMakeLists.txt
CHANGED
|
@@ -5,6 +5,12 @@ set(PACKAGE_NAME runanywherecore)
|
|
|
5
5
|
set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
6
6
|
set(CMAKE_CXX_STANDARD 20)
|
|
7
7
|
|
|
8
|
+
# =============================================================================
|
|
9
|
+
# 16KB Page Alignment for Android 15+ (API 35) Compliance
|
|
10
|
+
# Required starting November 1, 2025 for Google Play submissions
|
|
11
|
+
# =============================================================================
|
|
12
|
+
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,max-page-size=16384")
|
|
13
|
+
|
|
8
14
|
# Path to pre-built native libraries (downloaded from runanywhere-sdks)
|
|
9
15
|
set(JNILIB_DIR ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI})
|
|
10
16
|
|
|
@@ -105,5 +111,8 @@ target_link_libraries(
|
|
|
105
111
|
target_link_libraries(${PACKAGE_NAME} rac_commons)
|
|
106
112
|
target_compile_definitions(${PACKAGE_NAME} PRIVATE HAS_RACOMMONS=1)
|
|
107
113
|
|
|
114
|
+
# 16KB page alignment - MUST be on target for Android 15+ compliance
|
|
115
|
+
target_link_options(${PACKAGE_NAME} PRIVATE -Wl,-z,max-page-size=16384)
|
|
116
|
+
|
|
108
117
|
# NOTE: No LlamaCPP or ONNX linking here
|
|
109
118
|
# Those are in @runanywhere/llamacpp and @runanywhere/onnx packages respectively
|
|
Binary file
|
package/ios/Binaries/RACommons.xcframework/ios-arm64_x86_64-simulator/RACommons.framework/RACommons
CHANGED
|
Binary file
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
#include <string>
|
|
20
20
|
#include <optional>
|
|
21
21
|
#include <functional>
|
|
22
|
-
//
|
|
22
|
+
// #include <NitroModules/Null.hpp> // Removed - file does not exist in nitro-modules 0.31.3
|
|
23
23
|
#include <variant>
|
|
24
24
|
|
|
25
25
|
namespace margelo::nitro::runanywhere {
|
package/package.json
CHANGED