Ignore:
Timestamp:
09/19/12 09:32:34 (13 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 13393

Location:
issm/trunk
Files:
2 deleted
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/externalpackages

    • Property svn:ignore
      •  

        old new  
         1archive
        12MITgcm
        23OpenAD
         4ivins
  • issm/trunk/externalpackages/adolc

    • Property svn:ignore
      •  

        old new  
         1adolc_v220_issm
         2trunk
         3*.gz
        14install*
        25src
         6src-*
        37configure.sh
        48.ignore.txt
  • issm/trunk/externalpackages/adolc/install.sh

    r12707 r13395  
    11#!/bin/bash
     2set -eu
    23
    34#some issues on macosx64 with ISSM's autoconf. you might want to run native to mac on this.
    45
    56#Some cleanup
    6 rm -rf install ADOL-C-2.2.0 src
     7rm -rf install ADOL-C-2.2.0 src trunk
     8
     9#Create install directories
     10mkdir install src
    711
    812#Download from ISSM server
    913$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/ADOL-C-2.2.0.tar.gz' 'ADOL-C-2.2.0.tar.gz'
    10 
    11 #Create install directories
    12 mkdir install src
    1314
    1415#Untar
     
    2223cd src
    2324
    24 export CC=gcc
    25 export CXX=g++
    26 export CFLAGS="-arch x86_64"
    27 export CXXFLAGS="-arch x86_64"
     25#export CC=gcc
     26#export CXX=g++
     27#export CFLAGS="-arch x86_64"
     28#export CXXFLAGS="-arch x86_64"
    2829
    2930./configure \
     
    3435        --disable-shave
    3536
    36 if [ -z $1 ]; then
     37if [ $# -eq 0 ]; then
    3738        make
    3839else
     
    4041fi
    4142make install
     43
     44
     45#Ok, bug with libtool: replace all LIBTOOL= by LIBTOOL=libtool
     46#in all Makefiles
     47for i in `find ./ -name Makefile `
     48do
     49        echo $i
     50        cat $i | sed 's/LIBTOOL =/LIBTOOL = libtool/g' > $i.bak
     51        mv $i.bak $i
     52done
     53
     54#remake:
     55if [ $# -eq 0 ]; then
     56        make
     57else
     58        make -j $1
     59fi
     60make install
Note: See TracChangeset for help on using the changeset viewer.