Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2020 10:02:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243739] math/openblas: port build only successful with option DYNAMIC_ARCH set
Message-ID:  <bug-243739-7788-34J1t7iDg8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243739-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243739-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243739

--- Comment #6 from Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> ---
(In reply to Tatsuki Makino from comment #4)
Or maybe, we can do something like this:

post-install:
.if !${PORT_OPTIONS:MDYNAMIC_ARCH}
        ${MV} ${STAGEDIR}${PREFIX}/lib/libopenblas_*-r${PORTVERSION}.a \
                 ${STAGEDIR}${PREFIX}/lib/libopenblasp-r${PORTVERSION}.a
        ${MV} ${STAGEDIR}${PREFIX}/lib/libopenblas_*-r${PORTVERSION}.so \
                 ${STAGEDIR}${PREFIX}/lib/libopenblasp-r${PORTVERSION}.so
        ${RM} ${STAGEDIR}${PREFIX}/lib/libopenblas.a
        ${RM} ${STAGEDIR}${PREFIX}/lib/libopenblas.so
        ${LN} -sf libopenblasp-r${PORTVERSION}.a \
                ${STAGEDIR}${PREFIX}/lib/libopenblas.a
        ${LN} -sf libopenblasp-r${PORTVERSION}.so \
                ${STAGEDIR}${PREFIX}/lib/libopenblas.so
.endif

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243739-7788-34J1t7iDg8>