Commit 8021a00e authored by Christian Convey's avatar Christian Convey Committed by crlishka

Forces CI to use clang-3.9 (#135)

* Forces CI to use clang-3.9
parent 6b1ea2a1
......@@ -53,7 +53,10 @@ check_cpu: build_ngraph_cpp_cpu
chmod ug+rwx ${DIR}/BUILD
# Need to use /tmp/ngraph-cpp-test/BUILD, because running as user
# Can't use /root/ngraph-cpp-test/BUILD, because /root not accessible to user
docker run --rm --user ${CALLER_UID}:${CALLER_GID} ${DOCKER_RUN_ENV} ${VOLUME} -w /tmp/ngraph-cpp-test/BUILD -t ngraph_cpp_cpu:${BUILD_VERSION} sh -c "cmake .. ; make check"
docker run \
--rm --user ${CALLER_UID}:${CALLER_GID} \
${DOCKER_RUN_ENV} ${VOLUME} -w /tmp/ngraph-cpp-test/BUILD -t ngraph_cpp_cpu:${BUILD_VERSION} \
sh -c "cmake -DCMAKE_CXX_COMPILER=clang++-3.9 -DCMAKE_C_COMPILER=clang-3.9 .. ; env VERBOSE=1 make check"
# update the files to be owned by the calling user instead of root, to avoid docker mount problems with file ownership
docker run --rm ${VOLUME} \
--env MY_UID=${CALLER_UID} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment