diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-10-24 12:50:56 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2021-10-24 14:04:46 +0100 |
commit | b42767202a04410f959957bc18f4d2313dcc1ee1 (patch) | |
tree | ff54f887fa68f7f412fe5205490bf5129b91724d /pkgs/development/compilers/openjdk | |
parent | 93de7f2421d69071780b3b15cedcf0678c48e1bb (diff) |
openjdk: expliictly mark as 'enableParallelBuilding = false;'
Note: this change does not make build sequential. Build system still uses it's way to parallelize the build. The only effect of this change is not to pass unsupported -j option to Makefile when nixpkgs default will be switched to enableParallelBuilding = true;
Diffstat (limited to 'pkgs/development/compilers/openjdk')
-rw-r--r-- | pkgs/development/compilers/openjdk/11.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/12.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/13.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/14.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/15.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/16.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/17.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk/8.nix | 6 |
8 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/development/compilers/openjdk/11.nix b/pkgs/development/compilers/openjdk/11.nix index 0f19b19b6049d..6f4b78286d63a 100644 --- a/pkgs/development/compilers/openjdk/11.nix +++ b/pkgs/development/compilers/openjdk/11.nix @@ -74,6 +74,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/12.nix b/pkgs/development/compilers/openjdk/12.nix index 3bbe12477388b..8f2b6d4054622 100644 --- a/pkgs/development/compilers/openjdk/12.nix +++ b/pkgs/development/compilers/openjdk/12.nix @@ -83,6 +83,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]; + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/13.nix b/pkgs/development/compilers/openjdk/13.nix index ed79ceafc55ea..7fb1c35cf9f57 100644 --- a/pkgs/development/compilers/openjdk/13.nix +++ b/pkgs/development/compilers/openjdk/13.nix @@ -83,6 +83,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/14.nix b/pkgs/development/compilers/openjdk/14.nix index 247cf941f002d..29a5c3cc5c312 100644 --- a/pkgs/development/compilers/openjdk/14.nix +++ b/pkgs/development/compilers/openjdk/14.nix @@ -78,6 +78,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/15.nix b/pkgs/development/compilers/openjdk/15.nix index d41a245c54486..987d018cdf378 100644 --- a/pkgs/development/compilers/openjdk/15.nix +++ b/pkgs/development/compilers/openjdk/15.nix @@ -78,6 +78,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/16.nix b/pkgs/development/compilers/openjdk/16.nix index df8a3a68f4878..e6fd12a632b38 100644 --- a/pkgs/development/compilers/openjdk/16.nix +++ b/pkgs/development/compilers/openjdk/16.nix @@ -84,6 +84,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/17.nix b/pkgs/development/compilers/openjdk/17.nix index 857f7c75c1d27..757fe8f101edb 100644 --- a/pkgs/development/compilers/openjdk/17.nix +++ b/pkgs/development/compilers/openjdk/17.nix @@ -86,6 +86,12 @@ let "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "images" ]; installPhase = '' diff --git a/pkgs/development/compilers/openjdk/8.nix b/pkgs/development/compilers/openjdk/8.nix index 7a69038d5e0a7..8d68c2a6010ed 100644 --- a/pkgs/development/compilers/openjdk/8.nix +++ b/pkgs/development/compilers/openjdk/8.nix @@ -155,6 +155,12 @@ let "-lgtk-x11-2.0" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2" ]); + # -j flag is explicitly rejected by the build system: + # Error: 'make -jN' is not supported, use 'make JOBS=N' + # Note: it does not make build sequential. Build system + # still runs in parallel. + enableParallelBuilding = false; + buildFlags = [ "all" ]; doCheck = false; # fails with "No rule to make target 'y'." |