But I want to build firefox using intel compiler except webrtc, webrtc
using icl is not stable, so I want to use cl to build webrtc.


On Tue, Apr 29, 2014 at 11:05 PM, Joshua Cranmer 🐧 <pidgeo...@gmail.com>wrote:

> On 4/29/2014 8:34 AM, xunxun wrote:
>
>> Hi,
>>
>>     I noticed that WebRTC's mozmake.py (
>> media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py ) has been
>> removed since 29.0
>>
>>     In the past, I usually modify the mozmake.py like this for something
>> to
>> do:
>> ------------------------------------------------------------
>> ---------------------------------------------
>> diff -r 5bc2235cc3e7 -r 342c28d308fa
>> media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py
>> --- a/media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py    Tue
>> Mar 04 18:42:18 2014 +0800
>> +++ b/media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py    Sun
>> Mar 16 17:24:31 2014 +0800
>> @@ -44,6 +44,11 @@
>>   COMMON_FOOTER = """
>>
>>   include %(common_mk_path)s
>> +
>> +CC = cl
>> +CXX = cl
>> +CFLAGS += -O2 -arch:SSE2 -fp:fast -Zp16
>> +CXXFLAGS += -O2 -arch:SSE2 -fp:fast -Zp16
>>   """
>>
>>   COMMON_MK = """# This file was generated by mozmake.py. Do not edit it
>> directly.
>> ------------------------------------------------------------
>> ---------------------------------------------
>>
>>   Then now how to change the similar value?
>>
>
> I'm guessing the better way to do what you want to do is to set CC, CXX,
> et al inside your .mozconfig.
>
> --
> Joshua Cranmer
> Thunderbird and DXR developer
> Source code archæologist
>
>
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>



-- 
Best Regards,
xunxun
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to