mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 19:20:24 +08:00
4cbbcbddfd
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
27 lines
768 B
Diff
27 lines
768 B
Diff
From ed14dcf873775dcfc56883f55c10619779d8f87e Mon Sep 17 00:00:00 2001
|
|
From: Nicole Mazzuca <mazzucan@outlook.com>
|
|
Date: Thu, 24 Sep 2020 09:48:16 -0700
|
|
Subject: [PATCH] rename _castu32_f32 to gemm_castu32_f32
|
|
|
|
since _castu32_f32 is reserved, an implementation is allowed to name a function that,
|
|
and it turns out Xcode 12 did.
|
|
---
|
|
src/gemm.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/gemm.c b/src/gemm.c
|
|
index 0b06d98..bc2aef3 100644
|
|
--- a/src/gemm.c
|
|
+++ b/src/gemm.c
|
|
@@ -546,6 +546,7 @@ static inline float _mm256_extract_float32(__m256 a, const int index) {
|
|
#include <smmintrin.h>
|
|
#include <cpuid.h>
|
|
|
|
+#define _castu32_f32 gemm_castu32_f32
|
|
static inline float _castu32_f32(uint32_t a) {
|
|
return *((float *)&a);
|
|
}
|
|
--
|
|
2.24.3 (Apple Git-128)
|
|
|