Skip to content

Commit

Permalink
Compile without -Werror so that we can compare Fruit performance of t…
Browse files Browse the repository at this point in the history
…he latest release vs older releases with recent compilers, even if old Fruit versions would emit warnings with those compilers.
  • Loading branch information
poletti-marco committed Apr 6, 2020
1 parent 0b31821 commit 0979411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/benchmark/generate_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def generate_benchmark(
other_compile_flags.append('-fno-exceptions')
if not use_rtti:
other_compile_flags.append('-fno-rtti')
compile_command = '%s -std=%s -MMD -MP -O2 -W -Wall -Werror -DNDEBUG -ftemplate-depth=10000 %s %s' % (compiler, cxx_std, include_flags, ' '.join(other_compile_flags))
link_command = '%s -std=%s -O2 -W -Wall -Werror %s %s' % (compiler, cxx_std, rpath_flags, library_dirs_flags)
compile_command = '%s -std=%s -MMD -MP -O2 -W -Wall -DNDEBUG -ftemplate-depth=10000 %s %s' % (compiler, cxx_std, include_flags, ' '.join(other_compile_flags))
link_command = '%s -std=%s -O2 -W -Wall %s %s' % (compiler, cxx_std, rpath_flags, library_dirs_flags)
# GCC requires passing the -lfruit flag *after* all object files to be linked for some reason.
link_command_suffix = link_libraries_flags

Expand Down

0 comments on commit 0979411

Please sign in to comment.