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
By default, submodules checkout is disabled to prevent cloning large repositories via `cargo`.
172
+
If you're building locally, ensure all submodules are checked out with:
173
+
```shell
174
+
git submodule update --recursive --checkout
169
175
```
170
176
171
177
4. Install the ZKsync LLVM framework builder. This tool clones the [repository of ZKsync LLVM Framework](https://github.com/matter-labs/era-compiler-llvm) and runs a sequence of build commands tuned for the needs of ZKsync compiler toolchain.
@@ -186,8 +192,6 @@ If any of your projects are still using the old locations, please change their d
186
192
```shell
187
193
# Navigate to the root of your local copy of this repository.
188
194
cd era-compiler-solidity
189
-
# Clone the ZKsync LLVM framework. The branch is specified in the file `LLVM.lock`.
190
-
zksync-llvm clone
191
195
# Build the ZKsync LLVM framework.
192
196
zksync-llvm build
193
197
```
@@ -197,8 +201,11 @@ If any of your projects are still using the old locations, please change their d
197
201
You can also clone and build LLVM framework outside of the repository root.
198
202
In this case, do the following:
199
203
200
-
1. Provide an `LLVM.lock` file in the directory where you run `zksync-llvm`.
201
-
See the [default LLVM.lock for an example](../LLVM.lock).
204
+
1. Provide an `LLVM.lock` file in the directory where you run `zksync-llvm`:
0 commit comments