Author: bdubbs Date: 2011-12-09 18:21:48 -0700 (Fri, 09 Dec 2011) New Revision: 9087
Added: trunk/BOOK/general/prog/llvm.xml Modified: trunk/BOOK/general.ent trunk/BOOK/general/genlib/talloc.xml trunk/BOOK/general/graphlib/fontconfig.xml trunk/BOOK/general/prog/prog.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/pst/typesetting/texlive.xml trunk/BOOK/x/installing/mesalib.xml Log: Updated to talloc-2.0.7 Added llvm-3.0 Modified: trunk/BOOK/general/genlib/talloc.xml =================================================================== --- trunk/BOOK/general/genlib/talloc.xml 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/general/genlib/talloc.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -6,10 +6,10 @@ <!ENTITY talloc-download-http "http://samba.org/ftp/talloc/talloc-&talloc-version;.tar.gz"> <!ENTITY talloc-download-ftp "ftp://samba.org/pub/talloc/talloc-&talloc-version;.tar.gz"> - <!ENTITY talloc-md5sum "c6e736540145ca58cb3dcb42f91cf57b"> - <!ENTITY talloc-size "244 KB"> - <!ENTITY talloc-buildsize "2.2 MB"> - <!ENTITY talloc-time "0.1 SBU"> + <!ENTITY talloc-md5sum "dbfb3146f4cc47054e13b8a2988299f9"> + <!ENTITY talloc-size "368 KB"> + <!ENTITY talloc-buildsize "5.6 MB"> + <!ENTITY talloc-time "0.3 SBU"> ]> <sect1 id="talloc" xreflabel="talloc-&talloc-version;"> @@ -34,6 +34,8 @@ allocator used in <application>Samba</application> and <application>MesaLib</application>.</para> + &lfs70_checked; + <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> <listitem> Modified: trunk/BOOK/general/graphlib/fontconfig.xml =================================================================== --- trunk/BOOK/general/graphlib/fontconfig.xml 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/general/graphlib/fontconfig.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -32,7 +32,7 @@ <para>The <application>Fontconfig</application> package is a library for configuring and customizing font access.</para> - &lfs65_checked; + &lfs70_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> Copied: trunk/BOOK/general/prog/llvm.xml (from rev 9085, trunk/BOOK/general/prog/librep.xml) =================================================================== --- trunk/BOOK/general/prog/llvm.xml (rev 0) +++ trunk/BOOK/general/prog/llvm.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -0,0 +1,173 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + %general-entities; + + <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.tar.gz"> + <!ENTITY llvm-download-ftp " "> + <!ENTITY llvm-md5sum "a8e5f5f1c1adebae7b4a654c376a6005"> + <!ENTITY llvm-size "9.9 MB"> + <!ENTITY llvm-buildsize "265 MB"> + <!ENTITY llvm-time "13.2 SBU"> +]> + +<sect1 id="llvm" xreflabel="llvm-&llvm-version;"> + <?dbhtml filename="llvm.html" ?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>LLVM-&llvm-version;</title> + + <indexterm zone="llvm"> + <primary sortas="a-LLVM">LLVM</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to LLVM</title> + + <para>The <application>llvm</application> package contains a collection of + modular and reusable compiler and toolchain technologies. The LLVM Core + libraries provide a modern source- and target-independent optimizer, along + with code generation support for many popular CPUs (as well as some less + common ones!) These libraries are built around a well specified code + representation known as the LLVM intermediate representation ("LLVM + IR").</para> + + &lfs70_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&llvm-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&llvm-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &llvm-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &llvm-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &llvm-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &llvm-time;</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">LLVM Dependencies</bridgehead> + + <bridgehead renderas="sect4">Optional</bridgehead> + <para role="optional"> + <xref linkend="doxygen"/>, + <xref linkend="graphviz"/>, and + <xref linkend="libffi"/> + </para> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/llvm"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of LLVM</title> + + <para>Install <application>llvm</application> by running the following + commands:</para> + +<screen><userinput>touch tools/edis/EnhancedDisassembly.exports && +./configure --prefix=/opt/llvm && +find -name Makefile -exec \ + sed -ir -e '/^LIBRARYNAME/a SHARED_LIBRARY = 1' \ + -e 's#BUILD_ARCHIVE :*= 1#NO_&#' \ + -e '/^USEDLIBS/s# ([A-Za-z]*).a# -l\1#g' \ + -e 's#^USEDLIBS#LDFLAGS#' {} \; && +sed -i 's#BUILD_ARCHIVE = 1#NO_&#' Makefile.rules && +sed -i 's#x)/docs#x)/share/doc#' Makefile.config && +make</userinput></screen> + + <para>To test the results, issue: <command>make check</command>.</para> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>make install && +echo "/opt/llvm/lib" >> /etc/ld.so.conf && +ldconfig && +echo "pathappend /usr/share/man MANPATH" >> /etc/profile.d/extrapaths.sh && +echo "pathappend /opt/llvm/share/man MANPATH" >> /etc/profile.d/extrapaths.sh && +echo "pathappend /opt/llvm/bin" >> /etc/profile.d/extrapaths.sh && +ln -svf /opt/llvm/share/doc /usr/share/doc/llvm-&llvm-version;</userinput></screen> + + </sect2> + + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><parameter>--prefix=/opt/llvm</parameter>: This package has a large + number of libraries and executables. This option keeps them + separate.</para> + + <para><userinput>find -name Makefile -exec sed ...</userinput>: This + command ensures that dynamic libraries are built.</para> + + <para><userinput>sed ... Makefile.rules</userinput>: This + command disables building static libraries.</para> + + <para><userinput>echo "pathappend ..." >> + /etc/profile.d/extrapaths.sh</userinput>: Set up the user paths properly to + find the program executables and man pages.</para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg>numerous programs installed in /opt/llvm/bin</seg> + <seg>numerous libraries installed in /opt/llvm/lib</seg> + <seg>/opt/llvm</seg> + </seglistitem> + </segmentedlist> +<!-- + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="rep"> + <term><command>rep</command></term> + <listitem> + <para>is the Lisp interpreter.</para> + <indexterm zone="llvm rep"> + <primary sortas="b-rep">rep</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="llvm-lib"> + <term><filename class='libraryfile'>llvm.so</filename></term> + <listitem> + <para> contains the functions necessary for the Lisp interpreter.</para> + <indexterm zone="llvm llvm-lib"> + <primary sortas="c-llvm">llvm.so</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> +--> + </sect2> + +</sect1> + Modified: trunk/BOOK/general/prog/prog.xml =================================================================== --- trunk/BOOK/general/prog/prog.xml 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/general/prog/prog.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -37,6 +37,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jdk.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="junit.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="librep.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="llvm.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nasm.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="yasm.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pdl.xml"/> Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/general.ent 2011-12-10 01:21:48 UTC (rev 9087) @@ -3,13 +3,13 @@ $Date$ --> -<!ENTITY day "08"> <!-- Always 2 digits --> +<!ENTITY day "09"> <!-- Always 2 digits --> <!ENTITY month "12"> <!-- Always 2 digits --> <!ENTITY year "2011"> <!ENTITY copyrightdate "2001-&year;"> <!ENTITY copyholder "The BLFS Development Team"> <!ENTITY version "&year;-&month;-&day;"> -<!ENTITY releasedate "December 8th, &year;"> +<!ENTITY releasedate "December 9th, &year;"> <!-- <!ENTITY releasedate "November &day;st, &year;"> --> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> @@ -207,7 +207,7 @@ <!ENTITY libdaemon-version "0.14"> <!ENTITY ptlib-version "2.6.7"> <!ENTITY libatasmart-version "0.17"> -<!ENTITY talloc-version "2.0.1"> +<!ENTITY talloc-version "2.0.7"> <!ENTITY telepathy-glib-version "0.9.2"> <!ENTITY wv-version "1.2.9"> <!ENTITY clucene-version "0.9.21b"> @@ -331,6 +331,7 @@ <!ENTITY jdk-version "6 Update 18"> <!ENTITY junit-version "4.8.1"> <!ENTITY librep-version "0.17"> +<!ENTITY llvm-version "3.0"> <!ENTITY NASM-version "2.09.10"> <!ENTITY yasm-version "1.2.0"> <!ENTITY pdl-version "2.4.2"> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/introduction/welcome/changelog.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -42,6 +42,18 @@ --> <listitem> + <para>December 9th, 2011</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Updated to talloc-2.0.7.</para> + </listitem> + <listitem> + <para>[bdubbs] - Added llvm-3.0.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>December 8th, 2011</para> <itemizedlist> <listitem> Modified: trunk/BOOK/pst/typesetting/texlive.xml =================================================================== --- trunk/BOOK/pst/typesetting/texlive.xml 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/pst/typesetting/texlive.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -43,6 +43,8 @@ of macros, fonts and documentation; and support for typesetting in many different scripts from around the world.</para> + &lfs70_checked; + <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> <listitem> Modified: trunk/BOOK/x/installing/mesalib.xml =================================================================== --- trunk/BOOK/x/installing/mesalib.xml 2011-12-09 03:40:04 UTC (rev 9086) +++ trunk/BOOK/x/installing/mesalib.xml 2011-12-10 01:21:48 UTC (rev 9087) @@ -71,12 +71,14 @@ <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead> <bridgehead renderas="sect4">Required</bridgehead> - <para role="required"><xref linkend="xorg7-lib"/>, - <xref linkend="makedepend"/>, - <xref linkend="libdrm"/>, - <xref linkend="expat"/>, - <xref linkend="talloc"/>, and - <ulink url="http://llvm.org">LLVM</ulink></para> + <para role="required"> + <xref linkend="expat"/>, + <xref linkend="libdrm"/>, + <xref linkend="llvm"/>, + <xref linkend="makedepend"/>, + <xref linkend="talloc"/>, and + <xref linkend="xorg7-lib"/> + </para> <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"><xref linkend="lesstif"/> (required to build motif -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
