Commit aac26d32 authored by illsilin's avatar illsilin
Browse files

do not use sccache with staging compiler

parent 16402e96
...@@ -219,7 +219,7 @@ def cmake_build(Map conf=[:]){ ...@@ -219,7 +219,7 @@ def cmake_build(Map conf=[:]){
}else{ }else{
setup_args = " -DCMAKE_BUILD_TYPE=release" + setup_args setup_args = " -DCMAKE_BUILD_TYPE=release" + setup_args
} }
if(env.CK_SCCACHE) if(env.CK_SCCACHE && "${params.COMPILER_VERSION}" != "amd-stg-open")
{ {
setup_args = " -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache " + setup_args setup_args = " -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache " + setup_args
} }
...@@ -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" ]; 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
......
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