From 0cfa273c2273bda197c9c5334bbd9e4bcf5de978 Mon Sep 17 00:00:00 2001 From: "Nat Kershaw (MSFT)" Date: Mon, 22 Apr 2024 09:57:08 -0700 Subject: [PATCH] Update build-from-source.md --- docs/genai/howto/build-from-source.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/genai/howto/build-from-source.md b/docs/genai/howto/build-from-source.md index 1b0abf2fcafc5..ebd1bb7f7d51c 100644 --- a/docs/genai/howto/build-from-source.md +++ b/docs/genai/howto/build-from-source.md @@ -86,7 +86,7 @@ Build from source and copy the include and libraries into `ORT_HOME` On Windows -```cmd +```bash build.bat --build_shared_lib --skip_tests --parallel [--use_dml | --use_cuda] --config Release copy include\onnxruntime\core\session\onnxruntime_c_api.h \include copy build\Windows\Release\Release\*.dll \lib @@ -95,7 +95,7 @@ copy build\Windows\Release\Release\onnxruntime.lib \lib If building for DirectML -```cmd +```bash copy include\onnxruntime\core\providers\dml\dml_provider_factory.h \include ```