1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

math/openblas: Fix build with DYNAMIC_ARCH=OFF.

PR:		238228
Submitted by:	Artyom Davidov <ard_1@mail.ru>
This commit is contained in:
Gleb Popov 2019-10-31 13:21:45 +00:00
parent bacd26e9d4
commit 6eeb9e9bc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516146
2 changed files with 8 additions and 2 deletions

View File

@ -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>

View File

@ -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