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
Copy file name to clipboardExpand all lines: nativelink-docs/quickstart.mdx
+14-14
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ bazel --version
40
40
```
41
41
42
42
```shell Docker-ARM
43
-
docker run -it --name=NL -v $(pwd):/native-link ubuntu:latest
43
+
docker run -it --name=NL -v $(pwd):/nativelink ubuntu:latest
44
44
45
45
# If above has already been run or trying to start in new terminal:
46
46
docker exec -it NL bash
@@ -64,7 +64,7 @@ bazel --version
64
64
```
65
65
66
66
```shell Docker-x86
67
-
docker run -it --name=NL -v $(pwd):/native-link ubuntu:latest
67
+
docker run -it --name=NL -v $(pwd):/nativelink ubuntu:latest
68
68
69
69
# If above has already been run or trying to start in new terminal:
70
70
docker exec -it NL bash
@@ -104,7 +104,7 @@ bazel --version
104
104
### Compile and Run NativeLink Server
105
105
106
106
The following command will allow you to compile and run the NativeLink server for the first time.
107
-
107
+
108
108
```shell
109
109
apt install -y gcc g++ lld python3
110
110
# Install cargo (if needed).
@@ -113,17 +113,17 @@ The following command will allow you to compile and run the NativeLink server fo
113
113
114
114
# Run with Cargo:
115
115
# Unoptimized development build
116
-
cargo run --bin cas -- ./native-link-config/examples/basic_cas.json
116
+
cargo run --bin cas -- ./nativelink-config/examples/basic_cas.json
117
117
118
118
# Optimized release build
119
-
cargo run --release --bin cas -- ./native-link-config/examples/basic_cas.json
119
+
cargo run --release --bin cas -- ./nativelink-config/examples/basic_cas.json
120
120
121
121
# Run with Bazel:
122
122
# Unoptimized development build on Unix.
123
-
bazel run cas -- ./native-link-config/examples/basic_cas.json
123
+
bazel run cas -- ./nativelink-config/examples/basic_cas.json
124
124
125
125
# Optimized release build on Unix.
126
-
bazel run -c opt cas -- ./native-link-config/examples/basic_cas.json
126
+
bazel run -c opt cas -- ./nativelink-config/examples/basic_cas.json
127
127
```
128
128
129
129
<Note>The `--release` flag causes link-time-optmization to be enabled, which can take a while to compile, but will result in a much faster binary.</Note>
@@ -138,7 +138,7 @@ bazel test //... \
138
138
--remote_executor=grpc://127.0.0.1:50051 \
139
139
--remote_default_exec_properties=cpu_count=1
140
140
141
-
# This causes bazel to run the commands through an all-in-one `CAS`, `scheduler`
141
+
# This causes bazel to run the commands through an all-in-one `CAS`, `scheduler`
142
142
# and `worker`.
143
143
```
144
144
<Note>If the NativeLink server was run in a docker container, the above command for starting the NativeLink client will need to be run in the same container as the server in order to connect.</Note>
0 commit comments