mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 10:35:50 +00:00
debug: add ninja verbose output to see compile commands
Temporarily adding -v flag to ninja builds to see actual compile commands. This will show whether ccache is actually being invoked or if the CMAKE_C_COMPILER_LAUNCHER setting isn't taking effect. We should see either: ccache /usr/bin/g++-13 -c file.cpp (working) /usr/bin/g++-13 -c file.cpp (not working) This is temporary for debugging - remove once ccache issue resolved.
This commit is contained in:
3
.github/actions/xahau-ga-build/action.yml
vendored
3
.github/actions/xahau-ga-build/action.yml
vendored
@@ -161,7 +161,8 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd ${{ inputs.build_dir }}
|
cd ${{ inputs.build_dir }}
|
||||||
cmake --build . --config ${{ inputs.configuration }} --parallel $(nproc)
|
# TEMPORARY: Add -v to see compile commands for ccache debugging
|
||||||
|
cmake --build . --config ${{ inputs.configuration }} --parallel $(nproc) -- -v
|
||||||
|
|
||||||
- name: Show ccache statistics
|
- name: Show ccache statistics
|
||||||
if: inputs.ccache_enabled == 'true'
|
if: inputs.ccache_enabled == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user