Skip to content

Commit

Permalink
Try to fix segmentation faults (again)
Browse files Browse the repository at this point in the history
Perhaps the file system outside the CMakeFiles/ directory is not
writable.
  • Loading branch information
ahendriksen committed Mar 21, 2023
1 parent 2aec639 commit 713e7b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ if(RAFT_COMPILE_LIBRARY)
) # convert to relative path if not already one
endif()
string(MAKE_C_IDENTIFIER "nvcc_log_${source}" filename) # convert to valid filename
set_source_files_properties(${source} PROPERTIES COMPILE_FLAGS "--time=${filename}.csv")
set_source_files_properties(
${source} PROPERTIES COMPILE_FLAGS "--time=CMakeFiles/${filename}.csv"
)
endforeach()
# endif()

Expand Down

0 comments on commit 713e7b8

Please sign in to comment.