[MacPorts] #15452: openssl: enable parallel build
#15452: openssl: enable parallel build -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: mww@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- I think you should add "`use_parallel_build yes`" to the openssl portfile. It seems to work for me, and it should speed up the build for those with more than one CPU core. -- Ticket URL: <http://trac.macports.org/ticket/15452> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15452: openssl: enable parallel build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: mww@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): Actually it looks like 0.9.8h does not build correctly when the parallel build is enabled: {{{ ---> Fetching openssl ---> Verifying checksum(s) for openssl ---> Extracting openssl ---> Applying patches to openssl ---> Configuring openssl ---> Building openssl with target all Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_openssl/work/openssl-0.9.8h" && nice -n 1 make -j2 all " returned error 2 Command output: ranlib: file: ../../libcrypto.a(e_seed.o) has no symbols ranlib: file: ../../libcrypto.a(e_rc5.o) has no symbols ranlib: file: ../../libcrypto.a(m_mdc2.o) has no symbols ranlib: file: ../../libcrypto.a(v3_asid.o) has no symbols ranlib: file: ../../libcrypto.a(v3_addr.o) has no symbols /usr/bin/ranlib ../../libcrypto.a || echo Never mind. /usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_win.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_os2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_nw.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(e_camellia.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(e_seed.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(e_rc5.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(m_mdc2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_asid.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_addr.o) has no symbols if [ -n "libcrypto.0.9.8.dylib libssl.0.9.8.dylib" ]; then \ (cd ..; make libcrypto.0.9.8.dylib); \ fi make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. nm: no name list nm: no name list nm: no name list nm: no name list nm: no name list nm: no name list nm: no name list nm: no name list nm: no name list nm: no name list Error: The following dependencies failed to build: apache2 openssl pcre neon serf Error: Status 1 encountered during processing. }}} There is a patch shown here which fixes it for 2 jobs at once: http://www.mail-archive.com/openssl-dev@openssl.org/msg24065.html But apparently not for 3 jobs at once: http://www.mail-archive.com/openssl-dev@openssl.org/msg24106.html -- Ticket URL: <http://trac.macports.org/ticket/15452#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15452: openssl: enable parallel build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: mww@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by mww@macports.org): * status: new => closed * resolution: => fixed Comment: I've marked the port as 'use_parallel_build no' as the added complexity by the patches is not worth the improvements in build time. -- Ticket URL: <http://trac.macports.org/ticket/15452#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts