Closed Bug 2000737 Opened 19 days ago Closed 15 days ago

Simplify freebl.gyp

Categories

(NSS :: Build, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jschanck, Assigned: jschanck)

Details

Attachments

(10 files, 2 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

freebl.gyp is too complex. We should refactor it into several gyp files that build smaller static libraries. Let's start by pulling out a GCM library.

Example usage:
CC=powerpc64le-linux-gnu-gcc CXX=powerpc64le-linux-gnu-g++ ./build.sh -t ppc64le --build-tools-cc=clang

Summary: factor a gcm library out of freebl.gyp → Simplify freebl.gyp

Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/7a67fcb48ad8
fix logic for disabling altivec in gyp builds. r=nss-reviewers,nkulatova

Status: ASSIGNED → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/projects/nss/rev/7b3624db83a1 remove unused MP_IS_LITTLE_ENDIAN defines. r=nss-reviewers,keeler
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/projects/nss/rev/07ddcc93331a simplify cross-compilation from build.sh. r=nss-reviewers,nkulatova https://hg.mozilla.org/projects/nss/rev/a8334be4667f separate ppc sha512 library from ppc gcm library. r=nss-reviewers,nkulatova https://hg.mozilla.org/projects/nss/rev/5c71d78a242b use hardware x64 GCM in static builds. r=nss-reviewers,nkulatova
Attachment #9527955 - Attachment is obsolete: true
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/projects/nss/rev/fb4c6085975d fix compilation failure on ia32. r=nss-reviewers,rrelyea
Attachment #9527313 - Attachment is obsolete: true

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: