]> xenbits.xensource.com Git - pvdrivers/win/xenvkbd.git/commitdiff
Remove the SDV run from build.py
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 12 Jun 2017 10:15:21 +0000 (11:15 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 12 Jun 2017 10:15:21 +0000 (11:15 +0100)
SDV appears to be broken for this driver as follows:

  SDV is building for <Windows 10 Release|x64>
  Build     'xenvkbd' ... Done
  The call to Slamcl returned with exit code:=1.
  This happened while compiling compile6.cmd.
  The compile step failed for   'xenvkbd' .
  SDV exit code: 5
  SDV encountered errors when scanning the driver. Please ensure roletypes are present and/or consult SDV documentation.
C:\Program Files (x86)\Windows Kits\10\build\windowsdriver.Sdv.targets(120,9): error MSB3075: The command "staticdv.exe /check:default.sdv" exited with code 5. Please verify that you have sufficient rights to run this command. [C:\Jenkins\Workspace\XENVKBD-master\vs2015\xenvkbd\xenvkbd.vcxproj]
Done Building Project "C:\Jenkins\Workspace\XENVKBD-master\vs2015\xenvkbd\xenvkbd.vcxproj" (sdv target(s)) -- FAILED.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
build.py

index c868f5334c58c6517107ca980759345bb4692c54..38830997094ae6f09fc921a9a816dd455d89fe33 100644 (file)
--- a/build.py
+++ b/build.py
@@ -246,38 +246,6 @@ def remove_timestamps(path):
     dst.close()
     src.close()
 
-def run_sdv(name, dir, vs):
-    release = { 'vs2012':'Windows 8',
-                'vs2013':'Windows 8',
-                'vs2015':'Windows 10' }
-
-    configuration = get_configuration(release[vs], False)
-    platform = 'x64'
-
-    msbuild(platform, configuration, 'Build', name + '.vcxproj',
-            '', os.path.join(vs, name))
-
-    msbuild(platform, configuration, 'sdv', name + '.vcxproj',
-            '/p:Inputs="/clean"', os.path.join(vs, name))
-
-    msbuild(platform, configuration, 'sdv', name + '.vcxproj',
-            '/p:Inputs="/check:default.sdv"', os.path.join(vs, name))
-
-    path = [vs, name, 'sdv', 'SDV.DVL.xml']
-    remove_timestamps(os.path.join(*path))
-
-    msbuild(platform, configuration, 'dvl', name + '.vcxproj',
-            '', os.path.join(vs, name))
-
-    path = [vs, name, name + '.DVL.XML']
-    shutil.copy(os.path.join(*path), dir)
-
-    path = [vs, name, 'refine.sdv']
-    if os.path.isfile(os.path.join(*path)):
-        msbuild(platform, configuration, 'sdv', name + '.vcxproj',
-                '/p:Inputs=/refine', os.path.join(vs, name))
-
-
 def symstore_del(name, age):
     symstore_path = [os.environ['KIT'], 'Debuggers']
     if os.environ['PROCESSOR_ARCHITECTURE'] == 'x86':
@@ -377,7 +345,6 @@ def getVsVersion():
 
 if __name__ == '__main__':
     debug = { 'checked': True, 'free': False }
-    sdv = { 'nosdv': False, None: True }
     driver = 'xenvkbd'
     vs = getVsVersion()
 
@@ -431,8 +398,5 @@ if __name__ == '__main__':
     symstore_add(driver, release[vs], 'x86', debug[sys.argv[1]], vs)
     symstore_add(driver, release[vs], 'x64', debug[sys.argv[1]], vs)
 
-    if len(sys.argv) <= 2 or sdv[sys.argv[2]]:
-        run_sdv('xenvkbd', driver, vs)
-
     archive(driver + '\\source.tgz', manifest().splitlines(), tgz=True)
     archive(driver + '.tar', [driver,'revision'])