"vscode:/vscode.git/clone" did not exist on "5d386d5b77aad51a976af27cb9a3a1f1a3ed5f7f"
Commit b7c6350f authored by illsilin's avatar illsilin
Browse files

fix the condition syntax

parent 1b5af83d
......@@ -233,7 +233,7 @@ def cmake_build(Map conf=[:]){
rm -rf install
mkdir install
cd build
if [ "${env.CK_SCCACHE}" != "null" && "${params.COMPILER_VERSION}" != "amd-stg-open" ]; then \
if [ "${env.CK_SCCACHE}" != "null" ] && [ "${params.COMPILER_VERSION}" != "amd-stg-open" ]; then \
export ROCM_PATH=/opt/rocm
export SCCACHE_ENABLED=true
export SCCACHE_LOG_LEVEL=debug
......@@ -242,7 +242,6 @@ def cmake_build(Map conf=[:]){
export SCCACHE_BIN=/usr/local/.cargo/bin/sccache
export SCCACHE_EXTRAFILES=/tmp/.sccache/rocm_compilers_hash_file
export SCCACHE_REDIS="redis://${env.CK_SCCACHE}"
../script/sccache_wrapper.sh --enforce_redis
fi
"""
......
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