Changeset 12895


Ignore:
Timestamp:
08/03/12 11:58:15 (13 years ago)
Author:
Eric.Larour
Message:

CHG: tk: ignore some svn files.
tcl: do sudo install.
matplotlib: link against tcl and tk from the OS.

Location:
issm/trunk-jpl/externalpackages
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/matplotlib/install-osx.sh

    r12246 r12895  
    22pythonversion=2.7
    33PYTHON=python${pythonversion}
     4
     5export GIT_SSL_NO_VERIFY=true
     6export CC="gcc -fPIC"
     7export CXX="g++ -fPIC"
     8export F77="gfortran -fPIC"
     9export FC="gfortran -fPIC"
     10export FFLAGS=-ff2c
     11
    412
    513git clone https://github.com/matplotlib/matplotlib
     
    715mkdir deps
    816cd src
     17exit
    918make -f make.osx PREFIX=$ISSM_DIR/externalpackages/matplotlib/deps PYVERSION=$pythonversion fetch deps mpl_install_std
    1019${PYTHON} -c "import matplotlib; print 'Installed matplotlib', matplotlib.__version__, matplotlib.__file__"
  • issm/trunk-jpl/externalpackages/matplotlib/install.sh

    r12143 r12895  
    11#/bin/bash
     2pythonversion=2.7
     3PYTHON=python${pythonversion}
     4
     5export GIT_SSL_NO_VERIFY=true
     6export CC="gcc -fPIC "
     7export CXX="g++ -fPIC -L$ISSM_DIR/externalpackages/tcl/install/lib"
     8export F77="gfortran -fPIC"
     9export FC="gfortran -fPIC"
     10export FFLAGS=-ff2c
     11
    212
    313git clone https://github.com/matplotlib/matplotlib
    414mv matplotlib src
    515cd src
    6 python setup.py build
    7 python setup.py install
     16python setup.py build 
     17python setup.py install 
  • issm/trunk-jpl/externalpackages/tcl/install.sh

    r12719 r12895  
    11#!/bin/bash
     2
     3sudochoice=0;
    24
    35#Some cleanup
     
    2022ver="8.4.12"
    2123
    22 cd src
    23 make -C ./macosx install INSTALL_ROOT="$ISSM_DIR/externalpackages/tcl/install"
     24cd src/unix
     25
     26#User mode:
     27if [[ $sudochoice == "0" ]];
     28then
     29        ./configure --prefix=$ISSM_DIR/externalpackages/tcl/install
     30        if [ -z $1 ]; then
     31                make
     32        else
     33                make -j $1
     34        fi
     35        make install
     36fi
     37
     38#sudo mode:
     39if [[ $sudochoice == "1" ]];
     40then
     41        sudo ./configure
     42        if [ -z $1 ]; then
     43                sudo make
     44        else
     45                sudo make -j $1
     46        fi
     47        sudo make install
     48fi
  • issm/trunk-jpl/externalpackages/tk

    • Property svn:ignore set to
      install
      src
      *.gz
Note: See TracChangeset for help on using the changeset viewer.