math/openblas: Fix build with DYNAMIC_ARCH=OFF.
PR: 238228 Submitted by: Artyom Davidov <ard_1@mail.ru>
This commit is contained in:
parent
bacd26e9d4
commit
6eeb9e9bc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516146
@ -85,6 +85,9 @@ MANUAL_PACKAGE_BUILD= Optimizes for the build machine.
|
||||
|
||||
.if ${PORT_OPTIONS:MDYNAMIC_ARCH}
|
||||
BUILDFLAGS+= DYNAMIC_ARCH=1
|
||||
PLIST_SUB+= DYNARCH=""
|
||||
.else
|
||||
PLIST_SUB+= DYNARCH="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MINTERFACE64}
|
||||
@ -201,7 +204,10 @@ do-install:
|
||||
${WRKSRC}/interface/*.c
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/openblas
|
||||
${INSTALL_DATA} ${WRKSRC}/openblas_*.h ${STAGEDIR}${PREFIX}/include/openblas
|
||||
${INSTALL_DATA} ${WRKSRC}/cblas.h ${WRKSRC}/config_kernel.h ${WRKSRC}/config_last.h ${WRKSRC}/l1param.h ${WRKSRC}/l2param.h ${WRKSRC}/symcopy.h \
|
||||
${INSTALL_DATA} ${WRKSRC}/cblas.h ${WRKSRC}/config_last.h ${WRKSRC}/l1param.h ${WRKSRC}/l2param.h ${WRKSRC}/symcopy.h \
|
||||
${STAGEDIR}${PREFIX}/include/openblas
|
||||
|
||||
do-install-DYNAMIC_ARCH-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/config_kernel.h ${STAGEDIR}${PREFIX}/include/openblas
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,7 +29,7 @@ include/openblas/openblas_common_x86_64.h
|
||||
include/openblas/openblas_common_z.h
|
||||
include/openblas/openblas_common_zarch.h
|
||||
include/openblas/openblas_config.h
|
||||
include/openblas/config_kernel.h
|
||||
%%DYNARCH%%include/openblas/config_kernel.h
|
||||
include/openblas/config_last.h
|
||||
include/openblas/openblas_cpuid.h
|
||||
include/openblas/l1param.h
|
||||
|
Loading…
Reference in New Issue
Block a user