1 Star 0 Fork 342

李元杰 / metadef_c17

forked from Ascend / metadef 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 652 Bytes
一键复制 编辑 原始数据 按行查看 历史
黄桂军 提交于 2022-11-01 17:09 . !2645 add clion config in README

metadef

介绍

昇腾元数据定义

许可证

Apache License 2.0

clion配置

step1: download opensdk: http://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN_daily_y2b/20221020_newest/ai_cann_x86.tar.gz

step2: unzip opendsdk cp ai_cann_x86.tar.gz /home/pkg tar -xvf ai_cann_x86.tar.gz cd ai_cann_x86 tar -xvf CANN-opensdk*.tar.gz

step3: Clion cmake config -DENABLE_OPEN_SRC=True -DBUILD_WITHOUT_AIR=True -DENABLE_GITEE=True -DENABLE_METADEF_UT=True -DENABLE_METADEF_ST=True -DASCEND_OPENSDK_DIR=/home/pkg/ai_cann_x86/opensdk/opensdk -DCMAKE_INSTALL_PREFIX=/home/pkg/ai_cann_x86

You can replace /home/pkg with other path

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/li-yuanjie-da/metadef_c17.git
git@gitee.com:li-yuanjie-da/metadef_c17.git
li-yuanjie-da
metadef_c17
metadef_c17
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891