vcpkg/ports/spirv-tools/comment-distutils.patch
Henrik Gaßmann 0a64f3a1f6
[spirv-tools] Update to version 2020.1 (#10441)
* [spirv-headers] Update to version 1.5.1

* [spirv-tools] Update to version 2020.1

* [spirv-tools] Work around an import config typo

* [spirv-tools] Fix nitpicks

* [spirv-headers] Modernize port

* [spirv-tools] Fix directory name capitalization mismatch
2020-03-20 00:32:07 -07:00

23 lines
818 B
Diff

diff --git a/utils/generate_registry_tables.py b/utils/generate_registry_tables.py
index e662ba9..49f2718 100644
--- a/utils/generate_registry_tables.py
+++ b/utils/generate_registry_tables.py
@@ -14,7 +14,7 @@
# limitations under the License.
"""Generates the vendor tool table from the SPIR-V XML registry."""
-import distutils.dir_util
+#import distutils.dir_util
import os.path
import xml.etree.ElementTree
@@ -62,7 +62,7 @@ def main():
with open(args.xml) as xml_in:
registry = xml.etree.ElementTree.fromstring(xml_in.read())
- distutils.dir_util.mkpath(os.path.dirname(args.generator_output))
+ #distutils.dir_util.mkpath(os.path.dirname(args.generator_output))
with open(args.generator_output, 'w') as f:
f.write(generate_vendor_table(registry))