File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -45,23 +45,15 @@ cmake_args=("${CMAKE_ARGS[@]+"${CMAKE_ARGS[@]}"}")
4545if ! cmake " $src_dir " " ${cmake_args[@]} " ; then
4646 # If cmake failed, try it again with debug options.
4747 # Could add --trace / --trace-expand here too but they are very verbose.
48- cmake_args+=(--debug-find --debug-trycompile --log-level=DEBUG -DCMAKE_TRY_COMPILE_NO_CLEAN=ON )
48+ cmake_args+=(--debug-find --debug-output --debug- trycompile --log-level=DEBUG)
4949 cmake " $src_dir " " ${cmake_args[@]} " || echo " cmake exited with $? "
5050 echo " === CMakeConfigureLog.yaml ==="
5151 if [ -f CMakeFiles/CMakeConfigureLog.yaml ]; then
5252 cat CMakeFiles/CMakeConfigureLog.yaml
5353 else
5454 echo " (no configure log found)"
5555 fi
56-
57-
5856 find . -ls
59- find . -type f -name CMakeOutput.log -exec sh -c ' echo "--- {} ---"; cat "{}"' \;
60- find . -type f -name CMakeError.log -exec sh -c ' echo "--- {} ---"; cat "{}"' \;
61- find CMakeFiles -type d -name ' CMakeScratch*' | while read -r d; do
62- echo " --- $d ---"
63- find " $d " -type f -maxdepth 1 -exec sh -c ' echo ">>> {}"; cat "{}"; echo' \;
64- done
6557 false
6658fi
6759if ver_ge " $cmake_ver " " 3.15" ; then
You can’t perform that action at this time.
0 commit comments