Skip to content

Commit f8cc347

Browse files
committed
chore: update macOS specific issues
Signed-off-by: Oleksii Kurinnyi <[email protected]>
1 parent 6305d2d commit f8cc347

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,30 @@ system.
6060

6161
#### macOS Specific Issues
6262

63-
On macOS, the default `make` utility might be outdated, leading to issues with some `Makefile` targets. To resolve this, it's recommended to install a newer version of `make` using Homebrew and ensure it's prioritized in your system's `$PATH`.
63+
On macOS, the default `make` utility might be outdated, leading to issues with some `Makefile` targets. To resolve this, it's recommended to install a newer version of `make` using Homebrew and ensure it's prioritized in your system's `$PATH`. Some scripts also require GNU `coreutils`.
6464

6565
> Note: `make` version `4.4.1` has been tested and confirmed to resolve these issues.
6666
67-
1. Install Homebrew `make`:
67+
1. Install Homebrew `make` and `coreutils`:
6868

6969
```bash
70-
brew install make
70+
brew install coreutils make
7171
```
7272

73-
2. Add the Homebrew `make` executable to your `$PATH` by adding the following line to your shell configuration file (e.g., `~/.zshrc`, `~/.bash_profile`):
73+
2. Add the Homebrew `make` and `coreutils` executables to your `$PATH`. Open a new terminal session and check if they are in your path:
74+
75+
```bash
76+
which make split
77+
```
78+
79+
If the output shows paths inside `/opt/homebrew/`, you are all set. Otherwise, add the following lines to your shell configuration file (e.g., `~/.zshrc`, `~/.bash_profile`):
7480

7581
```bash
7682
export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"
83+
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
7784
```
7885

79-
After adding, reload your shell configuration (e.g., `source ~/.zshrc` or `source ~/.bash_profile`) or open a new terminal session.
86+
After adding, reload your shell configuration (e.g., `source ~/.zshrc` or `source ~/.bash_profile`) or open a new terminal session.
8087

8188
### Makefile
8289

0 commit comments

Comments
 (0)