ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/llvm.spec
(Generate patch)

Comparing COMP/CMSDIST/llvm.spec (file contents):
Revision 1.5 by eulisse, Mon Jan 17 15:46:19 2011 UTC vs.
Revision 1.8 by elmer, Wed Jan 26 15:27:15 2011 UTC

# Line 1 | Line 1
1   ### RPM external llvm 2.8
2 ## NOCOMPILER
2   ## INITENV +PATH LD_LIBRARY_PATH %i/lib64
3  
4   Source0: http://llvm.org/releases/%realversion/llvm-%realversion.tgz
# Line 10 | Line 9 | Source1: http://llvm.org/releases/%realv
9   %setup -T -D -a1 -c -n llvm-%realversion/tools
10   mv clang-%realversion clang
11   %setup -T -D -n llvm-%realversion
13 pwd
12  
13   %build
16 pwd
14   mkdir objs ; cd objs
15   ../configure --prefix=%i --enable-optimized
16   make %makeprocesses
# Line 23 | Line 20 | cd objs
20   make install
21   # Fix up a perl path
22   perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' %i/bin/llvm-config
23 +
24 + case %cmsos in
25 +  osx*)
26 +    #Fix up install names for some of the libraries.
27 +    for x in BugpointPasses.dylib profile_rt.dylib LLVMHello.dylib
28 +    do
29 +      install_name_tool -change $x lib$x -id lib$x %i/lib/lib$x
30 +    done
31 +  ;;
32 + esac
33 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines