[llvm-commits] [llvm] r97089 - /llvm/trunk/utils/GenLibDeps.pl

Jeffrey Yasskin jyasskin at google.com
Wed Feb 24 17:21:38 PST 2010


Author: jyasskin
Date: Wed Feb 24 19:21:38 2010
New Revision: 97089

URL: http://llvm.org/viewvc/llvm-project?rev=97089&view=rev
Log:
Filter the future all-of-llvm shared library out of the llvm-config
results.  I'm checking this in before the shared library so that I can
tell if it breaks anything on its own.


Modified:
    llvm/trunk/utils/GenLibDeps.pl

Modified: llvm/trunk/utils/GenLibDeps.pl
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/GenLibDeps.pl?rev=97089&r1=97088&r2=97089&view=diff
==============================================================================
--- llvm/trunk/utils/GenLibDeps.pl (original)
+++ llvm/trunk/utils/GenLibDeps.pl Wed Feb 24 19:21:38 2010
@@ -70,6 +70,8 @@
 my @files = readdir DIR;
 closedir DIR;
 my @libs = grep(/libLLVM.*\.(dylib|so|a)$/,sort(@files));
+# Omit the all-of-llvm shared library.
+ at libs = grep(!/libLLVM-\d\.\d(svn)?\.(dylib|so)/, @libs);
 my @objs = grep(/LLVM.*\.o$/,sort(@files));
 
 # Declare the hashes we will use to keep track of the library and object file





More information about the llvm-commits mailing list