Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
SGrondin committed Jun 6, 2023
1 parent ad38803 commit bff0933
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ mv quickjs-2021-03-27 quickjs
cd quickjs && make && cd -
```

### MacOS - Development
```sh
# Build
dune build src/cli/strings.exe -w

# Run (separate terminal)
cp _build/default/src/cli/strings.exe strings.mac && ./strings.mac
```

### MacOS - Build & Run
```sh
# Don't forget to update the version number in [strings.ml]
Expand Down
2 changes: 1 addition & 1 deletion src/quickjs/dune
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
(rule
(targets libomp.a)
(action (bash "
cp /usr/local/Cellar/libomp/14.0.6/lib/libomp.a . &> /dev/null \
cp /usr/local/Cellar/libomp/15.0.7/lib/libomp.a . &> /dev/null \
|| cp /usr/lib/libgomp.a libomp.a
"))
(mode standard)
Expand Down

0 comments on commit bff0933

Please sign in to comment.