From 713e7b89c0d5f372d6ada0da47ac28128c7899e9 Mon Sep 17 00:00:00 2001 From: Allard Hendriksen Date: Tue, 21 Mar 2023 18:47:18 +0100 Subject: [PATCH] Try to fix segmentation faults (again) Perhaps the file system outside the CMakeFiles/ directory is not writable. --- cpp/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index a88dbba249..e3606c8051 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -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()