Index: ../trunk-jpl/externalpackages/petsc/install-3.5-win7.sh
===================================================================
--- ../trunk-jpl/externalpackages/petsc/install-3.5-win7.sh	(revision 0)
+++ ../trunk-jpl/externalpackages/petsc/install-3.5-win7.sh	(revision 18628)
@@ -0,0 +1,41 @@
+#!/bin/bash
+set -eu
+
+#Some cleanup
+rm -rf install petsc-3.5.1 src
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.5.1.tar.gz' 'petsc-3.5.1.tar.gz'
+
+#Untar and move petsc to install directory
+tar -zxvf  petsc-3.5.1.tar.gz
+mv petsc-3.5.1/* src/
+rm -rf petsc-3.5.1
+
+export PETSC_DIR=`cygpath -u "$ISSM_DIR/externalpackages/petsc/src"`
+export PREFIX_DIR=`cygpath -u "$ISSM_DIR/externalpackages/petsc/install"`
+
+#configure
+cd src
+./config/configure.py  \
+	--with-parallel-no \
+	--prefix=$PREFIX_DIR \
+	--PETSC_ARCH=cygwin-intel \
+	--PETSC_DIR=$PETSC_DIR \
+	--with-mpi=0 \
+	--with-debugging=0 \
+	--with-valgrind=0 \
+	--with-x=0 \
+	--with-ssl=0 \
+	--download-c-blas-lapack=yes \
+	--with-cc='win32fe cl' \
+	--with-fc=0 \
+	--with-cxx='win32fe cl' \
+	--with-clanguage=cxx 
+
+#Compile petsc and install it
+make
+make install
+
+#patch ../install/include/petscfix.h ../configs/3.1/win7/petscfix.h.patch

Property changes on: ../trunk-jpl/externalpackages/petsc/install-3.5-win7.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: ../trunk-jpl/jenkins/windows
===================================================================
--- ../trunk-jpl/jenkins/windows	(revision 18627)
+++ ../trunk-jpl/jenkins/windows	(revision 18628)
@@ -10,7 +10,7 @@
 	--with-vendor=intel-win7-64  \
 	--with-matlab-dir=""$ISSM_DIR/externalpackages/matlab/install"" \
 	--with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
-	--with-metis-dir="$ISSM_DIR/externalpackages/metis/install" \
+	--with-metis-dir="$ISSM_DIR/externalpackages/petsc/install" \
 	--with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
 	--with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/  \
 	--with-mpi-libdir="$ISSM_DIR/externalpackages/petsc/install/lib" \
@@ -44,8 +44,9 @@
 EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages
 
 #List of external pakages to be installed and their installation scripts
-EXTERNALPACKAGES=" cccl install-win7.sh
-						petsc     install-3.1-win7.sh
+EXTERNALPACKAGES="cccl      install-win7.sh
+						cmake     install.sh                
+						petsc     install-3.5-win7.sh
 						triangle  install-win7.sh        
 						matlab install.sh
 						metis install-4.0-win7.sh
@@ -79,5 +80,3 @@
 #In Windows, we don't yet have MUMPS, can't do full stokes, so exclude all FS runs. Also exclude all runs with Dakota. And exclude higher order runs that have penalties. And 800+ tests because we don't want to have --with-development since we do the binaries with this version
 MATLAB_NROPTIONS="'exclude',[104, 124, 204, 211, 215, 220, 221, 285, 290, 308, 322, 404, 421, 422, 503, 507, 510, 511, 701, 702, 703, 218, 234, 235, 412, 413, 414, 417, 418, 420, 205, 274, 331, 405, 409, 455, 612, 514, 435, 280,801,802,803,804,805,291]"
 PYTHON_NROPTIONS=""
-
-
