Page MenuHomeFreeBSD

Mk: Wrap FLAVORED 'make clean' in ports_env
Needs ReviewPublic

Authored by bdrewery on Jul 12 2021, 10:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 15, 4:13 AM
Unknown Object (File)
Nov 22 2024, 12:35 PM
Unknown Object (File)
Oct 4 2024, 7:05 PM
Unknown Object (File)
Oct 3 2024, 3:44 PM
Unknown Object (File)
Sep 27 2024, 5:30 PM
Unknown Object (File)
Sep 27 2024, 11:37 AM
Unknown Object (File)
Sep 24 2024, 4:39 AM
Unknown Object (File)
Sep 5 2024, 9:44 PM
Subscribers

Details

Reviewers
None
Group Reviewers
portmgr
Summary

This mostly removes the FLAVORS-times multiplier of make variable executions.
For example in security/openssh-portable (3 FLAVORS) it decreases the time
from 17.6s to 6.7s on my system. Much of the cost in that example is
Uses/compiler.mk.

Test Plan

Before:

~/git/ports/main/security/openssh-portable # /usr/bin/time make clean
===>  Cleaning for openssh-portable-8.6.p1,1
===>  Cleaning for openssh-portable-hpn-8.6.p1,1
===>  Cleaning for openssh-portable-gssapi-8.6.p1,1
       17.62 real         8.57 user         8.82 sys

After:

~/git/ports/main/security/openssh-portable # /usr/bin/time make clean
===>  Cleaning for openssh-portable-8.6.p1,1
===>  Cleaning for openssh-portable-hpn-8.6.p1,1
===>  Cleaning for openssh-portable-gssapi-8.6.p1,1
        6.53 real         4.12 user         2.45 sys

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 40452
Build 37341: arc lint + arc unit