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: docs/DEVELOPMENT.md
+13-15Lines changed: 13 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,9 @@ The project consists of two main components:
20
20
### Build all components
21
21
22
22
```bash
23
-
go build ./cmd/containerd-shim-remoteproc-v1
24
-
```
25
-
26
-
```bash
27
-
go build ./cmd/remoteproc-runtime
23
+
mkdir -p dist
24
+
go build -o dist/containerd-shim-remoteproc-v1 ./cmd/containerd-shim-remoteproc-v1
25
+
go build -o dist/remoteproc-runtime ./cmd/remoteproc-runtime
28
26
```
29
27
30
28
⚠️ This runtime specifically targets Linux; building on other platforms requires setting `GOOS=linux`. If cross-compiling, specify the target architecture with `GOARCH=arm64`.
@@ -81,12 +79,11 @@ Useful for development without access to hardware with Remoteproc support.
81
79
1.**Build and install the shim and runtime with custom root**
82
80
83
81
```bash
84
-
go build ./cmd/containerd-shim-remoteproc-v1
85
-
```
82
+
mkdir -p dist
83
+
go build -o dist/containerd-shim-remoteproc-v1 ./cmd/containerd-shim-remoteproc-v1
86
84
87
-
```bash
88
85
go build -ldflags "-X github.com/arm/remoteproc-runtime/internal/rootpath.prefix=/tmp/test-root" \
0 commit comments