Skip to content

Commit

Permalink
Replace ov prefix with ov dir var
Browse files Browse the repository at this point in the history
  • Loading branch information
yatarkan committed Jul 26, 2024
1 parent 49d5d4d commit 4136219
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ The preferred approach is to build both OpenVINO and OpenVINO GenAI from sources
### Build Instructions

1. Build and install OpenVINO from sources following the [instructions](https://github.com/openvinotoolkit/openvino/wiki#how-to-build).
The path to the openvino install directory is referred as <INSTALL_DIR> throughout the document.
The path to the openvino install directory is referred as `<OpenVINO_DIR>` throughout the document.
2. Clone OpenVINO GenAI repository and init submodules:
```sh
git clone --recursive https://github.com/openvinotoolkit/openvino.genai.git
cd openvino.genai
```
3. Build the project:
```sh
source <INSTALL_DIR>/setupvars.sh
source <OpenVINO_DIR>/setupvars.sh
cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
cmake --build ./build/ --config Release --target package -j
cmake --install ./build/ --config Release --prefix ov
cmake --install ./build/ --config Release --prefix <OpenVINO_DIR>
```

## Build for Windows Systems
Expand All @@ -40,18 +40,18 @@ The path to the openvino install directory is referred as <INSTALL_DIR> througho
### Build Instructions

1. Build and install OpenVINO from sources following the [instructions](https://github.com/openvinotoolkit/openvino/wiki#how-to-build)
The path to the openvino install directory is referred as <INSTALL_DIR> throughout the document.
The path to the openvino install directory is referred as <OpenVINO_DIR> throughout the document.
2. Clone OpenVINO GenAI repository and init submodules:
```sh
git clone --recursive https://github.com/openvinotoolkit/openvino.genai.git
cd openvino.genai
```
3. Build the project:
```sh
call <INSTALL_DIR>\setupvars.bat
call <OpenVINO_DIR>\setupvars.bat
cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
cmake --build ./build/ --config Release --target package -j
cmake --install ./build/ --config Release --prefix ov
cmake --install ./build/ --config Release --prefix <OpenVINO_DIR>
```

## Build for macOS Systems
Expand All @@ -72,16 +72,16 @@ The path to the openvino install directory is referred as <INSTALL_DIR> througho
### Build Instructions

1. Build and install OpenVINO from sources following the [instructions](https://github.com/openvinotoolkit/openvino/wiki#how-to-build)
The path to the openvino install directory is referred as <INSTALL_DIR> throughout the document.
The path to the openvino install directory is referred as <OpenVINO_DIR> throughout the document.
2. Clone OpenVINO GenAI repository and init submodules:
```sh
git clone --recursive https://github.com/openvinotoolkit/openvino.genai.git
cd openvino.genai
```
3. Build the project:
```sh
source <INSTALL_DIR>/setupvars.sh
source <OpenVINO_DIR>/setupvars.sh
cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
cmake --build ./build/ --config Release --target package -j
cmake --install ./build/ --config Release --prefix ov
cmake --install ./build/ --config Release --prefix <OpenVINO_DIR>
```

0 comments on commit 4136219

Please sign in to comment.