diff mbox series

[v13,3/6] shippable: set CXX for clang case

Message ID 1518051619-20953-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v13,1/6] shippable: report test results even if ci step failed | expand

Commit Message

Github ODP bot Feb. 8, 2018, 1 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 441 (lumag:shippable-ci)
 ** https://github.com/Linaro/odp/pull/441
 ** Patch: https://github.com/Linaro/odp/pull/441.patch
 ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a
 ** Merge commit sha: 223a609fc64a296b12ffa57310c51ace739462bc
 **/
 .shippable.yml     | 1 +
 scripts/Dockerfile | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/.shippable.yml b/.shippable.yml
index a9e008439..d17319e70 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -36,6 +36,7 @@  build:
     - sudo mount -t hugetlbfs nodev /mnt/huge
     - mkdir -p /dev/shm/odp
     - ./bootstrap
+    - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi
     - ./configure --disable-test-perf
     - make
     - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check -k
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 7e117971d..3e1d54dbd 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -25,3 +25,4 @@  RUN sudo apt-get update && sudo apt-get install -yy \
 
 RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
 RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang
+RUN sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++