GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

Commit 7fadbf8d authored by qinsoon's avatar qinsoon

use CC env var

parent 02d15a7d
Pipeline #46 failed with stage
in 13 minutes and 31 seconds
......@@ -65,7 +65,7 @@ echo "ARCH: $MACH"
echo "---------"
if [ "$OS" == "linux" ]; then
RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang-3.8 CLANG_FOR_AOT=clang-3.8 cargo test "$@"
RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang-3.8 cargo test "$@"
elif [ "$OS" == "Darwin" ]; then
RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 cargo test "$@"
else
......
......@@ -16,7 +16,7 @@ pub mod c_api;
pub fn get_test_clang_path() -> String {
use std::env;
match env::var("CLANG_FOR_AOT") {
match env::var("CC") {
Ok(val) => val,
Err(_) => "clang".to_string()
}
......
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