- Timestamp:
- 04/16/12 16:06:52 (13 years ago)
- Location:
- issm/branches/trunk-jpl-damage
- Files:
-
- 4 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 11709,11711-11769,11771-11777,11780-11782,11784-11800,11803-11983,11986-11989
- Property svn:mergeinfo changed
-
issm/branches/trunk-jpl-damage/externalpackages/triangle/install-macosx64.sh
r11103 r12004 1 1 #!/bin/bash 2 3 #use matlab? 4 matlab=0 5 2 6 3 7 #Some cleanup … … 15 19 16 20 #Patch triangle.c 17 patch triangle.c ../triangle.c.patch 21 if [[ $matlab == "1" ]];then 22 patch triangle.c ../triangle.c.patch.matlab 23 else 24 patch triangle.c ../triangle.c.patch.python 25 fi 18 26 19 27 #Compile triangle -
issm/branches/trunk-jpl-damage/externalpackages/triangle/makefile
r11104 r12004 4 4 include ./configure.make 5 5 6 AR = ar 6 ifeq "$(origin CC)" "undefined" 7 CC = cc 8 endif 9 10 ifeq "$(origin AR)" "undefined" 11 AR = ar 12 endif 13 14 ifeq "$(origin RANLIB)" "undefined" 15 RANLIB = ranlib 16 endif 7 17 8 18 TRILIBDEFS = -DTRILIBRARY … … 13 23 14 24 triangle.$(LIB_EXT): $(OBJECTS) 15 arcr triangle.$(LIB_EXT) $(OBJECTS)16 ranlibtriangle.$(LIB_EXT)25 $(AR) cr triangle.$(LIB_EXT) $(OBJECTS) 26 $(RANLIB) triangle.$(LIB_EXT) 17 27 18 28 triangle.$(OBJ_EXT): triangle.c triangle.h -
issm/branches/trunk-jpl-damage/externalpackages/triangle/triangle.h.patch
r30 r12004 1 249a250,253 1 249a250,251 2 > #ifndef _TRIANGLE_LIBRARY_H_ 3 > #define _TRIANGLE_LIBRARY_H_ 4 251c253,259 5 < struct triangulateio { 6 --- 7 > 2 8 > #ifndef REAL 3 9 > typedef double REAL; 4 10 > typedef void VOID; 5 11 > #endif 6 251c255 7 < struct triangulateio { 8 --- 12 > 9 13 > extern "C" struct triangulateio { 10 283c2 8714 283c291 11 15 < void triangulate(char *, struct triangulateio *, struct triangulateio *, 12 16 --- 13 17 > extern "C" void triangulate(char *, struct triangulateio *, struct triangulateio *, 14 285c2 8918 285c293 15 19 < void trifree(VOID *memptr); 16 20 --- 17 21 > extern "C" void trifree(VOID *memptr); 22 289a298,300 23 > 24 > 25 > #endif //#ifndef _TRIANGLE_LIBRARY_H_
Note:
See TracChangeset
for help on using the changeset viewer.