mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-28 03:57:31 -03:00
eb15569280
Moving the mempool code (Boost) out of util.h, results in a ~10% speedup (for me) when compiling the fuzz tests.
22 lines
646 B
Text
22 lines
646 B
Text
# Copyright (c) 2013-2020 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
LIBTEST_FUZZ=libtest_fuzz.a
|
|
|
|
EXTRA_LIBRARIES += \
|
|
$(LIBTEST_FUZZ)
|
|
|
|
TEST_FUZZ_H = \
|
|
test/fuzz/fuzz.h \
|
|
test/fuzz/FuzzedDataProvider.h \
|
|
test/fuzz/util.h \
|
|
test/fuzz/util/mempool.h
|
|
|
|
libtest_fuzz_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
|
|
libtest_fuzz_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
libtest_fuzz_a_SOURCES = \
|
|
test/fuzz/fuzz.cpp \
|
|
test/fuzz/util.cpp \
|
|
test/fuzz/util/mempool.cpp \
|
|
$(TEST_FUZZ_H)
|