hbwangjinwu / mace_cross_compile_guide Goto Github PK
View Code? Open in Web Editor NEW小米mace 使用bazel 工具交叉编译方法
小米mace 使用bazel 工具交叉编译方法
怎么做才可以编译gpu库?
非常感谢你提供的基于bazel进行交叉编译的示例工程,为大家踩了这么多的坑,有几个问题想请教一下:
new_local_repository(
name ='toolchain_target_armv7',
path ='/opt/arm-hisiv400-linux', <==== local toochain abs path
build_file = 'arm_compiler/cross_toolchain_target_armv7.BUILD'
)
arm_compiler/cross_toolchain_target_armv7.BUILD,里面的gcc,ld等编译需要的都是基于上面这个path变量的么?拼接在一起指示实际gcc的绝对位置?这个本地仓库,你这边编译完后会在WORKSPACE目录的bazel-mace软连接的external下生成toolchain_target_armv7吗?
项目内部可以通过@toolchain_target_armv7去引用.BUILD对于toolchain的所有,对么?
无论是本地的仓库还是http仓库引用方法都是一致的么?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.