From 2a176e0e9f1d023e53abe8b906f7388737c7a1eb Mon Sep 17 00:00:00 2001 From: Shiv Date: Wed, 18 Sep 2024 10:36:51 -0700 Subject: [PATCH] syntax --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 159692c3..8e896eef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ def runTests() { gitStatusWrapper(credentialsId: "${env.status_wrapper_creds}", gitHubContext: "Jenkins - pytest-${arch}", account: 'ROCmSoftwarePlatform', repo: 'torch_migraphx') { sh """ docker_tag=\$(echo -n ./ci/base.Dockerfile | sha256sum | awk '{print \$1}') - docker run --rm --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v==`pwd`:/workspace/torch_migraphx rocm/torch-migraphx-ci-ubuntu:\$docker_tag bash -c \ + docker run --rm --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v==`pwd`:/workspace/torch_migraphx rocm/torch-migraphx-ci-ubuntu:\$docker_tag bash -c \\ "cd /workspace/torch_migraphx/py ; export TORCH_CMAKE_PATH=$(python -c "import torch; print(torch.utils.cmake_prefix_path)") ; python -m pip install . ; cd /workspace/torch_migraphx/tests/ ; pytest" """ }