Skip to content

Commit

Permalink
doc: fix wrong directory path (criyle#116)
Browse files Browse the repository at this point in the history
(cherry picked from commit 205ec8b)
  • Loading branch information
tobiichi3227 authored and evil0th committed Sep 22, 2024
1 parent 9d6f5f0 commit b9e42d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,11 +673,11 @@ For cgroup v2, systemd dbus will be used to create a transient scope for cgroup

Build container init `cinit`:

`go build -o cinit ./cmd/cinit`
`go build -o cinit ./cmd/go-judge-init`

Build `go_judge.so`:

`go build -buildmode=c-shared -o go_judge.so ./cmd/ffi/`
`go build -buildmode=c-shared -o go_judge.so ./cmd/go-judge-ffi/`

For example, in JavaScript, run with `ffi-napi` (seems node 14 is not supported yet):

Expand Down Expand Up @@ -735,7 +735,7 @@ If a bind mount is specifying a target within the previous mounted one, please e
### Windows Support

- Build `go-judge` by: `go build ./cmd/go-judge/`
- Build `go_judge.dll`: (need to install `gcc` as well) `go build -buildmode=c-shared -o go_judge.so ./cmd/ffi/`
- Build `go_judge.dll`: (need to install `gcc` as well) `go build -buildmode=c-shared -o go_judge.so ./cmd/go-judge-ffi/`
- Run: `./go-judge`

#### Windows Security
Expand All @@ -747,7 +747,7 @@ If a bind mount is specifying a target within the previous mounted one, please e
### MacOS Support

- Build `go-judge` by: `go build ./cmd/go-judge/`
- Build `go_judge.dylib`: (need to install `XCode`) `go build -buildmode=c-shared -o go_judge.dylib ./cmd/ffi/`
- Build `go_judge.dylib`: (need to install `XCode`) `go build -buildmode=c-shared -o go_judge.dylib ./cmd/go-judge-ffi/`
- Run: `./go-judge`

#### MacOS Security
Expand Down

0 comments on commit b9e42d3

Please sign in to comment.