From aad0aac16cbd1cd0c4983655fa023244d2cae3a3 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Mon, 31 Jul 2023 18:37:16 +0530 Subject: [PATCH] Update jenkinsfile --- .jenkins/jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 """