Changeset 62f58c7a


Ignore:
Timestamp:
01/25/2019 03:35:52 AM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
bdubbs/svn
Children:
9324b4e
Parents:
25997c4a
Message:

Add a custom branch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/bdubbs@21035 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r25997c4a r62f58c7a  
    8080        installation before updating. You may wish to do the same to save space.
    8181      </para>
     82
     83      <para>
     84        One alternative when working with multiple versions or just updating
     85        to a new version is to place the files in the
     86        <filename class="directory">/opt</filename> directory.  The instructions
     87        below provide optional commands to support better control of
     88        new package versions or reinstallation of the current version.
     89      </para>
    8290    </note>
    8391
     
    97105        Rustc defaults to building for ALL supported architectures, using a
    98106        shipped copy of LLVM. In BLFS the build is only for the X86 architecture.
    99         If you
    100         intend to develop rust crates, this build may not be good enough for your
    101         purposes.
     107        If you intend to develop rust crates, this build may not be good
     108        enough for your purposes.
    102109      </para>
    103110      <para>
     
    181188
    182189    <para>
    183       First create a suitable <filename>config.toml</filename> file which will
     190      If you are going to install into the
     191      <filename class="directory">/opt</filename> directory, remove
     192      conflicting entries. As the <systemitem class="username">root</systemitem>
     193      user:
     194    </para>
     195
     196<screen><userinput>rm -rf /opt/rustc /opt/rustc-&rust-version;</userinput></screen>
     197
     198    <para>
     199      Create a suitable <filename>config.toml</filename> file which will
    184200      configure the build. Unlike with previous releases, where even quite old
    185201      system versions of <application>LLVM</application>worked well, this
     
    202218
    203219[build]
    204 # omiti HTML docs to save time and space (comment this to build them)
     220# omit HTML docs to save time and space (comment this to build them)
    205221docs = false
    206222
     
    296312
    297313    <para>
     314      If installing in the <filename class="directory">/opt</filename>
     315      directory, adjust the locations in the DESTDIR directory:
     316    </para>
     317
     318<screen><command>mkdir -p         install/opt/rustc-&rust-version; &amp;&amp;
     319mv install/usr/* install/opt/rustc-&rust-version; &amp;&amp;
     320rmdir install/usr</command></screen>
     321
     322    <para>
    298323      Now, as the <systemitem class="username">root</systemitem> user
    299324      install the files from the DESTDIR:
     
    302327<screen role="root"><userinput>chown -R root:root install &amp;&amp;
    303328cp -a install/* /</userinput></screen>
     329
     330    <para>
     331      Finally, if the application is installed in the <filename
     332      class="directory">/opt</filename> directory, create a symbolic link to
     333      access the current version:
     334    </para>
     335
     336<screen role="root"><userinput>ln -sfnv rustc-&rust-version; /opt/rustc</userinput></screen>
     337
     338    <note>
     339      <para>
     340        If multiple versions of <application>Rust</application> are installed
     341        in <filename class="directory">/opt</filename>, changing to another
     342        version only requires changing the <filename> /opt/rustc</filename>
     343        symbolic link.
     344      </para>
     345    </note>
     346
    304347
    305348  </sect2>
     
    389432
    390433  </sect2>
     434
     435  <sect2 role="configuration">
     436    <title>Configuring Rust</title>
     437
     438    <sect3 id="rustc-config">
     439      <title>Configuration Information</title>
     440
     441      <para>
     442        If you installed <application>rustc</application> in
     443        <filename class="directory">/opt</filename>, you need to update the
     444        following configuration files so that <application>ruxtc</application> is
     445        correctly found by other packages and system processes.
     446      </para>
     447
     448      <para>
     449        As the <systemitem class="username">root</systemitem> user, update
     450        the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
     451        run-time cache file:
     452      </para>
     453
     454<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
     455<literal># Begin rustc addition
     456
     457/opt/rustc/lib
     458
     459# End rustc addition</literal>
     460EOF
     461
     462ldconfig</userinput></screen>
     463
     464      <indexterm zone="rustc rustc-config">
     465        <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
     466      </indexterm>
     467
     468      <para>
     469        As the <systemitem class="username">root</systemitem> user, create
     470        the <filename>/etc/profile.d/rustc.sh</filename> file:
     471      </para>
     472
     473<screen role="root"><userinput>cat &gt; /etc/profile.d/rustc.sh &lt;&lt; "EOF"
     474<literal># Begin /etc/profile.d/rustc.sh
     475
     476pathprepend /opt/rustc/bin           PATH
     477
     478# End /etc/profile.d/rustc.sh</literal>
     479EOF</userinput></screen>
     480
     481      <para>Immediately after installation, update the current PATH
     482      for your current shell as a normal user:</para>
     483
     484<screen><userinput>source /etc/profile.d/rustc.sh</userinput></screen>
     485
     486    </sect3>
     487  </sect2>
     488
    391489
    392490  <sect2 role="content">
  • introduction/welcome/changelog.xml

    r25997c4a r62f58c7a  
    4545      <para>January 24th, 2019</para>
    4646      <itemizedlist>
     47        <listitem>
     48          <para>[bdubbs] - Update to btrfs-progs-v4.20.1. Fixes
     49          <ulink url="&blfs-ticket-root;11582">#11582</ulink>.</para>
     50        </listitem>
     51        <listitem>
     52          <para>[bdubbs] - Update to x265_3.0. Fixes
     53          <ulink url="&blfs-ticket-root;11584">#11584</ulink>.</para>
     54        </listitem>
    4755        <listitem>
    4856          <para>[ken] - Update to rustc-1.32.0, needed for the forthcoming
  • multimedia/libdriv/x265.xml

    r25997c4a r62f58c7a  
    77  <!ENTITY x265-download-http "https://bitbucket.org/multicoreware/x265/downloads/x265_&x265-version;.tar.gz">
    88  <!ENTITY x265-download-ftp  " ">
    9   <!ENTITY x265-md5sum        "693ee4ce7929a59735f441107310f0bb">
     9  <!ENTITY x265-md5sum        "8ff1780246bb7ac8506239f6129c04ec">
    1010  <!ENTITY x265-size          "1.3 MB">
    1111  <!ENTITY x265-buildsize     "35 MB">
  • packages.ent

    r25997c4a r62f58c7a  
    4848
    4949<!-- Chapter 5 -->
    50 <!ENTITY btrfs-progs-version          "4.20">
     50<!ENTITY btrfs-progs-version          "4.20.1">
    5151<!ENTITY dosfstools-version           "4.1">
    5252<!ENTITY fuse3-version                "3.4.1">
     
    948948<!ENTITY v4l-utils-version            "1.16.3">
    949949<!ENTITY x264-version                 "20180819-2245">
    950 <!ENTITY x265-version                 "2.9">
     950<!ENTITY x265-version                 "3.0">
    951951<!ENTITY xine-lib-version             "1.2.9">
    952952<!ENTITY xvid-version                 "1.3.5">
  • postlfs/filesystems/btrfs-progs.xml

    r25997c4a r62f58c7a  
    77  <!ENTITY btrfs-progs-download-http "&kernel-dl;/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v&btrfs-progs-version;.tar.xz">
    88  <!ENTITY btrfs-progs-download-ftp  " ">
    9   <!ENTITY btrfs-progs-md5sum        "1aaf4f4a306358a0d8c9afd238933589">
     9  <!ENTITY btrfs-progs-md5sum        "9aa0a16236c7087ded08425c7256044f">
    1010  <!ENTITY btrfs-progs-size          "1.9 MB">
    11   <!ENTITY btrfs-progs-buildsize     "55 MB (add 23 MB for tests)">
    12   <!ENTITY btrfs-progs-time          "0.2 SBU (add 7.2 SBU for tests)">
     11  <!ENTITY btrfs-progs-buildsize     "55 MB (add 105 MB for tests)">
     12  <!ENTITY btrfs-progs-time          "0.2 SBU (add 10 SBU for tests)">
    1313]>
    1414
Note: See TracChangeset for help on using the changeset viewer.