oilshell / oil

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.78k stars 150 forks source link

[mycpp] add souffle binary build library #1982

Closed melvinw closed 1 month ago

melvinw commented 1 month ago

Splitting this out from #1981

andychu commented 1 month ago

Thanks, this generally looks good

Can you write a self-contained shell smoke test ? (outside Ninja)

Might just be 2-3 lines


We actually moved most things to the "wedge" system, which

  1. runs on contributor machines, and is automated with CI tasks dev-setup-{alpine,debian}
  2. gets baked into the Docker images (so we don't rebuild re2c/souffle every time)

Example here with uftrace:

https://github.com/oilshell/oil/blob/master/deps/source.medo/uftrace/WEDGE#L81

I should be able to make the wedge itself and the Docker image/layers

But the automated smoke test example will help

melvinw commented 1 month ago

Pushed a skeleton for the wedge with a smoke test

andychu commented 1 month ago

OK thanks, I will run this locally and add it to the cpp-* CI images (the ones that have mycpp)

Might take a few days, I'll let you know

melvinw commented 1 month ago

Sounds good. Let me know if you run into any issues!