随笔分类 -  openharmony

摘要:说明 下载 说明下载地址3.2 https://gitee.com/openharmony/docs/blob/master/zh-cn/release-notes/OpenHarmony-v3.2-release.md https://gitee.com/link?target=https%3A% 阅读全文
posted @ 2025-02-22 22:21 南渡北归 阅读(10) 评论(0) 推荐(0) 编辑
摘要:设置交叉编译器,增加一些flag,具体如下: cat build-linux.sh #!/bin/bash# Debug / Release / RelWithDebInfoif [[ -z ${BUILD_TYPE} ]];then #BUILD_TYPE=Release BUILD_TYPE=D 阅读全文
posted @ 2025-02-22 18:16 南渡北归 阅读(3) 评论(1) 推荐(0) 编辑
摘要:编译go 1197 export PATH=$PATH:~/radxa2/go/bin 1086 export GO_CCFLAGS="-Wno-sizeof-array-div" 1199 export GOOS=linux 1200 export GOARCH=arm64 1201 export 阅读全文
posted @ 2025-02-19 23:15 南渡北归 阅读(1) 评论(0) 推荐(0) 编辑
摘要:编译ptyhon (手动关闭了两个模块: py_cv_module__lzma='n/a' py_cv_module__uuid='n/a') ./configure --prefix=/vendor --host=aarch64-none-linux-gnu --build=x86_64-pc-l 阅读全文
posted @ 2025-02-19 23:05 南渡北归 阅读(4) 评论(0) 推荐(0) 编辑
摘要:./configure --prefix=$(pwd)/ffi_arm --build=x86_64-pc-linux-gnu --host=aarch64-none-linux-gnu --target=aarch64-none-linux-gnu CC=aarch64-linux-musl-gc 阅读全文
posted @ 2025-02-19 23:01 南渡北归 阅读(2) 评论(0) 推荐(0) 编辑
摘要:export CC=aarch64-linux-musl-gcc export CROSS_PREFIX=aarch64-none-linux-gnu- export CFLAGS="-Wall -g" ./configure \ --prefix=$(pwd)/zlib_arm 阅读全文
posted @ 2025-02-19 22:58 南渡北归 阅读(4) 评论(0) 推荐(0) 编辑
摘要:在openharmony@rk3588上部署deepseek相对于linux上困难一些。主要的问题在于: 1,openharmony上没有glibc,而rk平台的机器学习框架依赖它; 2,openharmony的npu驱动过老,导致运算错误; 3,openharmony上python没有或不全,导致 阅读全文
posted @ 2025-02-14 19:43 南渡北归 阅读(121) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示