Generate 7 memfs files for Windows

This commit is contained in:
Baudouin Raoult 2021-08-29 16:25:42 +01:00
parent 8c2176104e
commit 7dbb862a4c
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ print("MEMFS: starting")
# Exclude experimental features e.g. GRIB3 and TAF # Exclude experimental features e.g. GRIB3 and TAF
# The BUFR codetables is not used in the engine # The BUFR codetables is not used in the engine
EXCLUDED = ["grib3", "codetables", "taf", "stations"] EXCLUDED = ["grib3", "codetables", "taf", "stations"]
EXPECTED_FCOUNT = 6 EXPECTED_FCOUNT = 7
pos = 1 pos = 1
if sys.argv[1] == "-exclude": if sys.argv[1] == "-exclude":
@ -36,7 +36,7 @@ print("Excluding: ", EXCLUDED)
FILES = {} FILES = {}
SIZES = {} SIZES = {}
NAMES = [] NAMES = []
CHUNK = 16 * 1024 * 1024 # chunk size in bytes CHUNK = 14 * 1024 * 1024 # chunk size in bytes
# Binary to ASCII function. Different in Python 2 and 3 # Binary to ASCII function. Different in Python 2 and 3
try: try:

View File

@ -6,6 +6,7 @@ set( generated_c_files
${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_004.c ${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_004.c
${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_005.c ${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_005.c
${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_006.c ${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_006.c
${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_007.c
${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_final.c) ${CMAKE_CURRENT_BINARY_DIR}/memfs_gen_final.c)
set( exclude "" ) set( exclude "" )