Update jenkinsfile

Dieser Commit ist enthalten in:
Maneesh Gupta
2023-07-31 18:37:16 +05:30
committet von GitHub
Ursprung f7295e3ea3
Commit aad0aac16c
+2 -2
Datei anzeigen
@@ -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
"""