forked from DanEngelbrecht/longtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all_sources.sh
executable file
·66 lines (42 loc) · 2.88 KB
/
all_sources.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
LIB_SRC="${BASE_DIR}lib/filestorage/*.c"
LIB_THIRDPARTY_SRC="${BASE_DIR}src/ext/*.c"
ARCHIVEBLOCKSTORE_SRC="${BASE_DIR}lib/archiveblockstore/*.c"
ATOMICCANCEL_SRC="${BASE_DIR}lib/atomiccancel/*.c"
BLOCKSTORESTORAGE_SRC="${BASE_DIR}lib/blockstorestorage/*.c"
COMPRESSBLOCKSTORE_SRC="${BASE_DIR}lib/compressblockstore/*.c"
CACHEBLOCKSTORE_SRC="${BASE_DIR}lib/cacheblockstore/*.c"
FILESTORAGE_SRC="${BASE_DIR}lib/*.c"
FSBLOCKSTORAGE_SRC="${BASE_DIR}lib/fsblockstore/*.c"
HPCDCCHUNKER_SRC="${BASE_DIR}lib/hpcdcchunker/*.c"
LRUBLOCKSTORE_SRC="${BASE_DIR}lib/lrublockstore/*.c"
MEMSTORAGE_SRC="${BASE_DIR}lib/memstorage/*.c"
MEMTRACER_SRC="${BASE_DIR}lib/memtracer/*.c"
MEOWHASH_SRC="${BASE_DIR}lib/meowhash/*.c"
RATELIMITEDPROGRESS_SRC="${BASE_DIR}lib/ratelimitedprogress/*.c"
COMPRESSION_REGISTRY_SRC="${BASE_DIR}lib/compressionregistry/*.c"
HASH_REGISTRY_SRC="${BASE_DIR}lib/hashregistry/*.c"
SHAREBLOCKSTORE_SRC="${BASE_DIR}lib/shareblockstore/*.c"
BIKESHED_SRC="${BASE_DIR}lib/bikeshed/*.c"
BLAKE2_SRC="${BASE_DIR}lib/blake2/*.c"
BLAKE2_THIRDPARTY_SRC="${BASE_DIR}lib/blake2/ext/*.c"
BLAKE3_SRC="${BASE_DIR}lib/blake3/*.c"
BLAKE3_THIRDPARTY_SRC="${BASE_DIR}lib/blake3/ext/blake3.c ${BASE_DIR}lib/blake3/ext/blake3_dispatch.c ${BASE_DIR}lib/blake3/ext/blake3_portable.c ${BASE_DIR}lib/blake3/ext/blake3_sse2.c ${BASE_DIR}lib/blake3/ext/blake3_sse41.c"
BLAKE3_THIRDPARTY_SSE42=
BLAKE3_THIRDPARTY_AVX2="${BASE_DIR}lib/blake3/ext/blake3_avx2.c"
BLAKE3_THIRDPARTY_AVX512="${BASE_DIR}lib/blake3/ext/blake3_avx512.c"
BLAKE3_THIRDPARTY_NEON="${BASE_DIR}lib/blake3/ext/blake3_neon.c"
LZ4_SRC="${BASE_DIR}lib/lz4/*.c"
LZ4_THIRDPARTY_SRC="${BASE_DIR}lib/lz4/ext/*.c"
BROTLI_SRC="${BASE_DIR}lib/brotli/*.c"
BROTLI_THIRDPARTY_SRC="${BASE_DIR}lib/brotli/ext/common/*.c ${BASE_DIR}lib/brotli/ext/dec/*.c ${BASE_DIR}lib/brotli/ext/enc/*.c"
ZSTD_SRC="${BASE_DIR}lib/zstd/*.c"
ZSTD_THIRDPARTY_SRC="${BASE_DIR}lib/zstd/ext/common/*.c ${BASE_DIR}lib/zstd/ext/compress/*.c ${BASE_DIR}lib/zstd/ext/decompress/*.c"
ZSTD_THIRDPARTY_GCC_SRC="${BASE_DIR}lib/zstd/ext/decompress/*.S"
export SRC="${BASE_DIR}src/*.c $LIB_SRC $ARCHIVEBLOCKSTORE_SRC $ATOMICCANCEL_SRC $BLOCKSTORESTORAGE_SRC $COMPRESSBLOCKSTORE_SRC $CACHEBLOCKSTORE_SRC $SHAREBLOCKSTORE_SRC $FILESTORAGE_SRC $FSBLOCKSTORAGE_SRC $HPCDCCHUNKER_SRC $LRUBLOCKSTORE_SRC $MEMSTORAGE_SRC $MEMTRACER_SRC $MEOWHASH_SRC $RATELIMITEDPROGRESS_SRC $COMPRESSION_REGISTRY_SRC $HASH_REGISTRY_SRC $BIKESHED_SRC $BLAKE2_SRC $BLAKE3_SRC $LZ4_SRC $BROTLI_SRC $ZSTD_SRC"
export THIRDPARTY_SRC="$LIB_THIRDPARTY_SRC $BLAKE2_THIRDPARTY_SRC $BLAKE3_THIRDPARTY_SRC $LZ4_THIRDPARTY_SRC $BROTLI_THIRDPARTY_SRC $ZSTD_THIRDPARTY_SRC"
export THIRDPARTY_SRC_SSE42="$BLAKE3_THIRDPARTY_SSE42"
export THIRDPARTY_SRC_AVX2="$BLAKE3_THIRDPARTY_AVX2"
export THIRDPARTY_SRC_AVX512="$BLAKE3_THIRDPARTY_AVX512"
export THIRDPARTY_SRC_NEON="$BLAKE3_THIRDPARTY_NEON"
export THIRDPARTY_GCC_SRC="$ZSTD_THIRDPARTY_GCC_SRC"