You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Set up Developer PowerShell [for Visual Studio](https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022#start-in-visual-studio)
94
94
1. Ensure that the compiler and linker binaries are in the `PATH` variable.
95
95
96
-
#### Configure for Building...
96
+
#### Configure for Building
97
97
98
-
Two setups are possible to build: in-tree and out-of-tree. The in-tree setup is the most straightforward, as it will build LLVM dependencies as well.
98
+
##### Choose command relevant to LLVM setup:
99
99
100
-
##### ...with LLVM "in-tree"
100
+
###### If you want the more straightforward option
101
+
102
+
Run the "in-tree" setup:
101
103
102
104
```shell
103
105
cmake -GNinja -Bbuild \
@@ -116,9 +118,9 @@ cmake -GNinja -Bbuild \
116
118
117
119
- NOTE: uses external/llvm-project/llvm as the main build, so LLVM will be built in addition to torch-mlir and its sub-projects.
118
120
119
-
#####...with LLVM "out-of-tree"
121
+
###### If you want to use a separate build of LLVM from another directory
120
122
121
-
If you have built llvm-project separately in the directory `$LLVM_INSTALL_DIR`, you can also build the project *out-of-tree* using the following command as template:
0 commit comments