aboutsummaryrefslogtreecommitdiff
path: root/ports/spirv-tools/comment-distutils.patch
blob: 1ec4e9dcb87f4dc4321e375e0f30938e77fff02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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))