Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,21 @@ tracy-csvexport: $(TRACY_CSVEXPORT_BUILD)/csvexport-release
bin_PROGRAMS += tracy-csvexport
endif # USE_TRACY_CSVEXPORT

if USE_TRACY_IMPORT_CHROME
TRACY_IMPORT_CHROME_DIR=$(top_srcdir)/lib/tracy/import-chrome
TRACY_IMPORT_CHROME_SOURCE=$(TRACY_IMPORT_CHROME_DIR)/src
TRACY_IMPORT_CHROME_BUILD=$(TRACY_IMPORT_CHROME_DIR)/build/unix

$(TRACY_IMPORT_CHROME_BUILD)/import-chrome-release: $(wildcard $(TRACY_IMPORT_CHROME_SOURCE)/*.*)
$(MAKE) -C $(TRACY_IMPORT_CHROME_BUILD) release CC="$(CC)" CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) -DNO_PARALLEL_SORT=1" CFLAGS="$(CFLAGS)" TRACY_NO_ISA_EXTENSIONS=1 TRACY_NO_LTO=1 LEGACY=1

tracy-import-chrome: $(TRACY_IMPORT_CHROME_BUILD)/import-chrome-release
cp -v $< $@

bin_PROGRAMS += tracy-import-chrome
endif # USE_TRACY_IMPORT_CHROME


EXTRA_DIST = stellar-core.supp test/testnet/multitail.conf \
test/testnet/run-test.sh README.md make-mks

Expand Down
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,11 @@ AC_ARG_ENABLE(tracy-csvexport,
[Enable 'tracy' profiler/tracer csvexport program]))
AM_CONDITIONAL(USE_TRACY_CSVEXPORT, [test x$enable_tracy_csvexport = xyes])

AC_ARG_ENABLE(tracy-import-chrome,
AS_HELP_STRING([--enable-tracy-import-chrome],
[Enable 'tracy' profiler/tracer chrome-trace-format importer]))
AM_CONDITIONAL(USE_TRACY_IMPORT_CHROME, [test x$enable_tracy_import_chrome = xyes])

AC_ARG_ENABLE(spdlog,
AS_HELP_STRING([--disable-spdlog],
[Disable spdlog]))
Expand Down
Loading