<commit_before>##===- tools/llvmc/Makefile --------------------------------*- Makefile -*-===##
# 
#                     The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
# 
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = llvmc
LINK_COMPONENTS = support system
CONFIG_FILES = c cpp ll st
EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs
REQUIRES_EH := 1

# The CompilerDriver needs to know the locations of several configured
# directories and paths. We define these as preprocessor symbols so they can 
# be hard coded into the process based on the configuration. Only those
# configuration values not available in llvm/include/Config/config.h need to be
# specified here. These values are used as the replacements for the
# configuration file substitution variables such as %llvmgccdir%
CPPFLAGS = -DLLVMGCCDIR="\"$(LLVMGCCDIR)\"" \
           -DLLVMGCCARCH="\"$(LLVMGCCARCH)\"" \
	   -DLLVMGCC="\"$(LLVMGCC)\"" \
	   -DLLVMGXX="\"$(LLVMGXX)\"" \
	   -DLLVMCC1="\"$(LLVMCC1)\"" \
	   -DLLVMCC1PLUS="\"$(LLVMCC1PLUS)\""

include $(LEVEL)/Makefile.common

install::
	$(Echo) Installing additional C++ configuration clones
	$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/c++
	$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/cxx<commit_msg>Fix build error on ARM. Since CompilerDriver.cpp revision 1.44, llvmc must be linked against LLVMCore.a (llvm::Module::~Module) and LLVMBCReader.a (llvm::getBytecodeModuleProvider).<commit_after>##===- tools/llvmc/Makefile --------------------------------*- Makefile -*-===##
# 
#                     The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
# 
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = llvmc
LINK_COMPONENTS = support system core bcreader
CONFIG_FILES = c cpp ll st
EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs
REQUIRES_EH := 1

# The CompilerDriver needs to know the locations of several configured
# directories and paths. We define these as preprocessor symbols so they can 
# be hard coded into the process based on the configuration. Only those
# configuration values not available in llvm/include/Config/config.h need to be
# specified here. These values are used as the replacements for the
# configuration file substitution variables such as %llvmgccdir%
CPPFLAGS = -DLLVMGCCDIR="\"$(LLVMGCCDIR)\"" \
           -DLLVMGCCARCH="\"$(LLVMGCCARCH)\"" \
	   -DLLVMGCC="\"$(LLVMGCC)\"" \
	   -DLLVMGXX="\"$(LLVMGXX)\"" \
	   -DLLVMCC1="\"$(LLVMCC1)\"" \
	   -DLLVMCC1PLUS="\"$(LLVMCC1PLUS)\""

include $(LEVEL)/Makefile.common

install::
	$(Echo) Installing additional C++ configuration clones
	$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/c++
	$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/cxx
{'fraction_non_alphanumeric': 0.1898652982681206, 'fraction_numerical': 0.004169339320076972, 'mean_word_length': 3.0453955901426717, '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': '3908727', 'n_tokens_mistral': 978, 'n_tokens_neox': 925, 'n_words': 285}