<commit_before>PKG_NAME=edbg
PKG_URL=https://github.com/ataradov/edbg
PKG_VERSION=76f85abdea212ba23760723cce15e00ca4ae4b76
PKG_LICENSE=BSD-3-Clause
PKG_BUILDDIR=$(CURDIR)/bin

# CC and CXX variables are set by RIOT's build process to cross compiling for
# a specific target platfrom. Thus, we have to unset them to build edgb using
# the system C/C++ compilers - i.e, to avoid conflicts on macOS systems
CC=
CXX=

.PHONY: all

all: git-download
	"$(MAKE)" -C $(PKG_BUILDDIR)
	mv $(PKG_BUILDDIR)/edbg .

include $(RIOTBASE)/pkg/pkg.mk<commit_msg>dist/tools/edbg: Clear environment before building edbg<commit_after>PKG_NAME=edbg
PKG_URL=https://github.com/ataradov/edbg
PKG_VERSION=76f85abdea212ba23760723cce15e00ca4ae4b76
PKG_LICENSE=BSD-3-Clause
PKG_BUILDDIR=$(CURDIR)/bin

.PHONY: all

all: git-download
# Start edbg build in a clean environment, so variables set by RIOT's build process
# for cross compiling a specific target platfrom are reset and edbg can
# be built cleanly for the native platform.
	env -i PATH=$(PATH) TERM=$(TERM) "$(MAKE)" -C $(PKG_BUILDDIR)
	mv $(PKG_BUILDDIR)/edbg .

include $(RIOTBASE)/pkg/pkg.mk
{'fraction_non_alphanumeric': 0.1064773735581189, 'fraction_numerical': 0.04259094942324756, 'mean_word_length': 5.482758620689655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3708999', 'n_tokens_mistral': 456, 'n_tokens_neox': 432, 'n_words': 114}