Closed Bug 1504017 Opened 6 years ago Closed 5 years ago

Fix and re-enable webp's NEON on aarch64-windows

Categories

(Core :: Graphics: ImageLib, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: away, Assigned: away)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Disabled in bug 1504016 for build bustage
Priority: -- → P3
clang-cl can compile these files just fine. In fact, clang-cl builds _need_ to compile these files to avoid linker bustage, because code elsewhere detects `ifdef __aarch64__` and makes calls to the NEON functions.
Assignee: nobody → dmajor
Attachment #9031747 - Flags: review?(nfroyd)
Comment on attachment 9031747 [details] [diff] [review]
Bug 1504017: Enable building libwebp's NEON code in clang-cl builds.

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

Free wins when we change to clang-cl, yay.

::: media/libwebp/src/dsp/moz.build
@@ +35,5 @@
>      DEFINES['WEBP_HAVE_NEON'] = 1;
>      for f in SOURCES:
>        if f.endswith('neon.c'):
>          SOURCES[f].flags += CONFIG['NEON_FLAGS']
> +elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] != 'MSVC':

CC_TYPE's value everywhere else is lowercase, so I think this needs to be lowercase, too?
Attachment #9031747 - Flags: review?(nfroyd) → review+
Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9847f87d870b
Enable building libwebp's NEON code in clang-cl builds. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/9847f87d870b
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: