mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Define BIT_DEBUG for --debug
This commit is contained in:
@ -248,7 +248,7 @@ def build_parser(args):
|
|||||||
dest='debug',
|
dest='debug',
|
||||||
type=int,
|
type=int,
|
||||||
default=1,
|
default=1,
|
||||||
help='Set ZSTD_DEBUG (default: 1)')
|
help='Set ZSTD_DEBUG and BIT_DEBUG (default: 1)')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--force-memory-access',
|
'--force-memory-access',
|
||||||
dest='memory_access',
|
dest='memory_access',
|
||||||
@ -356,6 +356,7 @@ def build(args):
|
|||||||
|
|
||||||
cppflags += [
|
cppflags += [
|
||||||
'-DZSTD_DEBUG={}'.format(args.debug),
|
'-DZSTD_DEBUG={}'.format(args.debug),
|
||||||
|
'-DBIT_DEBUG={}'.format(args.debug),
|
||||||
'-DMEM_FORCE_MEMORY_ACCESS={}'.format(args.memory_access),
|
'-DMEM_FORCE_MEMORY_ACCESS={}'.format(args.memory_access),
|
||||||
'-DFUZZ_RNG_SEED_SIZE={}'.format(args.fuzz_rng_seed_size),
|
'-DFUZZ_RNG_SEED_SIZE={}'.format(args.fuzz_rng_seed_size),
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user