Comments (7)
这儿确实有问题。这儿本意是从fakeroot.c生成一个so,然后再把这个so打包到客户端里面去。
但是这个规则不太写的出来,所以直接把编译完的so塞代码库了然后写了个resource_library。
好像没啥特别好的解决方案,可能可以把x86-64/aarch64都塞代码库然后在BUILD里面按照环境区分一下来应付,但是二进制放代码库始终不是很自然。
Workaround的话可以先把这个so编译一下,然后从build64_release/下面把编译好的覆盖掉这儿的同名so。
from yadcc.
@chen3feng 请问 BLADE 是否考虑支持这种用法呢?
from yadcc.
优化的话我再看看,不知道gen_rule能不能写出来合适的规则。
确实,编译过程中生成so是最好的。但是gen_rule不一定能和resource_library搞在一起,我确认下。
from yadcc.
试着在#50里面搞了个workaround
from yadcc.
@chencang1980 hi,介意试一下#38 对应的分支吗,我这儿没有aarch64的环境,不太好测试
from yadcc.
@chencang1980 hi,介意试一下#38 对应的分支吗,我这儿没有aarch64的环境,不太好测试
拉了分支验证了下,先清理了,从头构建成功了,也确认了资源正常生成到了头文件, 运行也正常。
不过我先前为了构建结果与普通构建一致, 补丁了 flare 代码,跳过 fakeroot 逻辑, 明天我还原下相关逻辑再验证下
from yadcc.
@chencang1980 hi,介意试一下#38 对应的分支吗,我这儿没有aarch64的环境,不太好测试
拉了分支验证了下,先清理了,从头构建成功了,也确认了资源正常生成到了头文件, 运行也正常。
不过我先前为了构建结果与普通构建一致, 补丁了 flare 代码,跳过 fakeroot 逻辑, 明天我还原下相关逻辑再验证下
今天还原验证了,正常, fakeroot 逻辑也生效了, 挺好的!
from yadcc.
Related Issues (20)
- 请问yadcc 是否支持c++ modules HOT 1
- 文件预处理是由客户端自己完成吗 HOT 9
- 技术原理请教 HOT 2
- Cannot contact delegate daemon. Daemon died? HOT 9
- 能否给daemon加个功能,当scheduler重启后自动重链 HOT 2
- 关于调度机制的问题 HOT 1
- yadcc编译时,提示ld链接无法找到pthread、m、c、dl等动态库 HOT 2
- [2023-01-29 20:02:30.532771] [INFO ] [yadcc/client/cxx/yadcc-cxx.cc:207] Failed on the cloud with [-126]. Failing back to local machine. HOT 2
- 无法缓存C++编译之后的文件 HOT 2
- 安装失败 HOT 2
- can not support CROSS_COMPILE HOT 8
- yadcc v1.x 版本编译报错 HOT 1
- failling back to local machine 126 HOT 3
- yadcc能不能用于安卓系统AOSP构建加速 HOT 3
- 经常编译报错. Child process exited unexpectedly with status HOT 1
- 当我运行./yadcc-daemon时,报Check failed: parts.size() >= 3 (2 vs. 3) Unexpected cgroup setting错误 HOT 2
- build latest llvm failed HOT 1
- 运行daemon错误 HOT 1
- --with-nghttp2 was specified but could not find libnghttp2 pkg-config file.
- 这个是否支持clang? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yadcc.