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