From 4d0d06a2d574e65a04670330c7248762795d77b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 14 Mar 2023 15:33:17 +0100
Subject: [PATCH] =?UTF-8?q?macOS=20package:=20replace=20another=20use=20of?=
 =?UTF-8?q?=20=E2=80=9Cnproc=E2=80=9D=20by=20=E2=80=9Csysctl=20-n=20hw.ncp?=
 =?UTF-8?q?u=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

(cherry picked from commit cf0c2858706d8201183527c0fab2a9b8bd10086d)
---
 macOS/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/macOS/Makefile b/macOS/Makefile
index f7c4fb3cf1..3a51bd58a5 100644
--- a/macOS/Makefile
+++ b/macOS/Makefile
@@ -1,4 +1,4 @@
-# Copyright © 2019 Dynare Team
+# Copyright © 2019-2023 Dynare Team
 #
 # This file is part of Dynare.
 #
@@ -17,7 +17,7 @@
 
 .PHONY: all deps clean-deps clean clean-all build
 
-NTHREADS=$(shell nproc)
+NTHREADS=$(shell sysctl -n hw.ncpu)
 
 all: build
 
-- 
GitLab