<commit_before>#The build configuration
CONFIG := release

EXTENSION := pg_libphonenumber
version := 1.0
extension_script := $(EXTENSION)--$(version).sql
DATA_built := $(extension_script)

cpp_files := $(wildcard *.cpp)

MODULE_big := pg_libphonenumber
OBJS := $(patsubst %.cpp,%.o,$(cpp_files))
PG_CPPFLAGS := -fPIC -std=c++11
ifeq ($(CONFIG),debug)
	PG_CPPFLAGS += -g -Og
else
	PG_CPPFLAGS += -O3
endif
SHLIB_LINK := -lphonenumber -lstdc++

EXTRA_CLEAN := $(extension_script) tools/get_sizeof_phone_number

PG_CONFIG := pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

$(extension_script): $(EXTENSION).sql.template tools/get_sizeof_phone_number
	sed "s/SIZEOF_PHONE_NUMBER/$(shell tools/get_sizeof_phone_number)/" $< > $@

tools/get_sizeof_phone_number: tools/get_sizeof_phone_number.cpp
	$(CXX) -std=c++11 $< -o $@

<commit_msg>Fixed dependency in Makefile<commit_after>#The build configuration
CONFIG := release

EXTENSION := pg_libphonenumber
version := 1.0
extension_script := $(EXTENSION)--$(version).sql
DATA_built := $(extension_script)

cpp_files := $(wildcard *.cpp)

MODULE_big := pg_libphonenumber
OBJS := $(patsubst %.cpp,%.o,$(cpp_files))
PG_CPPFLAGS := -fPIC -std=c++11
ifeq ($(CONFIG),debug)
	PG_CPPFLAGS += -g -Og
else
	PG_CPPFLAGS += -O3
endif
SHLIB_LINK := -lphonenumber -lstdc++

EXTRA_CLEAN := $(extension_script) tools/get_sizeof_phone_number

PG_CONFIG := pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

$(extension_script): $(EXTENSION).sql.template tools/get_sizeof_phone_number
	sed "s/SIZEOF_PHONE_NUMBER/$(shell tools/get_sizeof_phone_number)/" $< > $@

tools/get_sizeof_phone_number: tools/get_sizeof_phone_number.cpp short_phone_number.h
	$(CXX) -std=c++11 $< -o $@


{'fraction_non_alphanumeric': 0.15895953757225434, 'fraction_numerical': 0.008092485549132947, 'mean_word_length': 6.094262295081967, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '6279990', 'n_tokens_mistral': 666, 'n_tokens_neox': 638, 'n_words': 120}