Author: bdubbs
Date: Sun Sep 10 22:21:54 2017
New Revision: 19203

Log:
Fix for llvm

Modified:
   trunk/scripts/blfs-chapter13.php

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Sun Sep 10 13:20:18 2017        (r19202)
+++ trunk/scripts/blfs-chapter13.php    Sun Sep 10 22:21:54 2017        (r19203)
@@ -9,7 +9,6 @@
 $STOP_PACKAGE  = 'junit';
 
 $renames = array();
-$renames[ 'llvm1'      ] = 'llvm';
 $renames[ 'Python'     ] = 'python2';
 $renames[ 'Python1'    ] = 'python3';
 $renames[ 'pygobject'  ] = 'pygobject2';
@@ -17,7 +16,6 @@
 //$renames[ 'v'          ] = 'ninja';
 
 $ignores = array();
-$ignores[ 'llvm'         ] = ''; // LLVM3
 $ignores[ 'cfe'          ] = '';
 $ignores[ 'clang'        ] = '';
 $ignores[ 'compiler-rt'  ] = '';
@@ -82,7 +80,6 @@
 $regex[ 'Test-Command'            ] = "/^.*Test-Command-(\d[\d\.]+\d).*$/";
 $regex[ 'Test-Differences'        ] = "/^.*Test-Differences-(\d[\d\.]+\d).*$/";
 $regex[ 'Text-BibTeX'             ] = "/^.*Text-BibTeX-(\d[\d\.]+\d).*$/";
-//$regex[ 'Text-CSV'                ] = "/^.*Text-CSV-(\d[\d\.]+\d).*$/";
 $regex[ 'Text-Roman'              ] = "/^.*Text-Roman-(\d[\d\.]+\d).*$/";
 $regex[ 'Unicode-Collate'         ] = "/^.*Unicode-Collate-(\d[\d\.]+\d).*$/";
 $regex[ 'Unicode-LineBreak'       ] = "/^.*Unicode-LineBreak-(\d[\d\.]+\d)$/";
@@ -132,10 +129,6 @@
           'match'   => '^.*$',
           'replace' => "http://llvm.org/releases/download.html"; ),
 
-   array( 'pkg'     => 'llvm1',
-          'match'   => '^.*$',
-          'replace' => "http://llvm.org/releases/download.html"; ),
-
    array( 'pkg'     => 'nasm',
           'match'   => '^.*$',
           'replace' => "http://www.nasm.us/pub/nasm/releasebuilds"; ),
@@ -538,9 +531,6 @@
     return find_max( $lines, '/doxygen/', '/^.*doxygen-([\d\.]+).src.tar.*$/' 
);
 
   if ( $book_index == "llvm" )
-     return find_max( $lines, "/Download LLVM/",  "/^.*LLVM (3[\d\.]+).*$/" );
-
-  if ( $book_index == "llvm1" )
      return find_max( $lines, "/Download LLVM/",  "/^.*LLVM ([\d\.]+).*$/" );
 
   if ( $book_index == "elfutils" )
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to