Commit Graph

82 Commits

Author SHA1 Message Date
Sergei Trofimovich
bec778740c gnumake44: revert "reintrocude older 4.4 version for openjdk"
This reverts commit d78148fb39.

openjdk{11,17,19} were ported to latest gnumake-4.4.1.
2023-03-12 12:25:46 +00:00
Sergei Trofimovich
d78148fb39 gnumake44: reintrocude older 4.4 version for openjdk
openjdk fails to build after gnumake-4.4.1 update. Let's bring back 4.4
release until we sort out openjdk.
2023-03-04 21:16:48 +00:00
Sergei Trofimovich
945ff62ef8 gnumake: 4.4 -> 4.4.1
Changes: https://lists.gnu.org/archive/html/info-gnu/2023-02/msg00011.html
2023-02-27 09:44:48 +00:00
Sergei Trofimovich
df7b6e6acc gnumake: 4.3 -> 4.4
Notable changes (have a chance to break some projects):

    * WARNING: Backward-incompatibility!
      Previously each target in a explicit grouped target rule was considered
      individually: if the targets needed by the build were not out of date the
      recipe was not run even if other targets in the group were out of date.  Now
      if any of the grouped targets are needed by the build, then if any of the
      grouped targets are out of date the recipe is run and all targets in the
      group are considered updated.

    * WARNING: Backward-incompatibility!
      Previously only simple (one-letter) options were added to the MAKEFLAGS
      variable that was visible while parsing makefiles.  Now, all options are
      available in MAKEFLAGS.  If you want to check MAKEFLAGS for a one-letter
      option, expanding "$(firstword -$(MAKEFLAGS))" is a reliable way to return
      the set of one-letter options which can be examined via findstring, etc.

    * WARNING: Backward-incompatibility!
      Previously makefile variables marked as export were not exported to commands
      started by the $(shell ...) function.  Now, all exported variables are
      exported to $(shell ...).  If this leads to recursion during expansion, then
      for backward-compatibility the value from the original environment is used.
      To detect this change search for 'shell-export' in the .FEATURES variable.

Notable features:

    * New feature: The --shuffle command line option
      This option reorders goals and prerequisites to simulate non-determinism
      that may be seen using parallel build.  Shuffle mode allows a form of "fuzz
      testing" of parallel builds to verify that all prerequisites are correctly
      described in the makefile.

Changes: https://lists.gnu.org/archive/html/bug-make/2022-10/msg00247.html
2022-10-31 07:54:25 +00:00
Sergei Trofimovich
f6ee60dde4 gnumake: unconditionally disable guileSupport on bootstrap
Before the change an attempt to use `gnumake.override { guileSupport = true; }`
caused recursion in bootstrap stages as guileSupport pulls in guile and it's
dependencies.

To restore the bootstrap the change unconditionally sets
`guileSupport = false;` for `gnumake`.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-07-29 19:34:09 +01:00
Malo Bourgon
16e15fa68f treewide: add meta.mainProgram to many packages 2022-05-04 18:08:19 -07:00
Alyssa Ross
1ea759f94c gnumake: add debug info 2022-01-11 19:59:18 +00:00
github-actions[bot]
f2eada4ab8
Merge master into staging-next 2021-07-18 06:01:33 +00:00
github-actions[bot]
382fdc7ad3
Merge master into staging-next 2021-07-18 00:01:24 +00:00
Felix Buehler
87316d778b various: cleanup of "inherit version;" 2021-07-18 00:19:24 +02:00
Sandro Jäckel
ad1e9c3a27
gnumake: remove ? null from inputs 2021-07-17 21:20:21 +02:00
Maximilian Bosch
3f5336e15b
gnumake42: fix build w/glibc-2.33 2021-07-06 16:02:34 +02:00
Jörg Thalheim
ed37276827
gnumake: use sh instead of /bin/sh by default 2021-04-24 11:00:55 +02:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Vladimír Čunát
e978eb5986
gnumake42: bring this version back
This is almost a revert of commit 0cfe9f3a (PR #86293).  Version 4.3
https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html
brought some incompatibilities, so this will be useful for shorter-term
workarounds.
2020-07-06 10:55:32 +02:00
Chuck
0cfe9f3ae2 gnumake: 4.2.1 -> 4.3 2020-07-02 17:44:47 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
a8822b6ec2
gnumake: *Flags are lists 2019-12-30 11:13:41 +01:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Matthew Bauer
f1a111bbc5
Merge pull request #51408 from matthewbauer/disable-subsecond-gnumake
gnumake: disable subsecond mtime on darwin
2018-12-03 08:32:59 -06:00
Matthew Bauer
26de2d1780 gnumake: disable subsecond mtime on darwin
gnumake can support subsecond mtimes if it is available. But Darwin
doesn’t support setting subsecond mtimes until 10.13! So we can just
disable this check to avoid the issue where most of our built tools
use seconds but make uses nanoseconds. Might fix some parallel issues
along the way.

Fixes #51221
2018-12-03 08:31:57 -06:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Piotr Bogdan
2c60a41d0a gnumake3: remove 2018-11-15 17:41:25 +00:00
aszlig
492ca7be2b
gnumake3: Fix build against glibc-2.27
This has already been patched against gnumake4 (519f0b8db2)
but we still have packages depending on gnumake3, so let's also apply
the same patch to gnumake 3.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @shlevy, @vcunat
2018-04-12 16:21:30 +02:00
Shea Levy
519f0b8db2
gnumake: Unconditionally fix build against glibc-2.27 2018-03-16 14:43:12 -04:00
Shea Levy
43522dc851
riscv: Use gnumake42HEAD. 2018-02-19 09:36:53 -05:00
Shea Levy
fb8a09e8f0
gnumake: Add 4.2.90pre2491_38c8a11 for proper glibc 2.27 support. 2018-02-19 09:33:34 -05:00
Shea Levy
a551e6debc
gnumake: Fix build against glibc 2.27. 2018-02-18 09:27:50 -05:00
Tuomas Tynkkynen
0ea1c45b04 gnumake: Drop pkgconfig if not building with guileSupport
This used to be the case before commit 531e4b80c9 which seems to
have dropped it by accident.

Removes one unnecessary build of pkgconfig during stdenv bootstrapping.
2018-02-14 01:47:28 +02:00
Ricardo M. Correia
029522249b gnumake: fix occasional hangs in parallel builds
https://savannah.gnu.org/bugs/?49014
https://savannah.gnu.org/bugs/?51159
2017-10-30 16:15:43 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Tuomas Tynkkynen
1ff422aa23 treewide: Add man & info outputs where necessary (instead of doc)
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00
Eelco Dolstra
6669a3b477
stdenv: Remove log nesting
Nix/Hydra no longer support pretty printing of logs, so this is no
longer useful.
2017-07-24 14:30:46 +02:00
Eelco Dolstra
9f345ce2c7
gnumake41: Remove unused version 2017-07-24 14:27:12 +02:00
Eelco Dolstra
8cfe77444b
gnumake40: Remove unused version 2017-07-24 14:27:11 +02:00
Eelco Dolstra
969d7b0451
gnumake380: Remove
This hasn't been used in a long time.
2017-07-24 14:27:11 +02:00
Vladimír Čunát
e78ef9cc12
gnumake-3.81: remove
It doesn't seem to be of any use, except for spitting warnings about md5.
2016-10-29 15:49:27 +02:00
Chris Martin
5a3560fecf gnumake-3.80: md5->sha256 2016-09-10 14:06:13 -04:00
Robin Gloster
c95ab0a2d1 gnumake380: disable format hardening 2016-08-03 20:03:04 +00:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Tuomas Tynkkynen
2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Vladimír Čunát
9d3228f99d gnumake42: bugfix 4.2 -> 4.2.1 2016-07-09 16:50:12 +02:00
Vladimír Čunát
3b2627586d Merge #16448: gnumake: optionally build with guile
Fixed up nested lists within the merge.
2016-07-09 16:36:49 +02:00
Rahul Gopinath
586a9c0d9c gnumake: Allow guile extension language as an optional feature 2016-06-23 09:55:54 -07:00
Nick Novitski
93b99cd361 gnumake: add version 4.2 2016-05-23 15:30:41 +00:00
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Eelco Dolstra
3ede0a64a2 make: Don't segfault if we can't get a tty name
This happened in VM builds:

  make flags: SHELL=/nix/store/dbxpkswwc7rh6g1iy6dwqklzw39hihb1-bash-4.3-p33/bin/bash
  /nix/store/jm26xg0h3jcrg4bbrwiqx3jpirscdk0p-stdenv/setup: line 658:  5957 Segmentation fault      make ${makefile:+-f $makefile} ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}} $makeFlags "${makeFlagsArray[@]}" $buildFlags "${buildFlagsArray[@]}"
2015-06-04 19:47:34 +02:00
Florian Friesdorf
f33f2a7e82 cygwin: disable gnumake check because of hanging test 2015-05-28 10:53:35 +02:00