Update jenkinsfile

[ROCm/hip-tests commit: aad0aac16c]
Este cometimento está contido em:
Maneesh Gupta criou e GitHub cometeu 2023-07-31 18:37:16 +05:30
1 ascendente 27a7591e94
cometimento 783f4f0e80
1 ficheiro modificado
+2 -2
+2 -2
Ver ficheiro
@@ -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
"""