[commit] r1786 - trunk/Install/Build

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Jan 6 17:33:23 CST 2012


Author: ksmyth
Date: Fri Jan  6 17:33:22 2012
New Revision: 1786

Log:
Workaround for 32bit Python testins x64: sleep to wait for dllhost.exe to exit, so it doesnt hold a handle on Core.dll (previously we got a sharing violation trying to write the PGO optimized dll)

Modified:
   trunk/Install/Build/build.py

Modified: trunk/Install/Build/build.py
==============================================================================
--- trunk/Install/Build/build.py	Fri Jan  6 14:34:10 2012	(r1785)
+++ trunk/Install/Build/build.py	Fri Jan  6 17:33:22 2012	(r1786)
@@ -152,6 +152,10 @@
     for file in glob.glob(GME_ROOT + '\\GME' + ('\\x64' if prefs['arch'] == 'x64' else '') + '\\Release_PGO\\*.pgc'):
         os.remove(file)
     tools.system([sys.executable, '-m', 'GPyUnit.__main__', '-x'] + (['-a', 'x64'] if prefs['arch'] == 'x64' else []), os.path.join(GME_ROOT, 'Tests'))
+    if prefs['arch'] == 'x64':
+        # wait for dllhost.exe to exit
+        import time
+        time.sleep(31)
 
 def compile_meta():
     "Compile MetaGME components"


More information about the gme-commit mailing list