Commit 2acce55
[MLIR][Python] Skip stubgen while any sanitizer is enabled (llvm#164661)
The intention of this PR is described
llvm#164197 (comment)
(and
llvm#164197 (comment)).
When sanitizers are enabled, some additional setup (such as preloading
certain libraries) seems to be required for the stubgen step to work
properly
(llvm#164197 (comment)).
In this case, I chose to simply skip the stubgen process, as supporting
it would likely require some extra CMake logic, and type stubs don’t
appear to be particularly necessary in this configuration.1 parent ac7ae21 commit 2acce55
File tree
2 files changed
+18
-6
lines changed- mlir
- examples/standalone/python
- python
2 files changed
+18
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
144 | | - | |
| 149 | + | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
| |||
153 | 158 | | |
154 | 159 | | |
155 | 160 | | |
156 | | - | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
| 897 | + | |
897 | 898 | | |
898 | 899 | | |
899 | | - | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
900 | 907 | | |
901 | 908 | | |
902 | 909 | | |
| |||
985 | 992 | | |
986 | 993 | | |
987 | 994 | | |
988 | | - | |
| 995 | + | |
989 | 996 | | |
990 | 997 | | |
991 | 998 | | |
| |||
998 | 1005 | | |
999 | 1006 | | |
1000 | 1007 | | |
1001 | | - | |
| 1008 | + | |
1002 | 1009 | | |
1003 | 1010 | | |
1004 | 1011 | | |
| |||
0 commit comments