Expose parallel_build_count as a well-known variable to scriptlets

Bug #1666271 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Wishlist
Olivier Tilloy

Bug Description

Use case: I had a custom plugin to build the 0AD snap, and I replaced it by scriptlets, which makes the packaging easier to maintain. Changes at https://bazaar.launchpad.net/~osomon/+junk/0ad-snap/revision/10.

One thing I was not able to achieve is invoke `make` from a scriptlet with the -jN flag. In custom plugins there is the 'parallel_build_count' property, it would be useful to expose it as a variable to scriptlets.

Olivier Tilloy (osomon)
Changed in snapcraft:
status: New → In Progress
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
importance: Undecided → Wishlist
milestone: none → 2.28
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.