Changeset 4f8ca94


Ignore:
Timestamp:
01/27/2019 02:10:07 PM (6 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 8.4, 9.0, 9.1, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
f95e1c8d
Parents:
d396c65
Message:

Make Rustc and Git P3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21045 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rd396c65 r4f8ca94  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "26">                   <!-- Always 2 digits -->
     3<!ENTITY day          "27">                   <!-- Always 2 digits -->
    44<!ENTITY month        "01">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2019">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "January 26th, &year;">
     9<!ENTITY releasedate  "January 27th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/prog/git.xml

    rd396c65 r4f8ca94  
    108108    <bridgehead renderas="sect4">Recommended</bridgehead>
    109109    <para role="recommended">
    110       <xref linkend="curl"/> (needed to use <application>Git</application> over http,
    111       https, ftp or ftps), and
    112       <!-- <xref linkend="perl-error"/>, and -->
    113       <xref linkend="python2"/>
     110      <xref linkend="curl"/> (needed to use <application>Git</application> over
     111      http, https, ftp or ftps)
    114112    </para>
    115113
     
    119117      linkend="pcre"/>), in either case configured with
    120118      <literal>--enable-jit</literal>,
    121       <xref linkend="subversion"/> with Perl bindings (for <command>git svn</command>),
     119      <xref linkend="python2"/>,
     120      <xref linkend="subversion"/> with Perl bindings (for <command>git
     121         svn</command>),
    122122      <xref role="runtime" linkend="tk"/>
    123123      (gitk, a simple <application>Git</application>
     
    264264
    265265    <para>
    266       <option>--without-python</option>: Use this switch if
    267       <application>Python</application> is not installed.
     266      <option>--with-python=python3</option>: Use this switch to allow using
     267      <application>Python 3</application>. <application>Python</application> is
     268      only used for the <command>git p4</command> interface to Perforce
     269      repositories.
    268270    </para>
    269271
  • general/prog/rust.xml

    rd396c65 r4f8ca94  
    110110      <para>
    111111        Rustc defaults to building for ALL supported architectures, using a
    112         shipped copy of LLVM. In BLFS the build is only for the X86 architecture.
     112        shipped copy of LLVM. In BLFS the build is only for the X86
     113        architecture. Rustc still claims to require Python 2, but that is only
     114        really necessary when building some other architectures with the
     115        shipped LLVM.
    113116        If you intend to develop rust crates, this build may not be good
    114117        enough for your purposes.
     
    168171    <para role="required">
    169172      <xref linkend="curl"/>,
    170       <xref linkend="cmake"/>,
    171       <xref linkend="libssh2"/>, and
    172       <xref linkend="python2"/>
     173      <xref linkend="cmake"/>, and
     174      <xref linkend="libssh2"/>
    173175    </para>
    174176
     
    182184    <bridgehead renderas="sect4">Optional</bridgehead>
    183185    <para role="optional">
    184       <xref linkend="gdb"/> (used by the testsuite if it is present)
     186      <xref linkend="gdb"/> (used by the testsuite if it is present) and
     187      <xref linkend="python2"/> (if gdb is present, it must have been built
     188      with Python 2 support to prevent some tests failing. Furthermore, another
     189      test fails if Python 2 is not present)
    185190    </para>
    186191
     
    269274
    270275<screen><userinput>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" &amp;&amp;
    271 ./x.py build --exclude src/tools/miri</userinput></screen>
     276python3 ./x.py build --exclude src/tools/miri</userinput></screen>
    272277
    273278    <note>
     
    285290
    286291    <para>
    287       To run the tests issue
    288       <command>./x.py test --verbose --no-fail-fast | tee rustc-testlog</command>:
    289       as with the build, that will use all available CPUs.
     292      To run the tests issue <command>python3 ./x.py test --verbose
     293      --no-fail-fast | tee rustc-testlog</command>: as with the build, that
     294      will use all available CPUs.
    290295    </para>
    291296
     
    294299      <emphasis>will</emphasis> fail and the tests will be reported to end in
    295300      error, with a backtrace of the last failing test. On a good run, 3 tests
    296       which need Thumb (ARM) compilers will fail, all  in <filename
     301      which need Thumb (ARM) compilers will fail, all in <filename
    297302      class="directory">ui/issues</filename> for issues 37131, 49851 and 50993.
    298       Occasionally a fourth test, 'run-make-fulldeps/sysroot-crates-are-unstable'
     303      Occasionally a fourth test,
     304      <filename>run-make-fulldeps/sysroot-crates-are-unstable</filename>
    299305      fails. If gdb has been installed, in some circumstances three tests in
    300       debuginfo-both also fail. As with all large testsuites, other tests might
     306      <filename class="directory">debuginfo</filename> also fail. As with all
     307      large testsuites, other tests might
    301308      fail on some machines - if the number of failures is in the single digits,
    302309      check the log for 'FAILED' and review lines above that. Any mention of
     
    329336
    330337<screen><userinput>export LIBSSH2_SYS_USE_PKG_CONFIG=1 &amp;&amp;
    331 DESTDIR=${PWD}/install ./x.py install &amp;&amp;
     338DESTDIR=${PWD}/install python3 ./x.py install &amp;&amp;
    332339unset LIBSSH2_SYS_USE_PKG_CONFIG</userinput></screen>
    333340
     
    420427
    421428    <para>
    422       <command>DESTDIR=${PWD}/install ./x.py install</command>: This effects a
    423       DESTDIR-style install in the source tree,creating an <filename
     429      <command>DESTDIR=${PWD}/install python3 ./x.py install</command>: This
     430      effects a DESTDIR-style install in the source tree,creating an <filename
    424431      class="directory">install</filename> directory. Note that DESTDIR installs
    425432      need an absolute path, passing 'install' will not work.
  • introduction/welcome/changelog.xml

    rd396c65 r4f8ca94  
    4242    </listitem>
    4343-->
     44
     45    <listitem>
     46      <para>January 27th, 2019</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Git barely needs Python, and
     50          can use Python 3 in the rare cases it is needed.</para>
     51        </listitem>
     52        <listitem>
     53          <para>[pierre] - Reinstate building Rustc with Python 3.</para>
     54        </listitem>
     55      </itemizedlist>
     56    </listitem>
     57
    4458    <listitem>
    4559      <para>January 24th, 2019</para>
Note: See TracChangeset for help on using the changeset viewer.