File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,17 @@ jobs:
3131 matrix :
3232 compiler : [gcc]
3333 steps :
34- - name : Analyze Disk Usage
34+ - name : Analyze Disk Usage (Detailed)
3535 run : |
3636 df -h
37- echo "--- Large Directories (Depth 2) ---"
38- sudo du -h --max-depth=2 --exclude=/proc --exclude=/sys --exclude=/dev /usr /opt /var | sort -rh | head -n 20
39-
37+ echo "--- Top 10 Largest Directories in /usr/local ---"
38+ sudo du -h --max-depth=2 /usr/local | sort -rh | head -n 10
39+ echo "--- Top 10 Largest Directories in /opt ---"
40+ sudo du -h --max-depth=2 /opt | sort -rh | head -n 10
41+ echo "--- Top 10 Directories by File Count (Slow to Delete) ---"
42+ # Find directories with most files (approximate check on top usage dirs)
43+ sudo find /usr/local /opt -maxdepth 3 -type d -print0 | xargs -0 -I{} sh -c 'echo "$(find "{}" -maxdepth 1 | wc -l) {}"' | sort -rn | head -n 10
44+
4045 # - name: Free Disk Space
4146 # run: |
4247 # sudo rm -rf /usr/share/dotnet
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
2323set (CMAKE_CUDA_STANDARD 14)
2424set (CMAKE_CUDA_STANDARD_REQUIRED ON )
2525
26+ # no modules in this library
27+ set (CMAKE_CXX_SCAN_FOR_MODULES OFF )
28+
2629# Default directories for installation
2730set (FL_INSTALL_INC_DIR "include" CACHE PATH "Install path for headers" )
2831set (FL_INSTALL_INC_DIR_HEADER_LOC ${FL_INSTALL_INC_DIR} /flashlight)
You can’t perform that action at this time.
0 commit comments