Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[MXNET-953] Use gcc8 via cmake options
Browse files Browse the repository at this point in the history
Use CMake to specify the compiler used for ASAN.  This is more portable
and doesn't rely on env vars.
  • Loading branch information
KellenSunderland committed Sep 18, 2018
1 parent ca1a912 commit 3a1565d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ build_ubuntu_cpu_cmake_asan() {

pushd .
cd /work/build
export CC="gcc-8"
export CXX="g++-8"
cmake \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER=/usr/bin/g++-8 \
-DCMAKE_C_COMPILER=/usr/bin/gcc-8 \
-DUSE_CUDA=OFF \
-DUSE_MKL_IF_AVAILABLE=OFF \
-DUSE_OPENMP=OFF \
Expand Down

0 comments on commit 3a1565d

Please sign in to comment.