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 7384e92 commit dbcc4d9Copy full SHA for dbcc4d9
src/runtime/lpython/lpython.py
@@ -687,9 +687,9 @@ def get_rtlib_dir():
687
688
gcc_flags = ""
689
if platform.system() == "Linux":
690
- gcc_flags = " -shared -fPIC "
+ gcc_flags = " -shared -fPIC -funroll-loops -ffast-math -O1 "
691
elif platform.system() == "Darwin":
692
- gcc_flags = " -bundle -flat_namespace -undefined suppress "
+ gcc_flags = " -bundle -flat_namespace -undefined suppress -funroll-loops -ffast-math -O1 "
693
else:
694
raise NotImplementedError("Platform not implemented")
695
0 commit comments