| 1 |
Build profiles |
| 2 |
|
| 3 |
1. "pkg.mypy.multifile": for the self-compilation of mypy using mypyc, forces |
| 4 |
the use of "multi_file" option. Useful for CI, where build time limits might |
| 5 |
otherwise prevent successful compilation. |
| 6 |
"This can reduce compile time and memory requirements at the likely |
| 7 |
cost of runtime performance of compiled code." |
| 8 |
|
| 9 |
2. "pkg.mypy.o1": for the self-compilation of mypy using mypyc, forces |
| 10 |
the optimization level ("MYPYC_OPT_LEVEL") to be "1", which correspond to |
| 11 |
compilation with "-O1". Only set during package building, not set while |
| 12 |
running the tests. Useful for CI, where build time limits might otherwise |
| 13 |
prevent successful compilation. |