Commit Graph

142 Commits

Author SHA1 Message Date
cloud.wang 0f1376f015 Fix: install Windows DLLs to bin directory
Currently, when building shared libraries on Windows with MSVC or MinGW,
`cmake --install` does not copy the generated `.dll` files because the
`install(TARGETS ...)` command does not specify a `RUNTIME DESTINATION`.
In CMake, `.dll` files are classified as RUNTIME type, and they need an
explicit `RUNTIME DESTINATION` to be installed.

This patch updates the install() rule to:

install(TARGETS MNN
	RUNTIME DESTINATION bin
	LIBRARY DESTINATION lib
	ARCHIVE DESTINATION lib
)

- On Windows:
	* `.dll` → bin/
	* `.lib` (import/static library) → lib/
- On Linux/macOS:
	* `.so` / `.dylib` → lib/ (unchanged)
	* No impact on current behavior

This follows CMake's cross-platform installation conventions, and makes
`cmake --install` produce a standard and complete installation layout.
2025-09-29 22:03:21 +08:00
xiaying 7fde7c7079 MNN:Sync: Sync Internal 3.2.4 2025-09-22 23:05:26 +08:00
ihb2032 53909274f5 Merge branch 'master' into feature/rvv-opt 2025-08-08 13:04:37 +08:00
zhaode.wzd 55a59a7ebc [MNN:Sync] Sync Internal reranker, gpt-oss. 2025-08-08 12:24:23 +08:00
ihb2032 4cf16d6761 Merge branch 'master' into feature/rvv-opt 2025-08-06 15:02:23 +08:00
ihb2032 8e93b5e846 Add MNN_USE_RVV CMake macro and update build documentation
Signed-off-by: lyd1992 <liuyudong@iscas.ac.cn>

Signed-off-by: ihb2032 <1355790728@qq.com>
2025-08-06 10:38:38 +08:00
yanzhang a52a884d6d fix: failures for other platforms
Signed-off-by: yanzhang <yanzhang.wang@arm.com>
Change-Id: Id7b3da7f3d0c4ef88f4c48bfa87471eaab764973
2025-08-05 15:30:22 +08:00
xiaying db0f559f9d MNN:Sync: Sync Internal 3.2.2 2025-07-23 14:33:57 +08:00
juju812 df765eba0c
fix iOS framework building issue in CMakeLists.txt
Use CMake generated Info.plist instead of pre-defined one, to fix app install error caused by missing CFBundleExecutable field.

Align version strings with MNN_VERSION
2025-06-19 18:22:21 +08:00
zhaode.wzd bd36a3f749 [MNN:Sync] Sync internal:
1. SmolVLM, FastVLM support.
    2. QNN backend init.
    3. Qwen3 MoE support.
    4. Speculative decodeing init.
    5. Some bugfix.
2025-05-23 15:24:18 +08:00
xiaying 0769b81b58 MNN:Sync: Sync Internal 3.1.3 2025-04-28 11:50:24 +08:00
xiaying e9c3296942 MNN:Sync: Sync Internal 3.1.2 2025-03-27 11:30:13 +08:00
xiaying c0247c6998 MNN:Sync: Sync Internal 3.1.1 2025-03-12 11:35:16 +08:00
xiaying 4497538e38 HIAI:Bugfix: Fix bug for ohos hiai backend compile, fix bug for resize and unary
op adapter
2025-03-05 10:16:05 +08:00
若遗 14a3433496 1. 优化编译静态库逻辑,支持编译mls为单独可执行文件。
2. 支持无 opencl设备安装
3. 支持过滤已下载模型。
2025-02-24 17:33:44 +08:00
zhaode.wzd d9a6ce3ac1 [MNN:Sync] Sync Internal 3.1.0. 2025-02-24 11:44:27 +08:00
xiaying 3b6ddc0341 MNN:Sync: Sync Internal 3.0.5 2025-02-12 11:14:19 +08:00
xiaying 766815282f MNN:Sync: Sync Internal 3.0.4 2025-01-22 16:28:36 +08:00
xiaying da4023c222 MNN:Sync: Sync Interal 3.0.2 2024-12-19 20:34:17 +08:00
hzx 5079f7eaf5 not runnable yet 2024-11-20 11:43:26 +08:00
xiaying 5b901d9d87 MNN:Sync: Sync Internal 3.0.0 2024-11-18 14:40:27 +08:00
hzx 656dc18695 resolve conflicts 2024-10-29 19:38:29 +08:00
hzx 93656a3a3a first commit for Sampler 2024-10-29 19:32:47 +08:00
xinhao.zheng a1cbdf11ce Refine CmakeList.txt 2024-10-24 08:23:38 +08:00
xinhao.zheng 644f22f028 Update mnn_kleidiai interface. 2024-10-22 14:30:07 +08:00
xiaying 860fceb3ab MNN:Sync: Sync Internal 2.9.6 2024-10-14 19:26:28 +08:00
xiaying 1effb0c9e5 MNN:Sync: Sync Internal 2.9.5 2024-09-12 12:57:57 +08:00
佰阅 4bdce52fc1 fix apple static build error 2024-08-31 00:12:57 +08:00
xiaying ae6253fb46 MNN:Sync: Sync Internal 2.9.4 2024-08-24 15:46:21 +08:00
xiaying b4e140e46f Android:Bugfix: Fix bug for cmake error for ndk 27 2024-08-08 20:03:53 +08:00
xiaying c6f25cafc6 MNN:Sync: Sync Internal 2.9.3 2024-07-22 20:51:06 +08:00
xiaying 358251d11f MNN:Sync: Sync Internal 2.9.2 2024-07-04 17:13:44 +08:00
xiaying 65ec0ea406 MNN:Sync: Fix bug for llama2/llama3 attention fuse, refract llm usage 2024-06-15 15:39:59 +08:00
jxt1234 53135084aa
Merge pull request #2857 from GeniusVentures/master
Remove libc++ setting for Linux clang builds
2024-05-16 17:07:15 +08:00
xiaying 7cad2ee83f MNN:Sync Sync Internal 2.9.0 2024-05-11 19:17:02 +08:00
Eduardo Menges Mattje a3ed4798d2 fix: Removed libc++ setting 2024-05-02 09:22:07 -03:00
zhaode.wzd 2972fe71dc [MNN:Sync] Sync Internal 2.8.3 2024-03-13 14:55:54 +08:00
zhaode.wzd 970b63f3b4 [MNN:Sync] Sync Internal 2.8.2 2024-02-29 16:21:40 +08:00
zhaode.wzd 3b978d9d16 [MNN:Sync] Sync Internal 2.8.1 2023-12-27 17:26:44 +08:00
zhaode.wzd 387775be2a [MNN:Sync] Sync Internal 2.8.0 2023-12-04 11:19:10 +08:00
xiaying 3ff49cbf4a [MNN:Sync] Sync Internal 2.7.2 2023-10-18 10:31:02 +08:00
QTom c0f031f1ca
Fixed apple build fatal 'ld: unknown option: --whole-archive' 2023-09-05 09:40:39 +08:00
xiaying ea4f13d3cf [MNN:Sync] Sync Internal 2.7.0 2023-09-04 10:42:11 +08:00
xiaying 1115d2f96f [MNN:Bugfix] Bugfix for sparse option not open for build ios package 2023-08-15 19:19:49 +08:00
Charlie Siebers c97015f038
macOS build in arm64 machine 2023-07-13 10:40:21 +08:00
xiaying 930a9345c1 [MNN:Sync] Sync Internal 2.5.3 2023-06-16 09:42:45 +08:00
Charlie Siebers 174f09b121
fix CoreML when MNN_SEP_BUILD=OFF 2023-06-08 13:16:32 +08:00
xiaying 39e2e7e45f [MNN:Sync] Sync Internal Gitlab 2.4.3 2023-04-18 18:54:46 +08:00
zhaode.wzd c683c5c6c2 [Sync] Sync Internal Gitlab 2.2.1 2022-11-08 17:05:14 +08:00
xiaying acb3bb6c62 [Sync] Sync Internal Gitlab 2.2.0 2022-10-30 08:44:24 +08:00