Skip to content

Commit

Permalink
comment out tsan
Browse files Browse the repository at this point in the history
  • Loading branch information
mkornaukhov03 committed Dec 24, 2024
1 parent 7478704 commit 63f6551
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compiler/compiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ target_link_options(kphp2cpp PRIVATE ${NO_PIE})
set_target_properties(kphp2cpp PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${BIN_DIR})

# todo make as option, like asan
target_compile_options(kphp2cpp PUBLIC "-fsanitize=thread" "-fPIC")
target_compile_options(kphp2cpp_src PUBLIC "-fsanitize=thread" "-fPIC")
target_link_options(kphp2cpp PUBLIC "-fsanitize=thread" "-fPIC")
target_link_options(kphp2cpp_src PUBLIC "-fsanitize=thread" "-fPIC")
# target_compile_options(kphp2cpp PUBLIC "-fsanitize=thread" "-fPIC")
# target_compile_options(kphp2cpp_src PUBLIC "-fsanitize=thread" "-fPIC")
# target_link_options(kphp2cpp PUBLIC "-fsanitize=thread" "-fPIC")
# target_link_options(kphp2cpp_src PUBLIC "-fsanitize=thread" "-fPIC")

add_dependencies(kphp2cpp_src auto_vertices_generation_target)
if(COMPILE_RUNTIME_LIGHT)
Expand Down

0 comments on commit 63f6551

Please sign in to comment.