Skip to content

Commit 7ccf990

Browse files
committed
Debug
1 parent 4707a3c commit 7ccf990

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/transformer-engine-ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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}" \

0 commit comments

Comments
 (0)