Ignore:
Timestamp:
04/16/12 16:06:52 (13 years ago)
Author:
cborstad
Message:

merged trunk-jpl into trunk-jpl-damage through revision 11990

Location:
issm/branches/trunk-jpl-damage
Files:
4 edited
4 copied

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-jpl-damage

  • issm/branches/trunk-jpl-damage/externalpackages/triangle/install-macosx64.sh

    r11103 r12004  
    11#!/bin/bash
     2
     3#use matlab?
     4matlab=0
     5
    26
    37#Some cleanup
     
    1519
    1620#Patch triangle.c
    17 patch triangle.c ../triangle.c.patch
     21if [[ $matlab == "1" ]];then
     22        patch triangle.c ../triangle.c.patch.matlab
     23else
     24        patch triangle.c ../triangle.c.patch.python
     25fi
    1826
    1927#Compile triangle
  • issm/branches/trunk-jpl-damage/externalpackages/triangle/makefile

    r11104 r12004  
    44include ./configure.make
    55
    6 AR = ar
     6ifeq "$(origin CC)" "undefined"
     7        CC = cc
     8endif
     9
     10ifeq "$(origin AR)" "undefined"
     11        AR = ar
     12endif
     13
     14ifeq "$(origin RANLIB)" "undefined"
     15        RANLIB = ranlib
     16endif
    717
    818TRILIBDEFS = -DTRILIBRARY
     
    1323
    1424triangle.$(LIB_EXT): $(OBJECTS)
    15         ar cr  triangle.$(LIB_EXT) $(OBJECTS)
    16         ranlib triangle.$(LIB_EXT)
     25        $(AR) cr  triangle.$(LIB_EXT) $(OBJECTS)
     26        $(RANLIB) triangle.$(LIB_EXT)
    1727
    1828triangle.$(OBJ_EXT): triangle.c triangle.h
  • issm/branches/trunk-jpl-damage/externalpackages/triangle/triangle.h.patch

    r30 r12004  
    1 249a250,253
     1249a250,251
     2> #ifndef _TRIANGLE_LIBRARY_H_
     3> #define _TRIANGLE_LIBRARY_H_
     4251c253,259
     5< struct triangulateio {
     6---
     7>
    28> #ifndef REAL
    39> typedef double REAL;
    410> typedef void VOID;
    511> #endif
    6 251c255
    7 < struct triangulateio {
    8 ---
     12>
    913> extern "C" struct triangulateio {
    10 283c287
     14283c291
    1115< void triangulate(char *, struct triangulateio *, struct triangulateio *,
    1216---
    1317> extern "C" void triangulate(char *, struct triangulateio *, struct triangulateio *,
    14 285c289
     18285c293
    1519< void trifree(VOID *memptr);
    1620---
    1721> extern "C" void trifree(VOID *memptr);
     22289a298,300
     23>
     24>
     25> #endif //#ifndef _TRIANGLE_LIBRARY_H_
Note: See TracChangeset for help on using the changeset viewer.