FreeBSD Bugzilla – Attachment 208485 Details for
Bug 231371
math/openblas: Update to 0.3.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch for 0.3.7
openblas_0.3.7_rev0.diff (text/plain), 17.20 KB, created by
Steve Wills
on 2019-10-21 15:43:54 UTC
(
hide
)
Description:
updated patch for 0.3.7
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2019-10-21 15:43:54 UTC
Size:
17.20 KB
patch
obsolete
>diff --git math/openblas/Makefile math/openblas/Makefile >index 660934c4a4a0..6b79bf9cbc1d 100644 >--- math/openblas/Makefile >+++ math/openblas/Makefile >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= openblas >-PORTVERSION= 0.2.20 >-PORTREVISION= 10 >+PORTVERSION= 0.3.7 > DISTVERSIONPREFIX= v > PORTEPOCH= 1 > CATEGORIES= math >@@ -17,7 +16,9 @@ COMMENT= Optimized BLAS library based on GotoBLAS2 > LICENSE= BSD3CLAUSE > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= fortran gmake perl5 >+CONFLICTS_INSTALL= cblas lapacke >+ >+USES= fortran gmake perl5 pkgconfig > > USE_GITHUB= yes > GH_ACCOUNT= xianyi >@@ -28,11 +29,7 @@ TIMING_FILE= timing.tgz > USE_LDCONFIG= yes > USE_PERL5= build > >-OPENBLAS_SUFX= r${PORTVERSION} >-OPENBLAS_LIBS= libopenblas libopenblasp > OPENBLAS_SVER= 0 >-OPENBLAS_FILES= ${OPENBLAS_LIBS:S|$|.so|} ${OPENBLAS_LIBS:S|$|.so.${OPENBLAS_SVER}|} ${OPENBLAS_LIBS:S|$|.a|} >-PLIST_FILES= ${OPENBLAS_FILES:S|^|lib/|} > TEST_TARGET= tests > > BUILDFLAGS= FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1 >@@ -55,6 +52,9 @@ AVX_DESC= Support Advanced Vector Extensions (AVX) > AVX2_DESC= Support Advanced Vector Extensions 2 (AVX2) > POWER6_DESC= Optimize for POWER6, instead of the default PPC970 > >+MAKE_ENV+= ${MAKE_ENV_${ARCH}} >+MAKE_ENV_powerpc64= TARGET=POWER7 >+ > .include <bsd.port.options.mk> > > .if ${ARCH} == powerpc64 >@@ -91,6 +91,14 @@ BUILDFLAGS+= DYNAMIC_ARCH=1 > BUILDFLAGS+= INTERFACE64=1 > .endif > >+.if ! ${PORT_OPTIONS:MAVX} >+BUILDFLAGS+= NO_AVX=1 >+.endif >+ >+.if ! ${PORT_OPTIONS:MAVX2} >+BUILDFLAGS+= NO_AVX2=1 >+.endif >+ > .if ${PORT_OPTIONS:MOPENMP} > USES+= compiler:openmp > BUILDFLAGS_THREAD+= USE_OPENMP=1 >@@ -98,12 +106,12 @@ BUILDFLAGS_THREAD+= USE_OPENMP=1 > USES+= compiler:c11 > .endif > >-.if ! ${PORT_OPTIONS:MAVX} >-BUILDFLAGS+= NO_AVX=1 >-.endif >+.include <bsd.port.pre.mk> > >-.if ! ${PORT_OPTIONS:MAVX2} >-BUILDFLAGS+= NO_AVX2=1 >+.if ${PORT_OPTIONS:MOPENMP} >+.if ${CHOSEN_COMPILER_TYPE} == gcc >+USE_GCC= yes >+.endif > .endif > > post-extract: >@@ -112,37 +120,6 @@ post-extract: > ${MKDIR} ${WRKDIR}/lib > > post-patch: >- ${REINPLACE_CMD} -e "s+%%FIND%%+${FIND}+" \ >- -e "s+%%XARGS%%+${XARGS}+" \ >- -e "s+%%REINPLACE_CMD%%+${REINPLACE_CMD}+" \ >- ${WRKSRC}/Makefile >- ${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" -e "s+%%CC%%+${CC}+" \ >- ${WRKSRC}/Makefile.rule >- ${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \ >- ${WRKSRC}/Makefile.rule \ >- ${WRKSRC}/Makefile.tail \ >- ${WRKSRC}/driver/level3/Makefile \ >- ${WRKSRC}/driver/others/Makefile \ >- ${WRKSRC}/exports/Makefile \ >- ${WRKSRC}/interface/Makefile \ >- ${WRKSRC}/kernel/Makefile \ >- ${WRKSRC}/kernel/Makefile.L3 \ >- ${WRKSRC}/lapack/laswp/Makefile \ >- ${WRKSRC}/lapack-netlib/SRC/Makefile \ >- ${WRKSRC}/lapack-netlib/SRC/VARIANTS/Makefile \ >- ${WRKSRC}/lapack-netlib/TESTING/MATGEN/Makefile \ >- ${WRKSRC}/lapack-netlib/LAPACKE/src/Makefile \ >- ${WRKSRC}/lapack-netlib/LAPACKE/utils/Makefile \ >- ${WRKSRC}/reference/Makefile >- ${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \ >- -e 's+%%LDFLAGS%%+${LDFLAGS}+' \ >- -e 's+%%LOCALBASE%%+${LOCALBASE}+' \ >- -e 's+%%FIND%%+${FIND}+' \ >- -e 's+%%XARGS%%+${XARGS}+' \ >- -e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \ >- -e 's+$${CROSS_SUFFIX}+${LOCALBASE}/bin/+' \ >- -e '/Clang.*OpenMP/g' \ >- ${WRKSRC}/Makefile.system > ${REINPLACE_CMD} \ > -e 's/defined(linux)/(defined(linux) || defined(__FreeBSD__))/g' \ > -e 's/ifdef linux/if defined(linux) || defined(__FreeBSD__)/g' \ >@@ -153,16 +130,11 @@ post-patch-OPENMP-on: > ${WRKSRC}/test/Makefile \ > ${WRKSRC}/ctest/Makefile > >-do-build: >- cd ${WRKSRC} ; ${SETENV} ${BUILDFLAGS} NUM_THREADS=1 USE_THREAD=0 \ >- ${MAKE_CMD} ${MAKE_ARGS} >- ${CP} ${WRKSRC}/libopenblas-${OPENBLAS_SUFX}.a ${WRKDIR}/lib/libopenblas.a >- ${CP} ${WRKSRC}/libopenblas-${OPENBLAS_SUFX}.so ${WRKDIR}/lib/libopenblas.so.${OPENBLAS_SVER} >- cd ${WRKSRC} ; ${MAKE_CMD} ${MAKE_ARGS} clean >- cd ${WRKSRC} ; ${SETENV} ${BUILDFLAGS} ${BUILDFLAGS_THREAD} \ >- ${MAKE_CMD} ${MAKE_ARGS} >- ${CP} ${WRKSRC}/libopenblasp-${OPENBLAS_SUFX}.a ${WRKDIR}/lib/libopenblasp.a >- ${CP} ${WRKSRC}/libopenblasp-${OPENBLAS_SUFX}.so ${WRKDIR}/lib/libopenblasp.so.${OPENBLAS_SVER} >+post-install: >+ ${MV} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}_*-r${PORTVERSION}.a ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.a >+ ${MV} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}_*-r${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${OPENBLAS_SVER} >+ ${RM} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so >+ ${LN} -sf lib${PORTNAME}.so.${OPENBLAS_SVER} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so > > BENCHMARK_MAXTHREADS?= ${MAXTHREADS} > .if ${PORT_OPTIONS:MOPENMP} >@@ -177,11 +149,4 @@ benchmark: build > cd ${WRKSRC}/benchmark ; ${SETENV} ${BUILDFLAGS} NUM_THREADS=${MAXTHREADS} \ > USE_THREAD=1 ${BENCHMARK_THREADS_FLAG} ${MAKE_CMD} ${MAKE_ARGS} > >-do-install: >-.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 >- ${LN} -sf ${L}.so.${OPENBLAS_SVER} ${STAGEDIR}${PREFIX}/lib/${L}.so >-.endfor >- >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff --git math/openblas/distinfo math/openblas/distinfo >index 1e4fac8f5207..a8e4a69d3894 100644 >--- math/openblas/distinfo >+++ math/openblas/distinfo >@@ -1,7 +1,7 @@ >-TIMESTAMP = 1503123719 >+TIMESTAMP = 1571670934 > SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1 > SIZE (openblas/large.tgz) = 2595 > SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af > SIZE (openblas/timing.tgz) = 1059485 >-SHA256 (openblas/xianyi-OpenBLAS-v0.2.20_GH0.tar.gz) = 5ef38b15d9c652985774869efd548b8e3e972e1e99475c673b25537ed7bcf394 >-SIZE (openblas/xianyi-OpenBLAS-v0.2.20_GH0.tar.gz) = 11637301 >+SHA256 (openblas/xianyi-OpenBLAS-v0.3.7_GH0.tar.gz) = bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379 >+SIZE (openblas/xianyi-OpenBLAS-v0.3.7_GH0.tar.gz) = 11986592 >diff --git math/openblas/files/patch-Makefile math/openblas/files/patch-Makefile >deleted file mode 100644 >index 40d2c20099ea..000000000000 >--- math/openblas/files/patch-Makefile >+++ /dev/null >@@ -1,11 +0,0 @@ >---- Makefile.orig 2015-10-27 20:44:50 UTC >-+++ Makefile >-@@ -238,7 +238,7 @@ ifndef NOFORTRAN >- -@echo "LOADOPTS = $(FFLAGS) $(EXTRALIB)" >> $(NETLIB_LAPACK_DIR)/make.inc >- -@echo "CC = $(CC)" >> $(NETLIB_LAPACK_DIR)/make.inc >- -@echo "override CFLAGS = $(LAPACK_CFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc >-- -@echo "ARCH = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc >-+ -@echo "ARCH_ = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc >- -@echo "ARCHFLAGS = -ru" >> $(NETLIB_LAPACK_DIR)/make.inc >- -@echo "RANLIB = $(RANLIB)" >> $(NETLIB_LAPACK_DIR)/make.inc >- -@echo "LAPACKLIB = ../$(LIBNAME)" >> $(NETLIB_LAPACK_DIR)/make.inc >diff --git math/openblas/files/patch-Makefile.rule math/openblas/files/patch-Makefile.rule >deleted file mode 100644 >index f85e73064fa8..000000000000 >--- math/openblas/files/patch-Makefile.rule >+++ /dev/null >@@ -1,15 +0,0 @@ >---- Makefile.rule.orig 2015-10-27 20:44:50 UTC >-+++ Makefile.rule >-@@ -19,10 +19,10 @@ VERSION = 0.2.15 >- >- # C compiler including binary type(32bit / 64bit). Default is gcc. >- # Don't use Intel Compiler or PGI, it won't generate right codes as I expect. >--# CC = gcc >-+CC = %%CC%% >- >- # Fortran compiler. Default is g77. >--# FC = gfortran >-+FC = %%FC%% >- >- # Even you can specify cross compiler. Meanwhile, please set HOSTCC. >- >diff --git math/openblas/files/patch-Makefile.system math/openblas/files/patch-Makefile.system >deleted file mode 100644 >index aed8055a68c7..000000000000 >--- math/openblas/files/patch-Makefile.system >+++ /dev/null >@@ -1,62 +0,0 @@ >---- Makefile.system.orig 2015-10-27 20:44:50 UTC >-+++ Makefile.system >-@@ -218,6 +218,7 @@ MD5SUM = md5 -r >- endif >- >- ifeq ($(OSNAME), FreeBSD) >-+EXTRALIB += -lm %%LDFLAGS%% >- MD5SUM = md5 -r >- endif >- >-@@ -889,9 +890,17 @@ SYMBOLSUFFIX = >- endif >- >- ifndef LIBNAMESUFFIX >-+ifndef SMP >- LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX) >- else >-+LIBPREFIX = lib$(SYMBOLPREFIX)openblasp$(SYMBOLSUFFIX) >-+endif >-+else >-+ifndef SMP >- LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX) >-+else >-+LIBPREFIX = lib$(SYMBOLPREFIX)openblasp$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX) >-+endif >- endif >- >- KERNELDIR = $(TOPDIR)/kernel/$(ARCH) >-@@ -1020,24 +1029,8 @@ ifndef LIBSUFFIX >- LIBSUFFIX = a >- endif >- >--ifneq ($(DYNAMIC_ARCH), 1) >--ifndef SMP >--LIBNAME = $(LIBPREFIX)_$(LIBCORE)$(REVISION).$(LIBSUFFIX) >--LIBNAME_P = $(LIBPREFIX)_$(LIBCORE)$(REVISION)_p.$(LIBSUFFIX) >--else >--LIBNAME = $(LIBPREFIX)_$(LIBCORE)p$(REVISION).$(LIBSUFFIX) >--LIBNAME_P = $(LIBPREFIX)_$(LIBCORE)p$(REVISION)_p.$(LIBSUFFIX) >--endif >--else >--ifndef SMP >- LIBNAME = $(LIBPREFIX)$(REVISION).$(LIBSUFFIX) >- LIBNAME_P = $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX) >--else >--LIBNAME = $(LIBPREFIX)p$(REVISION).$(LIBSUFFIX) >--LIBNAME_P = $(LIBPREFIX)p$(REVISION)_p.$(LIBSUFFIX) >--endif >--endif >-- >- >- LIBDLLNAME = $(LIBPREFIX).dll >- LIBSONAME = $(LIBNAME:.$(LIBSUFFIX)=.so) >-@@ -1067,7 +1060,7 @@ LIB_COMPONENTS = CBLAS >- endif >- >- export OSNAME >--export ARCH >-+export ARCH_ >- export CORE >- export LIBCORE >- export PGCPATH >diff --git math/openblas/files/patch-c_check math/openblas/files/patch-c_check >index e2254a3081e2..817371d8f62f 100644 >--- math/openblas/files/patch-c_check >+++ math/openblas/files/patch-c_check >@@ -1,6 +1,6 @@ >---- c_check.orig 2015-10-27 20:44:50 UTC >+--- c_check.orig 2019-04-29 17:22:19 UTC > +++ c_check >-@@ -235,7 +235,7 @@ open(CONFFILE, "> $config" ) || die "Ca >+@@ -320,7 +320,7 @@ open(CONFFILE, "> $config" ) || die "Can't create $co > # print $data, "\n"; > > print MAKEFILE "OSNAME=$os\n"; >diff --git math/openblas/files/patch-common__arm.h math/openblas/files/patch-common__arm.h >index f42591543dc0..7c6e402278e2 100644 >--- math/openblas/files/patch-common__arm.h >+++ math/openblas/files/patch-common__arm.h >@@ -1,6 +1,6 @@ >---- common_arm.h.orig 2016-09-01 03:58:42 UTC >+--- common_arm.h.orig 2018-08-30 22:07:48 UTC > +++ common_arm.h >-@@ -93,6 +93,17 @@ static inline int blas_quickdivide(blasint x, blasint >+@@ -93,6 +93,17 @@ static inline int blas_quickdivide(blasint x, blasint > > #endif > >diff --git math/openblas/files/patch-common__power.h math/openblas/files/patch-common__power.h >deleted file mode 100644 >index cf1ac03278e5..000000000000 >--- math/openblas/files/patch-common__power.h >+++ /dev/null >@@ -1,38 +0,0 @@ >---- common_power.h.orig 2017-07-24 04:03:35 UTC >-+++ common_power.h >-@@ -241,7 +241,7 @@ static inline int blas_quickdivide(blasint x, blasint >- #define HAVE_PREFETCH >- #endif >- >--#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) >-+#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(PPC970) >- #define DCBT_ARG 0 >- #else >- #define DCBT_ARG 8 >-@@ -499,7 +499,7 @@ static inline int blas_quickdivide(blasint x, blasint >- >- #if defined(ASSEMBLER) && !defined(NEEDPARAM) >- >--#ifdef OS_LINUX >-+#if defined(OS_LINUX) || defined(OS_FREEBSD) >- #ifndef __64BIT__ >- #define PROLOGUE \ >- .section .text;\ >-@@ -774,7 +774,7 @@ Lmcount$lazy_ptr: >- >- #define HALT mfspr r0, 1023 >- >--#ifdef OS_LINUX >-+#if defined(OS_LINUX) || defined(OS_FREEBSD) >- #if defined(PPC440) || defined(PPC440FP2) >- #undef MAX_CPU_NUMBER >- #define MAX_CPU_NUMBER 1 >-@@ -819,7 +819,7 @@ Lmcount$lazy_ptr: >- #define MAP_ANONYMOUS MAP_ANON >- #endif >- >--#ifdef OS_LINUX >-+#if defined(OS_LINUX) || defined(OS_FREEBSD) >- #ifndef __64BIT__ >- #define FRAMESLOT(X) (((X) * 4) + 8) >- #else >diff --git math/openblas/files/patch-cpuid__arm64.c math/openblas/files/patch-cpuid__arm64.c >index a0d2451ebe22..592272acf705 100644 >--- math/openblas/files/patch-cpuid__arm64.c >+++ math/openblas/files/patch-cpuid__arm64.c >@@ -1,6 +1,6 @@ >---- cpuid_arm64.c.orig 2016-09-01 03:58:42 UTC >+--- cpuid_arm64.c.orig 2019-04-29 17:22:19 UTC > +++ cpuid_arm64.c >-@@ -132,6 +132,8 @@ int detect(void) >+@@ -180,6 +180,8 @@ int detect(void) > > > } >diff --git math/openblas/files/patch-cpuid_ia64.c math/openblas/files/patch-cpuid_ia64.c >deleted file mode 100644 >index c7092465ec12..000000000000 >--- math/openblas/files/patch-cpuid_ia64.c >+++ /dev/null >@@ -1,12 +0,0 @@ >---- cpuid_ia64.c.orig 2015-10-27 20:44:50 UTC >-+++ cpuid_ia64.c >-@@ -38,7 +38,9 @@ >- >- #include <stdio.h> >- #include <string.h> >-+#ifdef linux >- #include <sys/sysinfo.h> >-+#endif >- #include "cpuid.h" >- >- #ifdef __ECC >diff --git math/openblas/files/patch-cpuid_sparc.c math/openblas/files/patch-cpuid_sparc.c >deleted file mode 100644 >index f9d8239fc0e5..000000000000 >--- math/openblas/files/patch-cpuid_sparc.c >+++ /dev/null >@@ -1,10 +0,0 @@ >---- cpuid_sparc.c.orig 2015-10-27 20:44:50 UTC >-+++ cpuid_sparc.c >-@@ -49,6 +49,7 @@ void get_subdirname(void){ >- } >- >- void get_cpuconfig(void){ >-+ printf("#define SPARC\n"); >- printf("#define V9\n"); >- printf("#define DTB_DEFAULT_ENTRIES 32\n"); >- } >diff --git math/openblas/files/patch-cpuid_x86.c math/openblas/files/patch-cpuid_x86.c >deleted file mode 100644 >index 38f6a1b7da3c..000000000000 >--- math/openblas/files/patch-cpuid_x86.c >+++ /dev/null >@@ -1,18 +0,0 @@ >---- cpuid_x86.c.orig 2017-07-24 04:03:35 UTC >-+++ cpuid_x86.c >-@@ -1329,6 +1329,7 @@ int get_cpuname(void){ >- case 8: >- switch (model) { >- case 1: >-+ case 8: >- // AMD Ryzen >- if(support_avx()) >- #ifndef NO_AVX2 >-@@ -1865,6 +1866,7 @@ int get_coretype(void){ >- } else if (exfamily == 8) { >- switch (model) { >- case 1: >-+ case 8: >- // AMD Ryzen >- if(support_avx()) >- #ifndef NO_AVX2 >diff --git math/openblas/files/patch-driver_others_memory.c math/openblas/files/patch-driver_others_memory.c >deleted file mode 100644 >index 4dbbb1d80c0a..000000000000 >--- math/openblas/files/patch-driver_others_memory.c >+++ /dev/null >@@ -1,13 +0,0 @@ >-Passing a priority level to constructor/destructor only works on GCC >= 4.3.0; >-improve the upstream check so that the build works with base GCC. >---- driver/others/memory.c.orig 2016-04-12 19:29:19 UTC >-+++ driver/others/memory.c >-@@ -144,7 +144,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF >- #if defined(_MSC_VER) && !defined(__clang__) >- #define CONSTRUCTOR __cdecl >- #define DESTRUCTOR __cdecl >--#elif (defined(OS_DARWIN) || defined(OS_SUNOS)) && defined(C_GCC) >-+#elif (defined(OS_DARWIN) || defined(OS_SUNOS)) || (defined(C_GCC) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3))) >- #define CONSTRUCTOR __attribute__ ((constructor)) >- #define DESTRUCTOR __attribute__ ((destructor)) >- #else >diff --git math/openblas/files/patch-exports+Makefile math/openblas/files/patch-exports+Makefile >deleted file mode 100644 >index fa147ae47437..000000000000 >--- math/openblas/files/patch-exports+Makefile >+++ /dev/null >@@ -1,18 +0,0 @@ >---- exports/Makefile.orig 2015-10-27 20:44:50 UTC >-+++ exports/Makefile >-@@ -140,6 +140,7 @@ endif >- #http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or >- ifeq ($(OSNAME), $(filter $(OSNAME),FreeBSD NetBSD)) >- >-+EXTRALIB += -lgfortran >- so : ../$(LIBSONAME) >- >- ifeq (, $(SYMBOLPREFIX)$(SYMBOLSUFFIX)) >-@@ -151,6 +152,7 @@ else >- endif >- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ >- -Wl,--whole-archive $< -Wl,--no-whole-archive \ >-+ -Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) \ >- $(FEXTRALIB) $(EXTRALIB) >- $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. >- rm -f linktest >diff --git math/openblas/files/patch-f_check math/openblas/files/patch-f_check >index 72113d19766b..9a193257937d 100644 >--- math/openblas/files/patch-f_check >+++ math/openblas/files/patch-f_check >@@ -1,6 +1,6 @@ >---- f_check.orig 2015-10-27 20:44:50 UTC >+--- f_check.orig 2018-12-02 22:41:17 UTC > +++ f_check >-@@ -261,7 +261,7 @@ if ($link ne "") { >+@@ -288,7 +288,7 @@ if ($link ne "") { > > foreach $flags (@flags) { > if ( >@@ -9,7 +9,7 @@ > && ($flags !~ /^-LIST:/) > && ($flags !~ /^-LANG:/) > ) { >-@@ -292,7 +292,7 @@ if ($link ne "") { >+@@ -317,7 +317,7 @@ if ($link ne "") { > } > > if ( >diff --git math/openblas/files/patch-interface__ztrmv.c math/openblas/files/patch-interface__ztrmv.c >index f11da94c6e1c..854a83bf42ea 100644 >--- math/openblas/files/patch-interface__ztrmv.c >+++ math/openblas/files/patch-interface__ztrmv.c >@@ -1,6 +1,6 @@ >---- interface/ztrmv.c.orig 2016-09-01 03:58:42 UTC >+--- interface/ztrmv.c.orig 2019-04-29 17:22:19 UTC > +++ interface/ztrmv.c >-@@ -242,7 +242,7 @@ void CNAME(enum CBLAS_ORDER order, enum >+@@ -245,7 +245,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Upl > else > #endif > { >diff --git math/openblas/files/patch-param.h math/openblas/files/patch-param.h >deleted file mode 100644 >index d5ccfefc9a5c..000000000000 >--- math/openblas/files/patch-param.h >+++ /dev/null >@@ -1,11 +0,0 @@ >---- param.h.orig 2019-06-28 14:19:50 UTC >-+++ param.h >-@@ -1877,7 +1877,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILI >- #define ZGEMM_DEFAULT_UNROLL_M 2 >- #define ZGEMM_DEFAULT_UNROLL_N 2 >- >--#ifdef OS_LINUX >-+#if defined(OS_LINUX) || defined(OS_FREEBSD) >- #if L2_SIZE == 1024976 >- #define SGEMM_DEFAULT_P 320 >- #define DGEMM_DEFAULT_P 256 >diff --git math/openblas/pkg-plist math/openblas/pkg-plist >new file mode 100644 >index 000000000000..954624e17646 >--- /dev/null >+++ math/openblas/pkg-plist >@@ -0,0 +1,13 @@ >+include/cblas.h >+include/f77blas.h >+include/lapacke.h >+include/lapacke_config.h >+include/lapacke_mangling.h >+include/lapacke_utils.h >+include/openblas_config.h >+lib/cmake/openblas/OpenBLASConfig.cmake >+lib/cmake/openblas/OpenBLASConfigVersion.cmake >+lib/libopenblas.a >+lib/libopenblas.so >+lib/libopenblas.so.0 >+libdata/pkgconfig/openblas.pc
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
Actions:
View
|
Diff
Attachments on
bug 231371
:
197101
|
197103
|
205323
|
205333
|
205334
|
205335
|
205347
|
208485
|
208700
|
208701
|
210895