Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c0d7c commit 9782f7cCopy full SHA for 9782f7c
2 files changed
setup.cfg.template
@@ -3,6 +3,9 @@
3
[egg_info]
4
5
[libs]
6
+# By default, Matplotlib builds with LTO, which may be slow if you re-compile
7
+# often, and don't need the space saving/speedup.
8
+#enable_lto = True
9
# By default, Matplotlib downloads and builds its own copy of FreeType, and
10
# builds its own copy of Qhull. You may set the following to True to instead
11
# link against a system FreeType/Qhull.
setup.py
@@ -103,6 +103,8 @@ def add_optimization_flags(self):
103
"""
104
105
env = os.environ.copy()
106
+ if not setupext.config.getboolean('libs', 'enable_lto', fallback=True):
107
+ return env
108
if sys.platform == 'win32':
109
return env
110
0 commit comments