From 66f75238e335344deaa278abd75e9456aade8420 Mon Sep 17 00:00:00 2001 From: Devasena Kirthika S Date: Tue, 14 May 2024 08:33:57 +0000 Subject: [PATCH] [ZENDNN FWK] Update BUILD_SOURCE.md file - add --allow_running_as_root param to build command Signed-off-by: Devasena Kirthika S Change-Id: Ie0d682aade01771ccd7f107b8c401351851538e7 Reviewed-on: https://gerrit-git.amd.com/c/amd/ec/ZenDNN_ONNXRuntime/+/1056206 Tested-by: Llvm Cpu Reviewed-by: Pratap Gadi Reviewed-by: Ajeet Singh Reviewed-by: Chandra Kumar Ramasamy (cherry picked from commit 475829d9770c474fa07d9ecaf936d42295c84782) Reviewed-on: https://gerrit-git.amd.com/c/amd/ec/ZenDNN_ONNXRuntime/+/1057069 Tested-by: Kiriti Pendyala --- BUILD_SOURCE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD_SOURCE.md b/BUILD_SOURCE.md index 5992b9a334..bf8612fcc7 100644 --- a/BUILD_SOURCE.md +++ b/BUILD_SOURCE.md @@ -39,7 +39,7 @@ $ source scripts/zendnn_ONNXRT_env_setup.sh ### Build and install the pip package Ensure that you install the ONNX Runtime-ZenDNN package corresponding to the Python version with which you created the conda environment. ``` -$ ./build.sh --config Release --build_shared_lib --parallel --use_zendnn --build_wheel --use_openmp --skip_onnx_tests +$ ./build.sh --config Release --build_shared_lib --parallel --use_zendnn --build_wheel --use_openmp --skip_onnx_tests --allow_running_as_root $ pip install --force-reinstall ./build/Linux/Release/dist/<*.whl> $ pip install --force protobuf==3.20.2 ```