Make the build stage of OpenSSL parallel (#18024)

This commit is contained in:
Harmen Stoppels 2020-08-13 02:58:36 +02:00 committed by GitHub
parent 3fbbf539d1
commit 075e9428a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,8 +78,6 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package
depends_on('perl@5.14.0:', type=('build', 'test'))
parallel = False
@classmethod
def determine_version(cls, exe):
output = Executable(exe)('version', output=str)
@ -128,8 +126,10 @@ def install(self, spec, prefix):
make()
if self.run_tests:
make('test') # 'VERBOSE=1'
make('install')
make('test', parallel=False) # 'VERBOSE=1'
# See https://github.com/openssl/openssl/issues/7466#issuecomment-432148137
make('install', parallel=False)
@run_after('install')
def link_system_certs(self):