1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 14:28:08 +03:00
juvix/app
Paul Cadman 4a1c7a101e
Pass through compile optimization flag to C compiler and disable optimization for --debug (#2106)
In this PR we pass through the `juvix compile` optimization flag to the
C compiler in the native compilation.

NB: Clang supports -On for any positive n. -O4 and higher is equivalent
to -O3

Also we disable optimizations when the `-g` / `--debug` option is
specified.

* Closes https://github.com/anoma/juvix/issues/2104

---------

Co-authored-by: Lukasz Czajka <lukasz@heliax.dev>
2023-05-19 15:29:52 +01:00
..
Commands Pass through compile optimization flag to C compiler and disable optimization for --debug (#2106) 2023-05-19 15:29:52 +01:00
TopCommand Improve error message when input path doesn't exist (#2092) 2023-05-15 11:03:09 +02:00
App.hs Make format command's filepath optional (#2028) 2023-04-27 17:33:08 +02:00
AsmInterpreter.hs Refactor Core datastructures (#1975) 2023-04-04 18:58:05 +02:00
CommonOptions.hs Support more paths (#2000) 2023-04-19 15:56:48 +01:00
Evaluator.hs Normalization by Evaluation (#2038) 2023-05-15 18:01:40 +02:00
GlobalOptions.hs Inlining (#2036) 2023-05-15 17:27:05 +02:00
Main.hs Improve error message when input path doesn't exist (#2092) 2023-05-15 11:03:09 +02:00
TopCommand.hs Add juvix clean to remove project build artifact directory (#2018) 2023-04-21 14:21:31 +02:00