source: issm/trunk-jpl/externalpackages/triangle/install-macosx64.sh@ 15545

Last change on this file since 15545 was 15545, checked in by Mathieu Morlighem, 12 years ago

CHG: do not need to patch c file anymore and mac does not suppoer FPU flags

  • Property svn:executable set to *
File size: 445 bytes
Line 
1#!/bin/bash
2set -eu
3
4#Some cleanup
5rm -rf install triangle
6mkdir install
7
8#Download from ISSM server
9$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/triangle.zip' 'triangle.zip'
10
11#Untar
12cd install
13cp ../triangle.zip ./
14unzip triangle.zip
15
16#copy new makefile
17cp ../configs/macosx64/configure.make ./
18cp ../makefile ./
19
20#Compile triangle
21make
22
23#Patch triangle.h
24patch triangle.h ../triangle.h.patch
Note: See TracBrowser for help on using the repository browser.