Comments (7)
Maybe we could build a handful of defconfigs with an
llvm
build environment, as well as the currentclang
ones?
An "all LLVM tools" option now exists by setting LLVM=1 on the "make" command line. So now we could do GCC+bfd, Clang+bfd, and Clang+lld+all-other-LLVM-tools.
from kernelci-core.
Also, probably need to verify that ld.lld
is packaged in the docker images.
from kernelci-core.
Also, the TCWG @ linaro is also testing with Clang+LLD on by default.
from kernelci-core.
Unless upstream arranges for clang builds to use lld by default we should probably keep coverage of builds with GNU LD since that's what people will be building if they just decide to go and build with clang. Testing with lld would definitely be good and I'm all in favour of adding it, I just worry about loosing coverage of the more standard case.
A reference to the discussion with Arnd would be helpful.
from kernelci-core.
A reference to the discussion with Arnd would be helpful.
Video call, unrecorded.
Unless upstream arranges for clang builds to use lld by default we should probably keep coverage of builds with GNU LD since that's what people will be building if they just decide to go and build with clang.
Sure if someone just does make CC=clang
then clang will likely use ld.bfd
(it needs a CMake variable -DCLANG_DEFAULT_LINKER=lld
.
But we'd like to build the kernel with more than just clang; we'd like to use all llvm utilities so we can catch regressions in them.
I agree that make CC=clang LD=ld.lld NM=llvm-nm ...
will get burdensome eventually, and have a few ideas to simplify that in Kbuild.
In the meantime, we'd really like to get testing coverage with lld.
from kernelci-core.
Maybe we could build a handful of defconfigs with an llvm
build environment, as well as the current clang
ones?
I think this could be defined as part of the Docker image used to do the kernel builds (Debian alternatives, or env variables set up before calling make...).
from kernelci-core.
Sounds like something we should be trying with linux-next on staging.
from kernelci-core.
Related Issues (20)
- [ChromeOS] find a way to exclude specific tests when using a globbing pattern HOT 1
- Identify infrastructure failures on ChromeBooks and store this information in test results HOT 1
- Shutdown ChromeBooks properly HOT 11
- Builroot-generated rootfs should add a symlink for x86_64
- Include device identifier for LAVA test nodes
- Implement "boot time measurement" test HOT 3
- Lava log parser exception
- Upgrade the version of ChromiumOS used in KernelCI to R124 HOT 1
- `kci` command for submitting hierarchy
- BUG: `KeyError` while setting failed LAVA job metadata
- Propagate error_code and error_msg to test cases HOT 7
- [BUG?] Duplicated node events HOT 6
- Add branch BRANCH from
- Create separate kconfig fragments for testing equipment/features support
- Allowing filtering on tree/branch pairs HOT 6
- Automatically reflash corrupt ChromeBooks
- bookworm-igt fails to build for armhf
- selftests: MM: liburing isn't found HOT 2
- BUG: `kci job submit` raises "Invalid token" error
- Need a way to set the job timeout per job HOT 2
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 kernelci-core.