Closed mrigankpawagi closed 1 month ago
You are right, those instructions are now out of date and indeed the compiler has moved into the cinderx/
directory. What are you trying to do though? I don't understand why you need to manually put it in your sys.path
.
Thanks for your response, @jbower-fb. I cannot run ./python -m compiler --static module.py
. Is this something I do not need to do anymore?
@jbower-fb we just want to use static python, e.g. to run benchmarks like deltablue https://github.com/facebookincubator/cinder/blob/cinder/3.10/Tools/benchmarks/deltablue_static.py
Ah, you now need to run:
$ ./python -m cinderx.compiler --static module.py
Thanks a lot @jbower-fb! Should've noticed this! I will close this issue for now.
static-python doesn't have the
compiler
in the most recent commit. (compiler.py
is available insidecinderx
but there are errors in the module if it is forcefully included insys.path
). I am referring to this.