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/source/BackendDesign.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Backends
1
+
# Backend Design
2
2
3
3
Backends are how Etaler supports computing on different device/processors. They perform the actual computing and memory managment. Currently there are 2 backends avaliable.
Building Etaler on Linux should be easy as it is mainly developed on Linux.
4
+
5
+
## Using Docker
6
+
7
+
Etaler's repo ships with a Docerfile in the `.devcontainer` directory. You can copy the file into the docker folder and utilize docker for an easy build.
8
+
9
+
```shell
10
+
cd Etaler/docker
11
+
cp ../.devcontainer/Dockerfile .
12
+
# Build the library
13
+
docker -D build --tag etaler:latest .
14
+
# Run the container
15
+
docker run --rm -it -e DISPLAY=:0 --cap-add=SYS_PTRACE --mount source=etaler-volume,target=/home etaler:latest
16
+
```
17
+
18
+
## Building locally
19
+
20
+
If you are like me - want to use the library locally on the system and/or want to deploy it to an embedded system, Docker may not be an option for you. No worries, building locally is also very easy.
21
+
22
+
Here I show how to setup your system. You'll need to adapt the code if you are not using Arch Linux.
0 commit comments