Opened 11 months ago

Last modified 8 months ago

#32611 new enhancement

Use J= to parallelise coccinelle

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-cocci, 043-deferred
Cc: Actual Points:
Parent ID: Points: 0.5
Reviewer: Sponsor:


If we feed coccinelle all our files at the same time, and use the J=N variable, we can parallelise the (slow) parsing checks.

This isn't usually a big deal for the commit hook or makefile, because the commit hook only checks changed files, and the Makefile already runs "make check" in parallel.

Child Tickets

Change History (4)

comment:1 Changed 9 months ago by nickm

Keywords: 043-deferred added

All 0.4.3.x tickets without 043-must, 043-should, or 043-can are about to be deferred.

comment:2 Changed 9 months ago by nickm

Milestone: Tor: 0.4.3.x-finalTor: unspecified

comment:3 Changed 9 months ago by teor

Owner: teor deleted

It seems like coccinelle is fast enough, particularly when we're just parsing modified files in each commit.

comment:4 Changed 8 months ago by teor

Status: assignednew

Change tickets that are assigned to nobody to "new".

Note: See TracTickets for help on using tickets.