Closed Bug 882779 Opened 11 years ago Closed 11 years ago

Do not attempt to run the LLVM PR8927 test when building with Clang on Windows

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (v1) (obsolete) — Splinter Review
      No description provided.
Attachment #762136 - Flags: review?(ted)
Comment on attachment 762136 [details] [diff] [review]
Patch (v1)

Review of attachment 762136 [details] [diff] [review]:
-----------------------------------------------------------------

::: configure.in
@@ +2886,4 @@
>  
>  MOZ_GCC_PR49911
>  MOZ_GCC_PR39608
> +if test -z "$MOZ_WINSDK_MAXVER"; then

This feels like a weird thing to test. Why not just test that OS_TARGET = "WINNT"?
Attachment #762136 - Flags: review?(ted)
Assignee: nobody → ehsan
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #1)
> Comment on attachment 762136 [details] [diff] [review]
> Patch (v1)
> 
> Review of attachment 762136 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: configure.in
> @@ +2886,4 @@
> >  
> >  MOZ_GCC_PR49911
> >  MOZ_GCC_PR39608
> > +if test -z "$MOZ_WINSDK_MAXVER"; then
> 
> This feels like a weird thing to test. Why not just test that OS_TARGET =
> "WINNT"?

Because I pretty much don't know what I'm doing :D
Attached patch Patch (v2)Splinter Review
Attachment #762136 - Attachment is obsolete: true
Attachment #765010 - Flags: review?(ted)
Comment on attachment 765010 [details] [diff] [review]
Patch (v2)

Review of attachment 765010 [details] [diff] [review]:
-----------------------------------------------------------------

I will r+ this even though the patch is wrong because I trust you to fix it.

::: configure.in
@@ +2886,4 @@
>  
>  MOZ_GCC_PR49911
>  MOZ_GCC_PR39608
> +if test "$OS_TARGET" = WINNT; then

Uh, you clearly want to test != here. (Are you testing these patches?)
Attachment #765010 - Flags: review?(ted) → review+
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4)
> Comment on attachment 765010 [details] [diff] [review]
> Patch (v2)
> 
> Review of attachment 765010 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> I will r+ this even though the patch is wrong because I trust you to fix it.
> 
> ::: configure.in
> @@ +2886,4 @@
> >  
> >  MOZ_GCC_PR49911
> >  MOZ_GCC_PR39608
> > +if test "$OS_TARGET" = WINNT; then
> 
> Uh, you clearly want to test != here. (Are you testing these patches?)

Sorry, I first typed in the change on my Windows box, and then I edited the patch on my Mac to attach it to the bug.  :-)  It did work with clang on Windows so my guess is that I messed up something while I was doing that...

https://hg.mozilla.org/integration/mozilla-inbound/rev/3cc992814a7e
https://hg.mozilla.org/mozilla-central/rev/3cc992814a7e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
I reverted this because the hack is no longer needed:

https://hg.mozilla.org/integration/mozilla-inbound/rev/78930b6efe65
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: