FreeBSD Bugzilla – Attachment 167178 Details for
Bug 201965
math/openblas doesn't install header files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to head
openblas.diff (text/plain), 2.51 KB, created by
Eijiro Shibusawa
on 2016-02-19 15:58:21 UTC
(
hide
)
Description:
patch to head
Filename:
MIME Type:
Creator:
Eijiro Shibusawa
Created:
2016-02-19 15:58:21 UTC
Size:
2.51 KB
patch
obsolete
>diff -uNr /usr/ports/math/openblas/./Makefile ./Makefile >--- /usr/ports/math/openblas/./Makefile 2016-02-19 01:35:48.000000000 +0900 >+++ ./Makefile 2016-02-19 23:56:37.695266000 +0900 >@@ -32,13 +32,14 @@ > OPENBLAS_FILES= ${OPENBLAS_LIBS:S|$|.so|} ${OPENBLAS_LIBS:S|$|.so.${OPENBLAS_SVER}|} ${OPENBLAS_LIBS:S|$|.a|} > PLIST_FILES= ${OPENBLAS_FILES:S|^|lib/|} > >-OPTIONS_DEFINE= DYNAMIC_ARCH INTERFACE64 OPENMP AVX AVX2 >+OPTIONS_DEFINE= DYNAMIC_ARCH INTERFACE64 OPENMP AVX AVX2 CBLAS > > DYNAMIC_ARCH_DESC= Support multiple CPU types on i386 and amd64 > INTERFACE64_DESC= Use 8 byte integers on 64-bit architectures > OPENMP_DESC= Use OpenMP for threading > AVX_DESC= Support Advanced Vector Extensions (AVX) > AVX2_DESC= Support Advanced Vector Extensions 2 (AVX2) >+CBLAS_DESC= Install C HEADERS FOR BLAS > > .if defined(PACKAGE_BUILDING) > OPTIONS_DEFAULT= DYNAMIC_ARCH >@@ -85,6 +86,44 @@ > BUILDFLAGS+= NO_AVX=1 > .endif > >+.if ${PORT_OPTIONS:MCBLAS} >+CONFLICTS_INSTALL+= atlas-[0-9]* atlas-devel-[0-9]* cblas-[0-9]* >+OPENBLAS_HEADERS= cblas.h cblas_noconst.h >+PLIST_FILES+= ${OPENBLAS_HEADERS:S|^|include/|} >+PRIVATE_HEADERS= common.h \ >+ common_alpha.h \ >+ common_arm.h \ >+ common_arm64.h \ >+ common_c.h \ >+ common_d.h \ >+ common_ia64.h \ >+ common_interface.h \ >+ common_lapack.h \ >+ common_level1.h \ >+ common_level2.h \ >+ common_level3.h \ >+ common_linux.h \ >+ common_macro.h \ >+ common_mips64.h \ >+ common_param.h \ >+ common_power.h \ >+ common_q.h \ >+ common_reference.h \ >+ common_s.h \ >+ common_sparc.h \ >+ common_thread.h \ >+ common_x.h \ >+ common_x86.h \ >+ common_x86_64.h \ >+ common_z.h \ >+ config.h \ >+ param.h \ >+ symcopy.h >+PLIST_FILES+= ${PRIVATE_HEADERS:S|^|include/openblas/|} >+PLIST_DIRS+= include/openblas >+ >+.endif >+ > .if ! ${PORT_OPTIONS:MAVX2} > BUILDFLAGS+= NO_AVX2=1 > .endif >@@ -156,6 +195,20 @@ > USE_THREAD=1 ${BENCHMARK_THREADS_FLAG} ${MAKE_CMD} ${MAKE_ARGS} > > do-install: >+.if ${PORT_OPTIONS:MCBLAS} >+ ${MKDIR} ${WRKDIR}/include/openblas >+ cd ${WRKDIR}/ && \ >+ for i in ${OPENBLAS_HEADERS}; do \ >+ ${SED} 's:include ":include "openblas/:' \ >+ ${WRKSRC}/$$i > include/$$i ; \ >+ done >+ cd ${WRKDIR}/ && \ >+ for i in ${PRIVATE_HEADERS}; do \ >+ ${SED} 's:include ":include "openblas/:' \ >+ ${WRKSRC}/$$i > include/openblas/$$i ; \ >+ done >+ cd ${WRKDIR}/ && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} >+.endif > .for L in ${OPENBLAS_LIBS} > ${INSTALL_DATA} ${WRKDIR}/lib/${L}.a ${STAGEDIR}${PREFIX}/lib > ${INSTALL_LIB} ${WRKDIR}/lib/${L}.so.${OPENBLAS_SVER} ${STAGEDIR}${PREFIX}/lib
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
phd_kimberlite
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 201965
:
159637
|
160965
| 167178