mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-14 21:08:07 +00:00
Cross compilation (#121)
* Cross compile windows * set env properly * rm log * fix review * Add back space
This commit is contained in:
4
ggml.c
4
ggml.c
@ -14,7 +14,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined _MSC_VER
|
||||
#if defined _MSC_VER || defined(__MINGW32__)
|
||||
#include <Windows.h>
|
||||
|
||||
typedef volatile LONG atomic_int;
|
||||
@ -198,7 +198,7 @@ static ggml_fp16_t table_exp_f16[1 << 16];
|
||||
// timing
|
||||
//
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
static int64_t timer_freq;
|
||||
void ggml_time_init(void) {
|
||||
LARGE_INTEGER frequency;
|
||||
|
Reference in New Issue
Block a user