Skip to content

Commit

Permalink
Fixing intermittent OSX test failure issue due to low default filehan…
Browse files Browse the repository at this point in the history
…dle limit (#613)

Update README to fix intermittent OSX test failure issue due to low default OS filehandle limit

* Fixing intermittent OSX test failure issue due to low default filehandle limit

* Make sure ~/.bash_profile changes are reloaded properly

* Additional explanation for the ulimit line for OSX in the README

Co-authored-by: cxloe <77425619+cxloe@users.noreply.github.com>

* Fixing spacing issue
  • Loading branch information
brucek authored Dec 1, 2022
1 parent 0597e86 commit ad940ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,14 @@ sudo xcode-select -s /Applications/Xcode_12.5.1.app/Contents/Developer
CPPFLAGS="-I/usr/local/opt/openssl@3/include"
PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"
```

The `ulimit` command fixes an issue related to shell resource usage.

MacOS:
```sh
echo 'ulimit -n 4096' >> ~/.bash_profile
echo 'export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
Expand Down

0 comments on commit ad940ae

Please sign in to comment.