Skip to content

Commit

Permalink
Remove ulimit message on macos (#170)
Browse files Browse the repository at this point in the history
* Remove ulimit message on macos

* Bump version
  • Loading branch information
MasloMaslane authored Jan 3, 2024
1 parent 6eab04b commit f507e1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinol_make/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from sinol_make import util, oiejq


__version__ = "1.5.17"
__version__ = "1.5.18"


def configure_parsers():
Expand Down
2 changes: 2 additions & 0 deletions src/sinol_make/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ def change_stack_size_to_unlimited():
"""
Function to change the stack size to unlimited.
"""
if is_macos():
return
try:
resource.setrlimit(resource.RLIMIT_STACK, (resource.RLIM_INFINITY, resource.RLIM_INFINITY))
except (resource.error, ValueError):
Expand Down

0 comments on commit f507e1b

Please sign in to comment.