Skip to content

Commit fc6397d

Browse files
committed
add more debug, drop trycompile find commands
1 parent 3916acd commit fc6397d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ci/scripts/ci.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,15 @@ cmake_args=("${CMAKE_ARGS[@]+"${CMAKE_ARGS[@]}"}")
4545
if ! 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
6658
fi
6759
if ver_ge "$cmake_ver" "3.15"; then

0 commit comments

Comments
 (0)