Skip to content

Commit

Permalink
doc: fix wrong directory path (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiichi3227 authored Sep 18, 2024
1 parent fdf64f4 commit 205ec8b
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 @@ -670,11 +670,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 @@ -732,7 +732,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 @@ -744,7 +744,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 205ec8b

Please sign in to comment.