Ignore:
Timestamp:
08/16/2021 05:42:37 PM (3 years ago)
Author:
Ken Moffat <ken@…>
Branches:
11.0, 11.1, 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, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f376acb0
Parents:
08e1b767
Message:

Repleace create-mach-environment in FF91 and TB91.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r08e1b767 r8d70628  
    384384
    385385    <para>
    386       Now invoke the Python script to compile the package.
     386      Now invoke the Python <command>mach</command> script to compile the package.
    387387    </para>
    388388
    389389<screen><userinput>export CC=gcc CXX=g++ &amp;&amp;
     390export MACH_USE_SYSTEM_PYTHON=1            &amp;&amp;
    390391export MOZBUILD_STATE_PATH=${PWD}/mozbuild &amp;&amp;
    391 ./mach create-mach-environment             &amp;&amp;
    392392./mach configure                           &amp;&amp;
    393393./mach build</userinput></screen>
     
    408408    </para>
    409409
    410 <screen role="root"><userinput>./mach install</userinput></screen>
    411 
    412     <para>
    413       Set environment variables back to their values:
    414     </para>
    415 
    416 <screen><userinput>unset CC CXX MOZBUILD_STATE_PATH</userinput></screen>
     410<screen role="root"><userinput>MACH_USE_SYSTEM_PYTHON=1 ./mach install</userinput></screen>
     411
     412    <para>
     413      Empty the environment variables which were set above:
     414    </para>
     415
     416<screen><userinput>unset CC CXX MACH_USE_SYSTEM_PYTHON MOZBUILD_STATE_PATH</userinput></screen>
    417417
    418418  </sect2>
     
    457457
    458458    <para>
    459       <command>./mach create-mach-environment</command>: This uses the system
    460       python to create a virtual environment for <command>mach</command>.
     459      <command>MACH_USE_SYSTEM_PYTHON=1</command>: Use the system python
     460      to create a virtual environment for <command>mach</command> without
     461      downloading any python wheels.
    461462    </para>
    462463
     
    464465      <command>./mach configure</command>: This validates the supplied
    465466      dependencies and the <filename>mozconfig</filename>.
    466     </para>
    467 
    468     <para>
    469       <command>./mach build</command>: <application>Firefox</application>
    470       now uses this <application>python</application> script to run the
    471       build and install.
    472467    </para>
    473468
Note: See TracChangeset for help on using the changeset viewer.