File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -170,13 +170,13 @@ RUN <<EOF
170170CC_VER=$(${CC} -dumpversion)
171171CC_VER=${CC_VER%%.*}
172172if [[ "${CC_VER}" != "${CLANG_VERSION}" ]]; then
173- echo "ERROR: 'clang -dumpversion' gives '${CC_VER}', which does not match expected version '${GCC_VERSION }'."
173+ echo "ERROR: 'clang -dumpversion' gives '${CC_VER}', which does not match expected version '${CLANG_VERSION }'."
174174 exit 1
175175fi
176176CXX_VER=$(${CXX} -dumpversion)
177177CXX_VER=${CXX_VER%%.*}
178178if [[ "${CXX_VER}" != "${CLANG_VERSION}" ]]; then
179- echo "ERROR: clang++ -dumpversion gives '${CXX_VER}', which does not match expected version '${GCC_VERSION }'."
179+ echo "ERROR: clang++ -dumpversion gives '${CXX_VER}', which does not match expected version '${CLANG_VERSION }'."
180180 exit 1
181181fi
182182EOF
Original file line number Diff line number Diff line change @@ -145,13 +145,13 @@ RUN <<EOF
145145CC_VER=$(${CC} -dumpversion)
146146CC_VER=${CC_VER%%.*}
147147if [[ "${CC_VER}" != "${CLANG_VERSION}" ]]; then
148- echo "ERROR: 'clang -dumpversion' gives '${CC_VER}', which does not match expected version '${GCC_VERSION }'."
148+ echo "ERROR: 'clang -dumpversion' gives '${CC_VER}', which does not match expected version '${CLANG_VERSION }'."
149149 exit 1
150150fi
151151CXX_VER=$(${CXX} -dumpversion)
152152CXX_VER=${CXX_VER%%.*}
153153if [[ "${CXX_VER}" != "${CLANG_VERSION}" ]]; then
154- echo "ERROR: clang++ -dumpversion gives '${CXX_VER}', which does not match expected version '${GCC_VERSION }'."
154+ echo "ERROR: clang++ -dumpversion gives '${CXX_VER}', which does not match expected version '${CLANG_VERSION }'."
155155 exit 1
156156fi
157157EOF
You can’t perform that action at this time.
0 commit comments