Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
a6b3561
1
Parent(s):
b77fef8
Keep precompilation on if compiled modules enabled
Browse files- pysr/julia_helpers.py +2 -0
pysr/julia_helpers.py
CHANGED
@@ -87,6 +87,8 @@ def install(julia_project=None, quiet=False, precompile=None): # pragma: no cov
|
|
87 |
|
88 |
if precompile is None and not init_log["compiled_modules"]:
|
89 |
precompile = False
|
|
|
|
|
90 |
|
91 |
if not precompile:
|
92 |
Main.eval('ENV["JULIA_PKG_PRECOMPILE_AUTO"] = 0')
|
|
|
87 |
|
88 |
if precompile is None and not init_log["compiled_modules"]:
|
89 |
precompile = False
|
90 |
+
else:
|
91 |
+
precompile = True
|
92 |
|
93 |
if not precompile:
|
94 |
Main.eval('ENV["JULIA_PKG_PRECOMPILE_AUTO"] = 0')
|