From 31f536334ed14d7d71ec09826116abca36bc3634 Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Mon, 18 Nov 2024 16:17:26 -0800 Subject: [PATCH] third party include fixups --- src/linker/base_ext/base_blake3.c | 16 ++++++++-------- src/linker/base_ext/base_blake3.h | 2 +- src/linker/lnk.c | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/linker/base_ext/base_blake3.c b/src/linker/base_ext/base_blake3.c index 256e600c..9f522068 100644 --- a/src/linker/base_ext/base_blake3.c +++ b/src/linker/base_ext/base_blake3.c @@ -8,14 +8,14 @@ #pragma warning (push, 0) #endif -#include "../third_party_ext/blake3/c/blake3_portable.c" +#include "third_party/blake3/c/blake3_portable.c" #if defined(_M_AMD64) || defined(__x86_64__) #define round_fn sse2_round_fn #define compress_pre sse2_compress_pre -#include "../third_party_ext/blake3/c/blake3_sse2.c" +#include "third_party/blake3/c/blake3_sse2.c" #define loadu sse41_loadu #define storeu sse41_storeu @@ -40,7 +40,7 @@ #if defined(__clang__) #pragma clang attribute push(__attribute__((target("sse4.1"))), apply_to=function) #endif -#include "../third_party_ext/blake3/c/blake3_sse41.c" +#include "third_party/blake3/c/blake3_sse41.c" #if defined(__clang__) #pragma clang attribute pop #endif @@ -62,7 +62,7 @@ #if defined(__clang__) #pragma clang attribute push(__attribute__((target("avx2"))), apply_to=function) #endif -#include "../third_party_ext/blake3/c/blake3_avx2.c" +#include "third_party/blake3/c/blake3_avx2.c" #if defined(__clang__) #pragma clang attribute pop #endif @@ -80,7 +80,7 @@ #if defined(__clang__) #pragma clang attribute push(__attribute__((target("avx512f,avx512vl"))), apply_to=function) #endif -#include "../third_party_ext/blake3/c/blake3_avx512.c" +#include "third_party/blake3/c/blake3_avx512.c" #if defined(__clang__) #pragma clang attribute pop #endif @@ -88,11 +88,11 @@ #endif #if defined(__aarch64__) || defined(_M_ARM64) -#include "../third_party_ext/blake3/c/blake3_neon.c" +#include "third_party/blake3/c/blake3_neon.c" #endif -#include "../third_party_ext/blake3/c/blake3_dispatch.c" -#include "../third_party_ext/blake3/c/blake3.c" +#include "third_party/blake3/c/blake3_dispatch.c" +#include "third_party/blake3/c/blake3.c" #if defined(__clang__) #pragma clang diagnostic pop diff --git a/src/linker/base_ext/base_blake3.h b/src/linker/base_ext/base_blake3.h index bec40c60..4489e1d5 100644 --- a/src/linker/base_ext/base_blake3.h +++ b/src/linker/base_ext/base_blake3.h @@ -28,7 +28,7 @@ # pragma clang diagnostic pop #endif -#include "../third_party_ext/blake3/c/blake3.h" +#include "third_party/blake3/c/blake3.h" static void blake3(void* out, size_t outlen, void* in, size_t inlen) diff --git a/src/linker/lnk.c b/src/linker/lnk.c index 11ec9756..dff6ef2c 100644 --- a/src/linker/lnk.c +++ b/src/linker/lnk.c @@ -17,16 +17,16 @@ #include "base_ext/base_blake3.h" #include "base_ext/base_blake3.c" -#include "third_party_ext/md5/md5.c" -#include "third_party_ext/md5/md5.h" -#include "third_party_ext/xxHash/xxhash.c" -#include "third_party_ext/xxHash/xxhash.h" +#include "third_party/md5/md5.c" +#include "third_party/md5/md5.h" +#include "third_party/xxHash/xxhash.c" +#include "third_party/xxHash/xxhash.h" #if defined(_MSC_VER) #pragma warning(push) #pragma warning(disable:4789) #endif -#include "third_party_ext/radsort/radsort.h" +#include "third_party/radsort/radsort.h" #if defined(_MSC_VER) #pragma warning(pop) #endif