Comments (8)
IIRC if CROSS_COMPILE
is specified, make
invokes whatever compiler pointed by this argument, rather than the plain GCC. So I suspect in your build process yadcc
is not invoked at all.
Besides, due to the way yadcc
works and how fast C code compiles, using yadcc
to speed up Linux kernel building process may not see a huge speed up. Last time I try this it gives me about 2x speed up, but that’s it - It was far from what I’d expect from a linear boost.
from yadcc.
icecream support Cross-Compiling, https://github.com/icecc/icecream
Do we have plans to support arm64 cross-compilation? Or provide related documents.
from yadcc.
ADBCC_LOG_LEVEL=0 ADBCC_COMPILE_ON_CLOUD_SIZE_THRESHOLD=0 /opt/buildtools/adbcc_client/bin/adbcc-cxx aarch64-none-linux-gnu-gcc helloworld.c -c
task_dispatcher.cc:327] Unrecognized compilation environment [] is requested by .
from yadcc.
I couldn’t see much difference between cross compilation and a native one regarding distributed compilation.
However, from the log you provided, the compile cluster seemed fail to recognize the compiler. This may have something to do with how compiler is found on compile server.
Because cross-compiler’s executable is usually prefixed with a target triplet, it’s unlikely to be recognized by what’s currently implemented.
Try adding your compiler executable name there and see if that makes any difference.
We may need to reimplement compiler-scanning by enumerating executables and check their suffix, instead of hardcoding executable names.
from yadcc.
fix it by compiler_registry.cc
static constexpr auto kCompilerExecutables = {"gcc",
"g++",
"aarch64-none-linux-gnu-gcc",
"aarch64-none-linux-gnu-g++",
"arm-none-linux-gnueabihf-gcc",
"arm-none-linux-gnueabihf-g++",
// I'm not sure if we support Clang, TBH.
"clang",
"clang++"};
from yadcc.
reopening as this needs improvement in the future.
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
- 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.