Make progress towards aarch64 build

This commit is contained in:
Justine Tunney 2023-05-01 19:43:59 -07:00
parent 08ff26c817
commit ca2860947f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
15428 changed files with 25694 additions and 23138 deletions

View file

@ -43,7 +43,6 @@
#include "libc/stdio/stdio.h" /* fprintf, fopen, ftello */
#include "libc/time/time.h" /* clock_t, clock, CLOCKS_PER_SEC */
#include "libc/assert.h"
#include "libc/intrin/initializer.internal.h"
#include "libc/runtime/runtime.h" /* assert */
#include "third_party/lz4cli/datagen.h" /* RDG_genBuffer */
@ -99,8 +98,7 @@ static U32 g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result
{ g_time = clock(); DISPLAY(__VA_ARGS__); \
if (g_displayLevel>=4) fflush(stdout); } }
static clock_t g_time = 0;
static clock_t refreshRate;
INITIALIZER(300, _init_refreshRate1, { refreshRate = CLOCKS_PER_SEC * 15 / 100; });
static clock_t refreshRate = CLOCKS_PER_SEC * 15 / 100;
/* *************************************

View file

@ -54,7 +54,6 @@
#include "third_party/lz4cli/lz4hc.h" /* still required for legacy format */
#define LZ4F_STATIC_LINKING_ONLY
#include "libc/runtime/runtime.h"
#include "libc/intrin/initializer.internal.h"
#include "third_party/lz4cli/lz4frame.h"
@ -99,8 +98,7 @@ static int g_displayLevel = 0; /* 0 : no display ; 1: errors ; 2 : + result
if (g_displayLevel>=4) fflush(stderr); \
} }
static clock_t g_time = 0;
static clock_t refreshRate;
INITIALIZER(300, _init_refreshRate2, { refreshRate = CLOCKS_PER_SEC * 6; });
static clock_t refreshRate = CLOCKS_PER_SEC * 6;
/**************************************