Closed Bug 1707030 Opened 3 years ago Closed 3 years ago

Return to having `NSDISTMODE=copy` impact `INSTALL`

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: nalexander, Assigned: nalexander)

References

Details

Attachments

(1 file)

This ticket tracks reverting part of Bug 1255485.

It should have been reverted in Bug 1641291, which allowed NSDISTMODE=copy to impact build manifests. This is useful when cross-compiling: this stops some symlinks within the object directory itself, say from dist/include to an object subdirectory.

My specific use case right now is making the clang preprocessor behave the same way across build host machines. clang is clever and unifies symlinked files (in many/most cases). Those unified files will have a C header guard optimization applied regardless of which file is included, and they will be "skipped" rather than "entered" and "exited". This leads to subtly different preprocessor behaviour on Windows build hosts, which manifests as extra blank lines in the preprocessed output.

This reverts part of Bug
1255485
.

It should have been reverted in Bug 1641291, which allowed
NSDISTMODE=copy to impact build manifests. This is useful when
cross-compiling: this stops some symlinks within the object directory
itself, say from dist/include to an object directory.

Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3aa883d4b622
Return to having NSDISTMODE=copy impact INSTALL. r=firefox-build-system-reviewers,mhentges
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: