<commit_before>NAME = uhdm
SOURCES = UhdmAst.cc \
	  uhdmastfrontend.cc \
	  uhdmastreport.cc \
	  vpivisitor.cc

include ../Makefile_plugin.common

CPPFLAGS += -std=c++17 -I${UHDM_INSTALL_DIR}/include/uhdm \
			-I${UHDM_INSTALL_DIR}/include/uhdm/include \
			-I${UHDM_INSTALL_DIR}/include/uhdm/headers \
			-I${UHDM_INSTALL_DIR}/include/surelog

CXXFLAGS += -Wno-inconsistent-missing-override -Wno-unused-parameter
LDFLAGS += -L${UHDM_INSTALL_DIR}/lib/uhdm -L${UHDM_INSTALL_DIR}/lib/surelog -L${UHDM_INSTALL_DIR}/lib
LDLIBS += -luhdm -lcapnp -lkj -ldl -lutil -lm -lrt -lpthread -lsurelog<commit_msg>Add link to antlr4-runtime and flatbuffers<commit_after>NAME = uhdm
SOURCES = UhdmAst.cc \
	  uhdmastfrontend.cc \
	  uhdmastreport.cc \
	  vpivisitor.cc

include ../Makefile_plugin.common

CPPFLAGS += -std=c++17 -I${UHDM_INSTALL_DIR}/include/uhdm \
			-I${UHDM_INSTALL_DIR}/include/uhdm/include \
			-I${UHDM_INSTALL_DIR}/include/uhdm/headers \
			-I${UHDM_INSTALL_DIR}/include/surelog

CXXFLAGS += -Wno-inconsistent-missing-override -Wno-unused-parameter
LDFLAGS += -L${UHDM_INSTALL_DIR}/lib/uhdm -L${UHDM_INSTALL_DIR}/lib/surelog -L${UHDM_INSTALL_DIR}/lib
LDLIBS += -luhdm -lcapnp -lkj -ldl -lutil -lm -lrt -lpthread -lsurelog -lantlr4-runtime -lflatbuffers
{'fraction_non_alphanumeric': 0.14603174603174604, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 4.126016260162602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7018235', 'n_tokens_mistral': 580, 'n_tokens_neox': 505, 'n_words': 70}