Pierre Gruet pushed to branch wip/21 at Debian Java Maintainers / openjfx
Commits:
8c69ef95 by Pierre Gruet at 2026-08-14T20:46:54+02:00
Passing the number of processors to use to CMake
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/honouring_number_of_processors.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -4,7 +4,8 @@ openjfx (21.0.12+3-1) UNRELEASED; urgency=medium
* New upstream version 21.0.12+3
* Refreshing patches
* Setting the new path of src.zip in d/rules
- * Honouring "parallel=" information rather than using nproc in d/rules
+ * Honouring "parallel=" information rather than using nproc in d/rules,
+ correctly passing the number of processors to CMake (Closes: #1117037)
* Raising Standards version to 4.7.4:
- Removing Priority: optional, which is now defaults
* Having classifier-less artifacts point to the jars under /usr/share/java
=====================================
debian/patches/honouring_number_of_processors.patch
=====================================
@@ -0,0 +1,18 @@
+Description: passing to CMake the number of processors to use for the Debian
+ build
+Author: Pierre Gruet <[email protected]>
+Bug-Debian: https://bugs.debian.org/1117037
+Forwarded: not-needed
+Last-Update: 2026-08-14
+
+--- a/build.gradle
++++ b/build.gradle
+@@ -583,7 +583,7 @@
+ ext.IS_USE_CYGWIN = Boolean.parseBoolean(USE_CYGWIN)
+
+ // Define the number of threads to use when compiling (specifically for
native compilation, including webkit)
+-defineProperty("NUM_COMPILE_THREADS",
"${Runtime.runtime.availableProcessors()}")
++defineProperty("NUM_COMPILE_THREADS", System.getenv("NUMBER_OF_PROCESSORS"))
+
+ //
+ // The next three sections of properties are used to generate the
=====================================
debian/patches/series
=====================================
@@ -21,3 +21,4 @@ no_icu_build.patch
freetype_c_types.patch
missing_include_DFGBasicBlockInlines.patch
pattern_matching_java_12.patch
+honouring_number_of_processors.patch
View it on GitLab:
https://salsa.debian.org/java-team/openjfx/-/commit/8c69ef95edb44fbb425d6f806f47d776090b58ad
--
View it on GitLab:
https://salsa.debian.org/java-team/openjfx/-/commit/8c69ef95edb44fbb425d6f806f47d776090b58ad
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help
_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits