Skip to content

Commit 69d60a1

Browse files
Apply suggestions from code review
Syntax highlighting and wording fix. Co-authored-by: Ben Rimmington <[email protected]>
1 parent 1bd8fb2 commit 69d60a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/OpenBSD.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Swift builds and runs on OpenBSD (tested on 6.8-beta), with some special conside
66

77
The following packages are required to build Swift. You can install these via `pkg_add`:
88

9-
```
9+
```shell
1010
$ doas pkg_add bash cmake e2fsprogs git icu4c ninja py-six python3
1111
```
1212

1313
Because LLVM is built as part of building Swift and does not include some of the patches to handle the OpenBSD library naming convention, you will need to create some symlinks:
1414

15-
```
15+
```shell
1616
$ doas ln -s /usr/lib/libc++abi.so.2.1 /usr/lib/libc++abi.so
1717
$ doas ln -s /usr/lib/libc++.so.4.0 /usr/lib/libc++.so
1818
$ doas ln -s /usr/lib/libc.so.96.0 /usr/lib/libc.so
@@ -25,17 +25,17 @@ $ doas ln -s /usr/lib/libpthread.so.26.1 /usr/lib/libpthread.so
2525

2626
Also link `~/bin/python` to the `python2.7` binary:
2727

28-
```
28+
```shell
2929
$ doas ln -s /usr/local/bin/python2.7 ~/bin/python
3030
```
3131

32-
Since the build requires significant amounts of memory at certain points, you may need to ensure both that the user you are using to build Swift has the appropriate limits set. Using the `staff` group in `login.conf` and ensuring the shell limits are raised is recommended.
32+
Since the build requires significant amounts of memory at certain points, you may need to ensure that the user you are using to build Swift has the appropriate limits set. Using the `staff` group in `login.conf` and ensuring the shell limits are raised is recommended.
3333

3434
## Downloading the source
3535

3636
Download the sources with the [Getting Started](/docs/HowToGuides/GettingStarted.md) guide (see "Cloning the project"). Use the config file below when running `update-checkout` by specifying the file name with the `--config` flag. This config file just prepares cmark, LLVM, and Swift (as this is the minimal set of dependencies which has been tested for OpenBSD).
3737

38-
```
38+
```json
3939
{
4040
"ssh-clone-pattern": "[email protected]:%s.git",
4141
"https-clone-pattern": "https://github.com/%s.git",

0 commit comments

Comments
 (0)