File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,24 @@ jobs:
103103 mkdir -p /opt/cmake
104104 bash /opt/cmake-*.sh --skip-license --prefix=/opt/cmake
105105 ln -sf /opt/cmake/bin/* /usr/local/bin/
106+
106107 cmake --version
108+
109+ echo "--- 🕵️ Running diagnostics ---"
110+
111+ echo "--- 1. Locating cmath file ---"
112+ find /usr/include -name cmath
113+
114+ echo "--- 2. Standard g++ include paths (baseline) ---"
115+ g++ -E -x c++ - -v < /dev/null 2>&1 | sed -n '/#include <...>/,/End of search list/p'
116+
117+ echo "--- 3. hipcc/clang++ include paths (the important one!) ---"
118+ /opt/rocm/bin/hipcc -E -x c++ - -v < /dev/null 2>&1 | sed -n '/#include <...>/,/End of search list/p'
119+
120+ echo "--- 4. Printing all environment variables ---"
121+ env | sort
122+
123+ echo "--- 🚀 Starting build ---"
107124
108125 ROCM_PATH="/opt/rocm" \
109126 PATH="/opt/rocm/bin:${PATH}" \
You can’t perform that action at this time.
0 commit comments