Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153938662
D9801.id25693.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9801.id25693.diff
View Options
Index: math/openblas/Makefile
===================================================================
--- math/openblas/Makefile
+++ math/openblas/Makefile
@@ -14,6 +14,7 @@
COMMENT= Optimized BLAS library based on GotoBLAS2
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= xianyi
Index: math/openblas/files/patch-common__arm.h
===================================================================
--- /dev/null
+++ math/openblas/files/patch-common__arm.h
@@ -0,0 +1,24 @@
+--- common_arm.h.orig 2016-09-01 03:58:42 UTC
++++ common_arm.h
+@@ -93,6 +93,13 @@ static inline int blas_quickdivide(blasi
+
+ #endif
+
++/* Translate pre-UAL asm to UAL equivalents */
++#if defined(__clang__)
++#define fnmacs vmls.f32
++#define fnmacd vmls.f64
++#define fnmuls vnmul.f32
++#define fnmuld vnmul.f64
++#endif
+
+ #ifndef F_INTERFACE
+ #define REALNAME ASMNAME
+@@ -105,7 +112,6 @@ static inline int blas_quickdivide(blasi
+ #define PROLOGUE \
+ .arm ;\
+ .global REALNAME ;\
+- .func REALNAME ;\
+ REALNAME:
+
+ #define EPILOGUE
Index: math/openblas/files/patch-cpuid__arm.c
===================================================================
--- /dev/null
+++ math/openblas/files/patch-cpuid__arm.c
@@ -0,0 +1,12 @@
+--- cpuid_arm.c.orig 2016-09-01 03:58:42 UTC
++++ cpuid_arm.c
+@@ -181,7 +181,8 @@ int detect(void)
+ }
+
+ }
+-
++#else
++ return CPU_ARMV6;
+ #endif
+
+ return CPU_UNKNOWN;
Index: math/openblas/files/patch-interface__ztrmv.c
===================================================================
--- math/openblas/files/patch-interface__ztrmv.c
+++ math/openblas/files/patch-interface__ztrmv.c
@@ -1,6 +1,6 @@
---- interface/ztrmv.c.orig 2016-08-31 20:58:42.000000000 -0700
-+++ interface/ztrmv.c 2017-01-01 10:26:22.759442000 -0800
-@@ -242,7 +242,7 @@
+--- interface/ztrmv.c.orig 2016-09-01 03:58:42 UTC
++++ interface/ztrmv.c
+@@ -242,7 +242,7 @@ void CNAME(enum CBLAS_ORDER order, enum
else
#endif
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 11:04 PM (9 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32118601
Default Alt Text
D9801.id25693.diff (1 KB)
Attached To
Mode
D9801: math/openblas: fix build on 12-CURRENT armv6
Attached
Detach File
Event Timeline
Log In to Comment