diff --git a/.jenkins/jenkinsfile b/.jenkins/jenkinsfile index 7e2ed31c05..42f99c32e7 100644 --- a/.jenkins/jenkinsfile +++ b/.jenkins/jenkinsfile @@ -64,10 +64,10 @@ def hipBuildTest(String backendLabel) { echo "testing $HIP_PATH" # Check if backend label contains string "amd" or backend host is a server with amd gpu if [[ $backendLabel =~ amd ]]; then - cmake -DHIP_PLATFORM=amd ../catch + cmake -DHIP_PLATFORM=amd -DHIP_PATH=\$CLR_DIR/build/install ../catch else export HIP_PLATFORM=nvidia - cmake -DHIP_PLATFORM=nvidia ../catch + cmake -DHIP_PLATFORM=nvidia -DHIP_PATH=\$CLR_DIR/build/install ../catch fi make -j\$(nproc) build_tests """