[openssl/openssl] 764cf5: Configuration: only produce a new configdata.pm if...

Richard Levitte noreply at reply.github.openssl.org
Sun May 22 15:39:11 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 764cf5b26306a8712e8b3d41599c44dc5ed07a25
      https://github.openssl.org/openssl/openssl/commit/764cf5b26306a8712e8b3d41599c44dc5ed07a25
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2022-05-22 (Sun, 22 May 2022)

  Changed paths:
    M Configure
    M configdata.pm.in

  Log Message:
  -----------
  Configuration: only produce a new configdata.pm if it has changed contents

The goal is to avoid having too much of the OpenSSL source rebuilt
because configdata.pm got a new time stamp.  The conditions for
updating configdata.pm are now:

1.  its time stamp is older than Configure's, or...
2.  its contents has changed.

Fixes #16377

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/16378)


  Commit: 2522889620446f1e56338367d1b6b028ea952bb4
      https://github.openssl.org/openssl/openssl/commit/2522889620446f1e56338367d1b6b028ea952bb4
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2022-05-22 (Sun, 22 May 2022)

  Changed paths:
    M Configure
    M build.info
    M configdata.pm.in

  Log Message:
  -----------
  Configuration: produce include/openssl/configuration.h when configuring

The goal is to avoid having too much of the OpenSSL source rebuilt
because include/openssl/configuration.h, or even because it was a
Makefile target that was called upon (some make implementations
consider the use of a target as an update of that target, even if it
wasn't really updated).

To resolve this, we move the production of include/openssl/configuration.h
to configdata.pm, and only update it if there were any actual changes.

Fixes #16377

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/16378)


  Commit: 4d02d500aac80c136e3d6582b908e0fab77bbf42
      https://github.openssl.org/openssl/openssl/commit/4d02d500aac80c136e3d6582b908e0fab77bbf42
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2022-05-22 (Sun, 22 May 2022)

  Changed paths:
    M Configurations/gentemplate.pm
    M Configure
    M build.info

  Log Message:
  -----------
  Building: For the FIPS module checksum, keep track of configuration,h

The FIPS module checksum needs to know that configuration.h is
generated from configuration.h.in, so that information is conserved.
To make this possible, it's now possible to have attributes with the
GENERATE keyword, and the attribute "skip" is added to make a keyword
a no-op, which makes it informative only.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/16378)


Compare: https://github.openssl.org/openssl/openssl/compare/a4e21d18d5b7...4d02d500aac8


More information about the openssl-commits mailing list