File tree Expand file tree Collapse file tree 6 files changed +13
-10
lines changed
Expand file tree Collapse file tree 6 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11version https://git-lfs.github.com/spec/v1
2- oid sha256:5012019c6bcb9c884eab35095ccfaa3905108818d141304e3d098bfaa39aa57a
2+ oid sha256:7e97908a6a83cc538728d159a4980f6eba031d23b2c43c20a1a04dad58057e92
33size 31576
Original file line number Diff line number Diff line change 11version https://git-lfs.github.com/spec/v1
2- oid sha256:c658f5c7d94281740a398092ae897e16129ba1bdee68db9f39b8e00553902a83
3- size 106781576
2+ oid sha256:d1de17a2cf370ac8fa2f831cfbb9c1cc6b64db8612f96d666bf3a074e0514573
3+ size 76648480
Original file line number Diff line number Diff line change 11version https://git-lfs.github.com/spec/v1
2- oid sha256:f8ce024650a44e646a7c62a37406e865edb9d0f013c1dfebfd7c9c56fa9aa139
3- size 83496840
2+ oid sha256:26a0f437c28925bfd84fca09c188c66164a5e7909d3009c201b2b3dcc693c9dc
3+ size 53817760
Original file line number Diff line number Diff line change 11version https://git-lfs.github.com/spec/v1
2- oid sha256:81ead849620bc87469880bdba42bc112d50a79c2d80700dc00a47561df89b9e0
3- size 102656440
2+ oid sha256:d752a15b1f1bcdf980351e4860ddca848775c9004999b3e66d8bac78ab43cab3
3+ size 82248296
Original file line number Diff line number Diff line change 11version https://git-lfs.github.com/spec/v1
2- oid sha256:cda58db3990bafecacd714209f34ee3f4851c7acdbc5c462c3e5a3d84ad7f3d7
3- size 104175312
2+ oid sha256:92533fdf70ad5081d84ae4a22f29a1eb919e85cb5230e5b8ecfd81cb3bfc5fcc
3+ size 81324184
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ for arch in "${ARCHS[@]}"; do
125125 echo " ========================================"
126126
127127 CONFIG_CMD=" cmake -S /src -B /src/build-${arch} \
128+ -DCMAKE_BUILD_TYPE=Release \
128129 -DF3D_MODULE_EXR=ON \
129130 -DF3D_MODULE_UI=OFF \
130131 -DF3D_MODULE_WEBP=ON \
@@ -140,12 +141,14 @@ for arch in "${ARCHS[@]}"; do
140141
141142 BUILD_CMD=" cmake --build /src/build-${arch} "
142143
144+ STRIP_CMD=" /ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-all /src/build-${arch} /lib/libf3d-java.so"
145+
143146 docker run --rm -it \
144147 -e CMAKE_BUILD_PARALLEL_LEVEL \
145148 -u " $( id -u) :$( id -g) " \
146149 -v " $CLONE_DIR " :/src \
147150 " ghcr.io/f3d-app/f3d-android-${arch} " \
148- sh -c " $CONFIG_CMD && $BUILD_CMD "
151+ sh -c " $CONFIG_CMD && $BUILD_CMD && $STRIP_CMD "
149152
150153 # Copy .so into the Android project
151154 SO_SRC=" $CLONE_DIR /build-${arch} /lib/libf3d-java.so"
You can’t perform that action at this time.
0 commit comments