]> granicus.if.org Git - openssl/commit
Allow parallell make in Configure
authorRichard Levitte <levitte@openssl.org>
Tue, 31 Jan 2017 12:47:13 +0000 (13:47 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 31 Jan 2017 17:47:53 +0000 (18:47 +0100)
commit43b1a3dcc824f234157f71213f9af6848898e4b4
tree52df764b7cd0c1f79eb00bae9388c87973ae4e69
parent0d37bd8058fa7933b0b6d6c2042592bf9daa80d7
Allow parallell make in Configure

If someone tries this:

    MAKE='make -j8' ./config

then Configure ends up doing this:

    make -j8 links depend gentests

Doing those three in parallell leads to a race condition that may very well
cause issue such as tests not being run (because they all get linked to a
dummy that does nothing instead of the real test).

To mitigate this, execute the three targets in one make call each.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2332)
Configure