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

Comparing COMP/CMSDIST/google-perftools.spec (file contents):
Revision 1.3 by elmer, Tue Jun 24 01:23:44 2008 UTC vs.
Revision 1.4 by elmer, Sun Nov 9 16:01:49 2008 UTC

# Line 5 | Line 5 | Source: http://google-perftools.googleco
5   %setup -n %n-%realversion
6  
7   %build
8 < %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422")||("%cmsplatf" == "slc4_ia32_gcc345"))
9 < ./configure --prefix=%i
10 < make %makeprocesses
11 < %endif
12 < %if ("%cmsplatf" == "slc4_amd64_gcc345")
8 > case %cmsplatf in
9 >  slc4_ia32*)
10 >    ./configure --prefix=%i
11 >    make %makeprocesses
12 >  ;;
13 >  slc4_amd64*)
14   # Make a fake library for now to keep everything happy. Actually building
15   # for 64bit requires building libunwind, which we are not yet doing at
16   # the moment.
17 < cat << \EOF_TMPFILE > tmpgp.cc
17 >    cat << \EOF_TMPFILE > tmpgp.cc
18   namespace gptmp {
19    void foo(void*) {
20    }
21   }
22   EOF_TMPFILE
23 < g++ -c -o tmp.o -fPIC tmpgp.cc
24 < g++ -shared -o libgptmp.so tmp.o
25 < %endif
23 >    g++ -c -o tmp.o -fPIC tmpgp.cc
24 >    g++ -shared -o libgptmp.so tmp.o
25 >  ;;
26 > esac
27  
28   %install
29 < %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422")||("%cmsplatf" == "slc4_ia32_gcc345"))
30 < make install
31 < %endif
32 < %if ("%cmsplatf" == "slc4_amd64_gcc345")
33 < # Just copy over the dummy library
34 < mkdir -p %i/lib
35 < cp libgptmp.so %i/lib/libtcmalloc.so
36 < cp libgptmp.so %i/lib/libtcmalloc_minimal.so
37 < %endif
29 > case %cmsplatf in
30 >  slc4_ia32*)
31 >    make install
32 >  ;;
33 >  slc4_amd64*)
34 >    # Just copy over the dummy library
35 >    mkdir -p %i/lib
36 >    cp libgptmp.so %i/lib/libtcmalloc.so
37 >    cp libgptmp.so %i/lib/libtcmalloc_minimal.so
38 >  ;;
39 > esac
40  
41   # SCRAM ToolBox toolfile
42   mkdir -p %i/etc/scram.d

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines