cronie-crond / cronie

Cronie cron daemon project
Other
481 stars 81 forks source link

Assessment of the difficulty in porting CPU architecture for cronie #155

Closed wangyuliu closed 1 year ago

wangyuliu commented 1 year ago

Hello everyone! I am working on implementing a tool to assess the complexity of CPU architecture porting. It primarily focuses on RISC-V architecture porting. In fact, the tool may have an average estimate of various architecture porting efforts.My focus is on the overall workload and difficulty of transplantation in the past and future,even if a project has already been ported.As part of my dataset, I have collected the cronie project. I would like to gather community opinions to support my assessment. I appreciate your help and response! Based on scanning tools, the porting complexity is determined to be simple, with a small amount of code related to the CPU architecture in the project. Is this assessment accurate? I look forward to your help and response.

t8m commented 1 year ago

There is basically nothing CPU architecture specific in cronie code. So there should be no changes needed for RISC-V. Even simple porting effort is IMO an overestimate.

Of course there might be bugs in the code that will show up only on this particular architecture, but it is extremely unlikely.

a-detiste commented 1 year ago

It builds as is on Debian.

https://buildd.debian.org/status/package.php?p=cronie

a-detiste commented 1 year ago

riscv64 port is mostly done by now

https://buildd.debian.org/stats/graph-quarter-big.png