Author: bdubbs Date: Sun Feb 8 10:24:33 2015 New Revision: 15473 Log: Update llvm page to verion in trunk. Primarily text and package format changes.
Modified: branches/systemd/general/prog/llvm.xml Modified: branches/systemd/general/prog/llvm.xml ============================================================================== --- branches/systemd/general/prog/llvm.xml Sun Feb 8 07:34:57 2015 (r15472) +++ branches/systemd/general/prog/llvm.xml Sun Feb 8 10:24:33 2015 (r15473) @@ -4,20 +4,20 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.gz"> + <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz"> <!ENTITY llvm-download-ftp " "> - <!ENTITY llvm-md5sum "d6987305a1a0e58e128c1374cd3b8fef"> + <!ENTITY llvm-md5sum "2d3d8004f38852aa679e5945b8ce0b14"> <!ENTITY llvm-size "12 MB"> - <!ENTITY llvm-buildsize "707 MB (1.3 GB with Clang) (11.4 GB with Clang and documentation)"> - <!ENTITY llvm-time "32 SBU (57.1 SBU with Clang and tests) (96 SBU with Clang and all documentation)"> + <!ENTITY llvm-buildsize "618 MB (1.2 GB with Clang) and 78 MB for the tests"> + <!ENTITY llvm-time "6.5 SBU - using parallelism=4 (12 SBU with Clang - using parallelism=4) and 0.3 for tests"> <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz"> - <!ENTITY clang-md5sum "27718dd13c7df83e15f997116bbb4aef"> + <!ENTITY clang-md5sum "93f9532f8f7e6f1d8e5c1116907051cb"> <!ENTITY clang-size "7.9 MB"> <!ENTITY rt-version "&llvm-version;"> <!ENTITY compiler-rt-download-http "http://llvm.org/releases/&rt-version;/compiler-rt-&rt-version;.src.tar.xz"> - <!ENTITY compiler-rt-md5sum "02624d2a9144278c3808c00dbbab56c8"> + <!ENTITY compiler-rt-md5sum "d626cfb8a9712cb92b820798ab5bc1f8"> <!ENTITY compiler-rt-size "1.1 MB"> ]> @@ -39,19 +39,30 @@ <title>Introduction to LLVM</title> <para> - The <application>LLVM</application> package contains a collection of modular and - reusable compiler and toolchain technologies. The Low Level Virtual Machine - (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"). + The <application>LLVM</application> package contains a collection of + modular and reusable compiler and toolchain technologies. The Low Level + Virtual Machine (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> <para> - The optional <application>Clang</application> and <application>Compiler RT</application> - packages provide a new C, C++, Objective C and Objective C++ front-ends and runtime - libraries for the <application>LLVM</application>. - </para> + The optional <application>Clang</application> and <application>Compiler + RT</application> packages provide a new C, C++, Objective C and Objective + C++ front-ends and runtime libraries for the + <application>LLVM</application>. + </para> + + <note> + <para> + This package hits a bug in GCC-4.9.0 or an unpatched GCC-4.9.1. + To build this package, GCC needs to be updated if you have one of + these versions. See <xref linkend="gcc"/> + for <application>gcc</application> installation instructions. + </para> + </note> &lfs76_checked; @@ -139,14 +150,15 @@ <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"> + <xref linkend="cmake"/>, <xref linkend="doxygen"/>, <xref linkend="graphviz"/>, <xref linkend="libxml2"/>, - <xref linkend="texlive"/>, + <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>), + <xref linkend="valgrind"/>, <xref linkend="zip"/>, - <ulink url="http://www.ocaml.org/">OCaml</ulink>, - <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink> and - <xref linkend="valgrind"/> + <ulink url="http://www.ocaml.org/">OCaml</ulink>, and + <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink> </para> <para condition="html" role="usernotes">User Notes: @@ -162,8 +174,8 @@ the source tree by running the following commands: </para> -<screen><userinput>tar -xf ../cfe-&llvm-version;.src.tar.gz -C tools && -tar -xf ../compiler-rt-&rt-version;.src.tar.gz -C projects && +<screen><userinput>tar -xf ../cfe-&llvm-version;.src.tar.xz -C tools && +tar -xf ../compiler-rt-&rt-version;.src.tar.xz -C projects && mv tools/cfe-&llvm-version;.src tools/clang && mv projects/compiler-rt-&rt-version;.src projects/compiler-rt</userinput></screen> @@ -173,16 +185,16 @@ commands: </para> -<screen><userinput>sed -e 's:/docs/llvm:/share/doc/llvm-&llvm-version;:' \ +<screen><userinput>sed -e "s:/docs/llvm:/share/doc/llvm-&llvm-version;:" \ -i Makefile.config.in && -CC=gcc CXX=g++ \ -./configure --prefix=/usr \ - --sysconfdir=/etc \ - --enable-libffi \ - --enable-optimized \ - --enable-shared \ - --disable-assertions && +CC=gcc CXX=g++ \ +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-libffi \ + --enable-optimized \ + --enable-shared \ + --disable-assertions && make</userinput></screen> <para> @@ -238,8 +250,8 @@ <title>Command Explanations</title> <para> - <command>sed -e ...</command>: This sed fixes location of the - installed documentation. + <command>sed -e ... Makefile.config.in</command>: This sed fixes + location of the installed documentation. </para> <para> @@ -279,14 +291,14 @@ <seglistitem> <seg> - bugpoint, c-index-test, clang, clang++ (symlink), clang-check, - clang-format, clang-tblgen, llc, lli, lli-child-target, llvm-ar, - llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov, llvm-diff, llvm-dis, - llvm-dwarfdump, llvm-extract, llvm-link, llvm-mc, llvm-mcmarkup, - llvm-nm, llvm-objdump,<!-- llvm-prof,--> llvm-ranlib (symlink), - llvm-readobj, llvm-rtdyld, llvm-size, llvm-stress, llvm-symbolizer, - llvm-tblgen, macho-dump, opt, scan-build (symlink) and scan-view - (symlink) + bugpoint, c-index-test, clang, clang++ (symlink), count, FileCheck, + clang-check, clang-format, clang-tblgen, llc, lli, lli-child-target, + llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov, llvm-diff, + llvm-dis, llvm-dwarfdump, llvm-extract, llvm-link, llvm-mc, + llvm-mcmarkup, llvm-nm, llvm-objdump, llvm-profdata, llvm-ranlib + (symlink), llvm-readobj, llvm-rtdyld, llvm-size, llvm-stress, + llvm-symbolizer, llvm-tblgen, macho-dump, not, opt, scan-build + (symlink), and scan-view (symlink) </seg> <seg> BugpointPasses.so, libclang.so, libLLVM-&llvm-version;.so, @@ -294,15 +306,10 @@ static libraries in /usr/lib </seg> <seg> - /usr/include/clang, - /usr/include/clang-c, - /usr/include/llvm, - /usr/include/llvm-c, - /usr/lib/clang, - /usr/lib/clang-analyzer, - /usr/share/doc/html/clang, - /usr/share/doc/llvm-&llvm-version;, and - /usr/share/doc/ps + /usr/include/{clang,clang-c,llvm,llvm-c}, + /usr/lib/{clang,clang-analyzer}, + /usr/share/doc/llvm-&llvm-version;, + and /usr/share/llvm </seg> </seglistitem> </segmentedlist> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
