-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why there is no '--enable-optimizations' for python 2.7 images? #436
Comments
There was a large discussion on this in #160 And a pr close in #357 (comment) due to the extraordinarily longer build times |
If you look at the build logs for your local build with the flag added right after |
It looks like the 2.7 Dockerfiles are built off the "caveman" template. This template does not seem to have the optimization flag. We build our own Pythons so I do know that 2.7 does support the optimization flag. Maybe it should be added to the caveman template. |
Hello Folks,
Looks like the python 2.7 images aren't using the '--enable-optimizations' in the configure step of python compilation (
python/2.7/buster/slim/Dockerfile
Line 62 in cf68ae0
I just built an image locally with the flag and it worked.
Thanks in advance.
The text was updated successfully, but these errors were encountered: