Skip to content

Commit

Permalink
Merge pull request #26 from JPenuchot/ubuntu-ci-fix
Browse files Browse the repository at this point in the history
Ubuntu CI fix
  • Loading branch information
JPenuchot authored May 19, 2023
2 parents db8a089 + f2ae8d7 commit d503aa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmake/ctbench-compile-opts.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ target_compile_options(
-flto
-fPIC)

target_link_options(ctbench-compile-opts INTERFACE -flto)

target_compile_features(ctbench-compile-opts INTERFACE cxx_std_20)
3 changes: 1 addition & 2 deletions grapher/cmake/grapher-target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ target_link_libraries(
grapher PUBLIC ctbench-compile-opts nlohmann_json::nlohmann_json
sciplot::sciplot fmt::fmt stdc++fs tbb ${llvm_libs})

target_compile_options(grapher PUBLIC -DJSON_NOEXCEPTION -march=native -flto)
target_link_options(grapher PUBLIC -flto)
target_compile_options(grapher PUBLIC -DJSON_NOEXCEPTION)

0 comments on commit d503aa4

Please sign in to comment.