Open
Bug 823109
Opened 12 years ago
Updated 2 years ago
Only extract d3d dlls when necessary
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
REOPENED
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
(Whiteboard: [pymake])
Attachments
(2 files, 3 obsolete files)
1.21 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
907 bytes,
patch
|
Details | Diff | Splinter Review |
This should be better.
Attachment #693931 -
Flags: review?(gps)
Comment 1•12 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=b3f3899bc57f
Assignee | ||
Comment 2•12 years ago
|
||
Fix a little mistake that broke the build
Attachment #693931 -
Attachment is obsolete: true
Attachment #693931 -
Flags: review?(gps)
Attachment #693959 -
Flags: review?(gps)
Assignee | ||
Comment 3•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=06a01574767b
Assignee | ||
Updated•11 years ago
|
Attachment #693959 -
Flags: review?(gps) → review?(ted)
Comment 4•11 years ago
|
||
Comment on attachment 693959 [details] [diff] [review] Only extract d3d dlls when necessary v2 Review of attachment 693959 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/angle/Makefile.in @@ +133,5 @@ > endif > ifdef MOZ_D3DCOMPILER_CAB > +libs:: $(DIST)/bin/$(MOZ_D3DCOMPILER_DLL) > + > +$(DIST)/bin/$(MOZ_D3DCOMPILER_CAB): $(MOZ_D3DCOMPILER_DLL) You swapped the CAB and the DLL here, the DLL should be on the left and the CAB on the right.
Attachment #693959 -
Flags: review?(ted) → review-
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #693959 -
Attachment is obsolete: true
Attachment #699375 -
Flags: review?(ted)
Updated•11 years ago
|
Attachment #699375 -
Flags: review?(ted) → review+
Updated•11 years ago
|
Assignee: nobody → jmuizelaar
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d33af2a2a75
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d33af2a2a75
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 8•11 years ago
|
||
Not sure if this is related (or a fix), but after pulling inbound today I was not able anymore to build, got a bunch of errors: 5:02.91 No rule to make target 'C:/Program' needed by ['<command-line>', 'C:/Program'] 5:02.91 No rule to make target 'Files' needed by ['<command-line>', 'Files'] 5:02.91 No rule to make target '(x86)/Microsoft' needed by ['<command-line>', '(x86)/Microsoft'] 5:02.92 No rule to make target 'DirectX' needed by ['<command-line>', 'DirectX'] 5:02.92 No rule to make target 'SDK' needed by ['<command-line>', 'SDK'] 5:02.92 No rule to make target '(June' needed by ['<command-line>', '(June'] 5:02.92 No rule to make target '2010)/Redist/Jun2010_d3dx9_43_x86.cab' needed by ['<command-line>', '2010)/Redist/Jun2010_d3dx9_43_x86.cab'] 5:02.92 <../../dist/bin/D3DCompiler_43.dll>: Found error 5:02.92 <../../dist/bin/D3DCompiler_43.dll>: Found error 5:02.92 <../../dist/bin/D3DCompiler_43.dll>: Found error I tried reinstalling the directx SDK but no luck... I'm now trying to build with --disable-webgl
Comment 9•11 years ago
|
||
backed out due to comment 8 https://hg.mozilla.org/mozilla-central/rev/8ea37114e658 now going to merge this back to inbound.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #699375 -
Attachment is obsolete: true
Attachment #703968 -
Flags: review?(ted)
Comment 11•11 years ago
|
||
Comment on attachment 703968 [details] [diff] [review] Escape possible spaces Review of attachment 703968 [details] [diff] [review]: ----------------------------------------------------------------- This is horrible and I hate make but what can you do? ::: gfx/angle/Makefile.in @@ +127,5 @@ > > +# We use a trick from http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html > +# to escape possible spaces in MOZ_D3DX9_CAB and MOZ_D3DCOMPILER_CAB > +space := > +space += We write this elsewhere as: space := $(NULL) $(NULL) but I don't think it matters.
Attachment #703968 -
Flags: review?(ted) → review+
Comment 12•11 years ago
|
||
I'm sorry, still broken, backed out: https://hg.mozilla.org/integration/mozilla-inbound/rev/ed1d3c2794a8 14:17.61 No rule to make target 'C:/Program\' needed by ['<command-line>', 'C:/Program\\'] 14:17.61 No rule to make target 'Files\' needed by ['<command-line>', 'Files\\'] 14:17.61 No rule to make target '(x86)/Microsoft\' needed by ['<command-line>', '(x86)/Microsoft\\'] 14:17.61 No rule to make target 'DirectX\' needed by ['<command-line>', 'DirectX\\'] 14:17.61 No rule to make target 'SDK\' needed by ['<command-line>', 'SDK\\'] 14:17.61 No rule to make target '(June\' needed by ['<command-line>', '(June\\'] 14:17.62 No rule to make target '2010)/Redist/Jun2010_d3dx9_43_x86.cab' needed by ['<command-line>', '2010)/Redist/Jun2010_d3dx9_43_x86.cab'] 14:17.62 <../../dist/bin/D3DCompiler_43.dll>: Found error 14:17.62 <../../dist/bin/D3DCompiler_43.dll>: Found error 14:17.62 <../../dist/bin/D3DCompiler_43.dll>: Found error 14:17.62 <../../dist/bin/D3DCompiler_43.dll>: Found error 14:17.62 <../../dist/bin/D3DCompiler_43.dll>: Found error 14:17.62 <../../dist/bin/D3DCompiler_43.dll>: Found error 14:17.62 No rule to make target '2010)/Redist/Jun2010_D3DCompiler_43_x86.cab' needed by ['<command-line>', '2010)/Redist/Jun2010_D3DCompiler_43_x86.cab'] 14:17.63 <../../dist/bin/d3dx9_43.dll>: Found error
Comment 13•11 years ago
|
||
I also saw the brokenness but only with pymake, regular make seemed to work ok.
Assignee | ||
Comment 14•11 years ago
|
||
:(
Comment 15•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/65a26453f9a6
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 16•11 years ago
|
||
the backout has not been merged yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 17•11 years ago
|
||
This approach is doomed to failure. The .cab file is dated 2nd June 2010. The .dll file is dated 26th May 2010. So the rule will always execute.
Comment 18•11 years ago
|
||
(In reply to comment #17) > This approach is doomed to failure. OK, so I exaggerated slightly. I don't know whether it's a good idea to change the DLL's timestamp though.
Comment 19•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #13) > I also saw the brokenness but only with pymake, regular make seemed to work > ok. Is there a pymake variant behavior bug filed on this?
Comment 21•11 years ago
|
||
pymake is the "official" tool we use for windows builds. So, if pymake works just fine with the old make logic, shouldn't we backout any changes made here and resolve this wontfix?
Comment 22•11 years ago
|
||
Well probably for now. But pymake is supposed to work the same way as gnu make, so if it does not then i think a pymake bug should be filed by someone who can understand the issue more than I do. But yes this has already been backed out. Just not on mozilla-central yet because no one has done a recent merge from inbound.
Comment 23•11 years ago
|
||
Should have said this in first comment to avoid bugspam, but resolving WONTFIX is not correct here. What we need to do is fix this in a way that does not produce regressions.
Updated•11 years ago
|
Component: Build Config → Permission Manager
Whiteboard: [pymake]
Comment 25•11 years ago
|
||
Backout: https://hg.mozilla.org/mozilla-central/rev/ed1d3c2794a8
Target Milestone: mozilla21 → ---
Comment 26•11 years ago
|
||
Are we actually expecting this DLL to change without its name changing? If not, then can we not generate it without an explicit dependency?
Comment 27•11 years ago
|
||
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•