Closed Bug 1355584 Opened 7 years ago Closed 7 years ago

Make NSIS an optional build dependency for MinGW

Categories

(Firefox Build System :: General, enhancement)

52 Branch
enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 1 open bug)

Details

(Whiteboard: [tor])

Attachments

(1 file)

For phase 1 of Bug 1330608, we want to build Firefox with MinGW but we aren't worrying about packaging it. Make NSIS an optional build dependency.
See Also: → 1355586
Attachment #8857133 - Flags: review?(mh+mozilla)
Comment on attachment 8857133 [details]
Bug 1355584 Make NSIS an optional requirement for MINGW builds

https://reviewboard.mozilla.org/r/129068/#review131726

::: moz.configure:306
(Diff revision 1)
> -@depends(target)
> +@depends(target, c_compiler)
>  @imports('os')
> -def makensis_progs(target):
> +def makensis_progs(target, compiler):
>      if target.kernel != 'WINNT':
>          return
> +    elif target.kernel == 'WINNT' and compiler.type not in ['msvc', 'clang-cl']:

That's rather arbitrary. In fact, that will skip finding nsis on mingw builds done on Windows, which is a sad consequence. You should just add allow_missing=True to the corresponding check_prog.
Attachment #8857133 - Flags: review?(mh+mozilla)
Comment on attachment 8857133 [details]
Bug 1355584 Make NSIS an optional requirement for MINGW builds

https://reviewboard.mozilla.org/r/129068/#review133254

::: commit-message-df8eb:1
(Diff revision 2)
> +Bug 1355584 Make NSIS an optional requirement for MinGW builds

s/for MINGW builds//
Attachment #8857133 - Flags: review?(mh+mozilla) → review+
Keywords: checkin-needed
Autoland can't push this until all pending issues in MozReview are marked as resolved.
Keywords: checkin-needed
Sorry, I keep forgetting to do that...
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/213fdb422bb9
Make NSIS an optional requirement for MINGW builds r=glandium
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/213fdb422bb9
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: