Closed Bug 926103 Opened 11 years ago Closed 11 years ago

uname executed hundreds of times during no-op build

Categories

(NSS :: Build, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 602497

People

(Reporter: gps, Unassigned)

Details

I'm playing around with process accounting for the build system and I noticed that `uname` is executed hundreds of times during the course of a no-op build - 679 in one probed run.

We shouldn't do that.
This appears to be in NSS's build system. Search for "uname" in security/nss/coreconf/arch.mk and you'll find a bunch of := $(shell uname). The NSS build system should detect uname once in the main Makefile and then use the "export" statement so child make files "inherit" the shell-discovered variable.
Assignee: nobody → nobody
Component: Build Config → Build
Product: Core → NSS
Well, there are many things the nss build system should be doing that it isn't, and i'd gladly work around them in the mozilla build system.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.