sfba.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for the San Francisco Bay Area. Come on in and join us!

Server stats:

2.4K
active users

#llvm

3 posts3 participants1 post today

One of the reasons I'm still using GitHub for a lot of stuff is the free CI, but I hadn't really realised how little that actually costs. For #CHERIoT #LLVM, we're using Cirrus-CI with a 'bring your own cloud subscription' thing. We set up ccache backed by a cloud storage thing, so incremental builds are fast. The bill for last month? £0.31.

We'll probably pay more as we hire more developers, but I doubt it will cost more than £10/month even with an active team and external contributors. Each CI run costs almost a rounding-error amount, and that's doing a clean (+ ccache) build of LLVM and running the test suite. We're using Google's Arm instances, which have amazingly good price:performance (much better than the x86 ones) for all CI, and just building the x86-64 releases on x86-64 hardware (we do x86-64 and AArch64 builds to pull into our dev container).

For personal stuff, I doubt the CI that I use costs more than £0.10/month at this kind of price. There's a real market for a cloud provider that focuses on scaling down more than on scaling up and made it easy to deploy this kind of thing (we spent far more money on the developer time to figure out the nightmare GCE web interface than we've spent on the compute. It's almost as bad as Azure and seems to be designed by the same set of creatures who have never actually met a human).

Is there a way to get #Apple #Clang to warn on aggregate initialization w/ designated initializers in the wrong order? In C++ it's supposed to be illegal to aggregate-initialize a struct in any other order than declaration order, but Clang never warns on that so I don't catch it until CI complains or I try to compile the code on a Linux machine

Continued thread

I'm wondering why FreeBSD uses #LLVM. Not as in where and why specifically they use clang/etc. but this in particular: what's the point in using that if FreeBSD core won't even agree with each other on having a X11-based GNOME or XFCE installer that can be adopted with amd64? Not everyone wants a headless FreeBSD server, or just a remote non-GUI file server guys!

"On FreeBSD, LLVM (specifically Clang/LLVM) serves as the primary compiler toolchain, including the compiler (Clang), linker (LLD), and debugger (LLDB), used for building the FreeBSD operating system, kernel, and various software packages from the FreeBSD Ports Collection"

Healthy Competition With #GCC15 vs. #LLVM #Clang20 Performance On #AMD #Zen5
With some codebases/workloads there can be strong advantages at time for one compiler over the other, but at a high level the #GCC and Clang #compiler performance is extremely tight with recent versions and on modern #x86_64 hardware.
phoronix.com/review/clang20-gc

www.phoronix.comHealthy Competition With GCC 15 vs. LLVM Clang 20 Performance On AMD Zen 5

An Elf Odissey! #dreamos64 I recently added support for basic ELFs in my hobby #kernel but, it required me to dig into some very obscure issues caused by some changes in llvm and their linker.

Basically the introduction of large sections in #llvm broke the grub image, and caused more problems to my kernel.

I posted all the details of my debug process in my free #kofi post here: ko-fi.com/post/Finally-Dreamos