mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[clblas] fix arm build (#27092)
This commit is contained in:
parent
afb70b3cae
commit
b533da1ea3
24
ports/clblas/abs-arm.patch
Normal file
24
ports/clblas/abs-arm.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff --git a/src/library/blas/gens/gemv.c b/src/library/blas/gens/gemv.c
|
||||
index 9835482..8bf3476 100644
|
||||
--- a/src/library/blas/gens/gemv.c
|
||||
+++ b/src/library/blas/gens/gemv.c
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h> // for abs(int)
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <clblas_stddef.h>
|
||||
diff --git a/src/library/blas/gens/symv.c b/src/library/blas/gens/symv.c
|
||||
index 47c8f1d..31ab3c5 100644
|
||||
--- a/src/library/blas/gens/symv.c
|
||||
+++ b/src/library/blas/gens/symv.c
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h> // for abs(int)
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <clblas_stddef.h>
|
@ -7,6 +7,7 @@ vcpkg_from_github(
|
||||
PATCHES
|
||||
cmake.patch
|
||||
Fix-BuildDLL.patch
|
||||
abs-arm.patch
|
||||
)
|
||||
|
||||
# v2.12 has a very old FindOpenCL.cmake using OPENCL_ vs. OpenCL_ var names
|
||||
|
@ -1,8 +1,10 @@
|
||||
{
|
||||
"name": "clblas",
|
||||
"version": "2.12",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": "clBLAS is an OpenCL 1.2 accelerated BLAS (Basic Linear Algebra Subsystem) library.",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!(windows & arm)",
|
||||
"dependencies": [
|
||||
"opencl",
|
||||
{
|
||||
|
@ -131,7 +131,6 @@ civetweb:arm64-windows = skip
|
||||
civetweb:arm-uwp = skip
|
||||
civetweb:x64-uwp = skip
|
||||
clamav:arm64-windows=fail
|
||||
clblas:arm64-windows=fail
|
||||
clockutils:x64-linux=fail
|
||||
cmcstl2:arm64-windows = skip
|
||||
cmcstl2:arm-uwp = skip
|
||||
|
@ -1442,7 +1442,7 @@
|
||||
},
|
||||
"clblas": {
|
||||
"baseline": "2.12",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"clblast": {
|
||||
"baseline": "1.5.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "68caca1b774b1896768237791456b8962aa28d54",
|
||||
"version": "2.12",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "a94b503ed4a4a74fa316ac65c363968092a0b026",
|
||||
"version": "2.12",
|
||||
|
Loading…
Reference in New Issue
Block a user