Changeset 532e5c9 for xsoft


Ignore:
Timestamp:
06/26/2022 04:50:09 PM (22 months ago)
Author:
Ken Moffat <ken@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
0fa93ad4
Parents:
99fede1f
Message:

SeaMonkey - use clang instead of gcc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    r99fede1f r532e5c9  
    99  <!ENTITY seamonkey-md5sum        "173512018674c9036cb54d35ded4a23f">
    1010  <!ENTITY seamonkey-size          "275 MB">
    11   <!ENTITY seamonkey-buildsize     "6.0 GB (159 MB installed)">
    12   <!ENTITY seamonkey-time          "17 SBU (with parallelism=4)">
     11  <!ENTITY seamonkey-buildsize     "4.5 GB (155 MB installed)">
     12  <!ENTITY seamonkey-time          "13 SBU (with parallelism=4)">
    1313]>
    1414
     
    250250      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    251251       href="../../xincludes/mozshm.xml"/>
    252       <!-- if this package switches to using ./mach, replace the
    253            folliowing by including mozmach.xml -->
    254252      <!--<para>
    255253        Second, either as the <systemitem class="username">root</systemitem>
     
    274272    </para>
    275273
    276 <screen><userinput>export CC=gcc CXX=g++ &amp;&amp;
     274<screen><userinput>export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib &amp;&amp;
    277275./mach configure      &amp;&amp;
    278276./mach build</userinput></screen>
     
    308306
    309307    <para>
    310       <command>export CC=gcc CXX=g++ ...</command>: Upstream now prefer
    311       <application>clang</application> so that they can use one compiler
    312       everywhere. On the X86 architectures <application>clang</application>
    313       takes a little longer than gcc to compile mozilla applications.
     308      <command>export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm
     309      RANLIB=llvm-ranlib</command>:
     310      With the introduction of <application>gcc-12</application>, many
     311      more warnings are generated when compiling mozilla applications
     312      and that results in a much slower, and slightly larger, build.
     313      Although upstream mozilla code defaults to using
     314      <application>llvm</application> unless overridden, the older configure
     315      code in <application>SeaMonkey</application> defaults to gcc and needs
     316      to have the programs all specified.
     317 <!-- ken: I checked without specifying and it used gcc, g++ so I added all as
     318 had been necessary in the past. Perhaps only CC and CXX are really needed, -->
    314319    </para>
    315320
Note: See TracChangeset for help on using the changeset viewer.