Changeset 3011


Ignore:
Timestamp:
02/10/10 14:13:56 (15 years ago)
Author:
jschierm
Message:

Combine all chaco patch files into one.

Location:
issm/trunk/externalpackages/chaco
Files:
1 added
11 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/chaco/install.sh

    r2973 r3011  
    11#!/bin/bash
    22
    3 #Some cleanup
     3# Some cleanup
    44rm -rf Chaco-2.2
    55rm -rf src
    66rm -rf install
    77
    8 #Create src and install directories
     8# Create src and install directories
    99mkdir src install
    1010
    11 #Untar
     11# Untar
    1212tar -xvzf Chaco-2.2.tar.gz
    1313
    14 #Move chaco to src directory
     14# Move chaco to src directory
    1515mv Chaco-2.2/* src
    1616rm -rf Chaco-2.2
    1717
    18 #Apply patches
    19 patch src/code/main/defs.h defs.h.patch
    20 patch src/code/assign/assign_out.c assign_out.c.patch
    21 patch src/code/eigen/get_extval.c get_extval.c.patch
    22 patch src/code/klvspiff/matching.c matching.c.patch
    23 patch src/code/misc/timing.c timing.c.patch
    24 patch src/code/util/bail.c bail.c.patch
    25 patch src/code/util/checkpnt.c checkpnt.c.patch
    26 patch src/code/util/doubleout.c doubleout.c.patch
    27 patch src/code/util/smalloc.c smalloc.c.patch
    28 patch src/code/util/strout.c strout.c.patch
    29 patch src/code/Makefile Makefile.patch
     18# Apply patches (all at once)
     19# (written by diff -rc src ~/Libs/Chaco-2.2 > chaco.patch)
     20patch -p0 < chaco.patch
    3021
    31 #Build chaco
     22# Build chaco
    3223cd src/code
    3324make
    34 #Clean up, so that meshpart creates its own objects for mlchaco
     25# Clean up, so that meshpart creates its own objects for mlchaco
    3526make clean
    3627cd ../..
Note: See TracChangeset for help on using the changeset viewer.