Hey, I wanted to ask if someone can point me to an...
# general
a
Hey, I wanted to ask if someone can point me to an example project using the (experimental) cc backend to a nontrivial extent. I'm completely new to pants, and so far I haven't been able to suss out what build goal would produce eg an executable from cc_sources(). I'm trying to evaluate pants for something quite a bit more complex than that :)
f
Best as I've been able to tell, whoever was working on the cc backend stopped working on it before finishing. I didn't find a way to actually run the compiler, even for a trivial case. Did you find even that much? (I'm also very new to pants)
w
whoever was working on the cc backend stopped working on it before finishing
Correct. Mostly due to life, unfortunately. I'm using it for my own projects, but trying to get it to a state with reasonably sized PRs was a giant pain in the available time, with some of the existing cycle time constraints Pants had previously
gratitude thank you 1
https://github.com/sureshjoshi/pants/branches Check out the stuff that says
cc-
for where it was. Basic compilation and some toolchains were setup, but adding a full cc backend to mainline Pants takes a bit more time and thought, as there are so many ways people use C/C++
My modified one is private - which I kept working on, to hammer out some loose ends, specifically for embedded development, and I ended up re-factoring a lot of what I worked on - as it was a bit too tightly constrained