没问题,直接在gitee上提交,把提交列表发一下,我这边组织人review

 

 

 

黄慧进

华为技术有限公司

Tel : 17602105508

Email : huanghuijin@huawei.com

 

This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

 

发件人: ZhangZhicheng [mailto:zhichenga.zhang@archermind.com]
发送时间: Wednesday, April 24, 2024 11:56 AM
收件人: Huanghuijin <huanghuijin@huawei.com>
抄送: liujiake (A) <liujiake1@huawei.com>; LuZhigang <zhigang.lu@archermind.com>; LuDao <dao.lu@archermind.com>
主题: third_party_llvm-project 代码入仓申请:适配龙芯架构clang编译

 

黄慧进,你好:

我是诚迈科技鸿蒙社区共建的接口人张志成,我们对llvm支持龙芯架构编译进行了适配,龙芯那边希望我们把适配内容合入到OpenHarmony主干中。

 

此次修改llvm主要目的是在OpenHarmony上支持LoongArch架构进行clang编译,主要修改:

涉及的目录有:clangcompiler-rtlibcxxlibcxxabilibunwindlldllvmopenmpllvm-build

 

另外,还需要同步修改以下几个仓:

1. build仓,增加编译识别arch:loongarch64target:loongarch64-linux-ohos

2. kernel_linux_patches仓,对kernel/linux/patches/linux-5.10/prebuilts/usr/include增加loongarch64架构相关头文件

3. third_party_musl仓,增加loongarch64架构相关代码

 

经对编译出来的llvm工具链进行测试:RK3568(ARM)RK3588(AArch64)LS2K1500(LoongArch64)三个平台编译出来的镜像版本均能在对应开发板正常运行。

因此申请代码合入社区。请帮忙看一下是否可以接纳;如果能合入,我们需要进行哪些操作,多谢。

 


------------------------------------------------------------------------------------------------------------------
The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet.
------------------------------------------------------------------------------------------------------------------