From a8d4c51d7eb50bba006ebe19d07395f2aca0f8eb 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

---
 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