rrthomas / mit

A simple stack-based VM
Other
10 stars 3 forks source link

Look into automatic dependencies for Python in automake #305

Closed apt1002 closed 4 years ago

apt1002 commented 4 years ago

We currently have increasingly many manual (and missing!) dependencies on Python files in the build system. Shurely we can do this automagically, as for C?

rrthomas commented 4 years ago

Apparently not. The problem is C files depending on Python files. Inside a Python program there's no problem because it's compiled when it's run. So I guess this is a rather unusual situation. automake byte-compiles Python only at install time, so it doesn't need dependency information when running make.

Since much of this problem will go away when the specializer becomes a separate program, close the issue. We can keep adding dependencies manually for now.