Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Build with -O3. (#23)
Browse files Browse the repository at this point in the history
This is needed for PBL to build properly (with expected performance
characteristics): otherwise, inlining of various parts of the
interpreter loop is quite suboptimal, and "always inline" directives are
not followed.
  • Loading branch information
cfallin authored Aug 21, 2023
1 parent 2ace527 commit c422907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ac_add_options --disable-shared-memory
ac_add_options --disable-tests
ac_add_options --disable-clang-plugin
ac_add_options --enable-jitspew
ac_add_options --enable-optimize
ac_add_options --enable-optimize=-O3
ac_add_options --enable-js-streams
ac_add_options --enable-portable-baseline-interp
ac_add_options --prefix=${working_dir}/${objdir}/dist
Expand Down
2 changes: 1 addition & 1 deletion rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ac_add_options --disable-shared-memory
ac_add_options --disable-tests
ac_add_options --disable-clang-plugin
ac_add_options --enable-jitspew
ac_add_options --enable-optimize
ac_add_options --enable-optimize=-O3
ac_add_options --enable-js-streams
ac_add_options --enable-portable-baseline-interp
ac_add_options --prefix=${working_dir}/${objdir}/dist
Expand Down

0 comments on commit c422907

Please sign in to comment.