[cig-commits] r18350 - cs/buildbot/trunk/buildbot

brad at geodynamics.org brad at geodynamics.org
Thu May 12 11:06:29 PDT 2011


Author: brad
Date: 2011-05-12 11:06:28 -0700 (Thu, 12 May 2011)
New Revision: 18350

Modified:
   cs/buildbot/trunk/buildbot/bs.py
Log:
Fix test for determining if we are building PETSc on cygwin. Replace requirement of PETSC_ARCH starting with 'cygwin' to PETSC_ARCH containing 'cygwin'.

Modified: cs/buildbot/trunk/buildbot/bs.py
===================================================================
--- cs/buildbot/trunk/buildbot/bs.py	2011-05-12 01:27:16 UTC (rev 18349)
+++ cs/buildbot/trunk/buildbot/bs.py	2011-05-12 18:06:28 UTC (rev 18350)
@@ -300,7 +300,7 @@
               ),
             ]
 
-        if env['PETSC_ARCH'].startswith("cygwin-"):
+        if env['PETSC_ARCH'].find("cygwin") > 0:
             # PETSc ignores "--enable-shared" on Windows.  Satish
             # says: "Because it currently doesn't work. There is some
             # code contributed here [cygwin_shared target] - I'll have



More information about the CIG-COMMITS mailing list