File: 0004-parallelize-build-according-to-PARALLEL.patch

package info (click to toggle)
python-opencascade-pywrap 0.0~git20250714210719.b608b60-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,992 kB
  • sloc: python: 1,622; pascal: 32; makefile: 13; sh: 1
file content (15 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Roland Mas <roland.mas@entierement.net>
Date: Sun, 8 Jun 2025 13:44:53 +0200
Subject: parallelize build according to $PARALLEL

---
 run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.sh b/run.sh
index 1a08174..b1cb825 100755
--- a/run.sh
+++ b/run.sh
@@ -1 +1 @@
-python3 -m bindgen -n 7 -v parse ocp.toml out.pkl && python3 -m bindgen -n 7 -v transform ocp.toml out.pkl out_f.pkl && python3 -m bindgen -n 7 -v generate ocp.toml out_f.pkl
+python3 -m bindgen -n $PARALLEL -v parse ocp.toml out.pkl && python3 -m bindgen -n $PARALLEL -v transform ocp.toml out.pkl out_f.pkl && python3 -m bindgen -n $PARALLEL -v generate ocp.toml out_f.pkl