Open Yeekin-GYJ opened 3 months ago
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.
1160300918 Give it to me
在spu项目中执行bazel build //... -c dbg命令时报错信息如下,请问是否不支持mac的M系列芯片
在spu项目中执行bazel build //... -c dbg命令时报错信息如下,请问是否不支持mac的M系列芯片
支持,请确认你的 shell 和 bazel 等都是 arm64 的版本
谢谢老师,这个问题已解决,但是编译过程中提示cmake找不到flatc导致错误,但是我的flatbuffer是安装了并且配置了PATH变量的,对bazel不是很熟悉,是否需要修改一些配置文件之类的,请老师指导
暂时先别用 -c dbg
目前已写完accuracy的代码,simulator的单元测试已经跑通,但是emulator在跑的时候读不出example/python/conf下的配置文件,无法初始化emulator,请老师看下是否需要修改utils目录下的bazel文件,谢谢
@1160300918 hi,,这个的正确性是没问题的,,(写这个FIXME主要是这个依赖到了sml和spu以外的地方)
我理解你读不出conf的配置,可能是因为你的那个程序bazel写的有问题,,如果你依赖到了外部配置文件,且使用了相对路径,是需要在bazel中指定data字段,如:(当然具体data里的路径取决于你到底使用了哪里的conf哈)
BTW,如果你程序写好了,可以发起一个PR,这样代码问题更好讨论~
Best wishes
任务介绍
详细要求
能力要求
操作说明