<commit_before>cmake_minimum_required (VERSION 2.6)

pkg_check_modules (GFAL2_PKG REQUIRED gfal2>=2.7.0)
pkg_check_modules (GLIB2_PKG REQUIRED glib-2.0)
pkg_check_modules (CURL_PKG REQUIRED libcurl)
pkg_check_modules (JSONC_PKG REQUIRED json)
pkg_check_modules (OPENSSL_PKG REQUIRED openssl)

include_directories (${GFAL2_PKG_INCLUDE_DIRS})
include_directories (${GLIB2_PKG_INCLUDE_DIRS})<commit_msg>Workaround for json pkgconfig location<commit_after>cmake_minimum_required (VERSION 2.6)

# json-c pkgconfig is installed under /lib64 instead of /usr/lib64
# https://bugzilla.redhat.com/show_bug.cgi?id=1158842
set (ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/lib64/pkgconfig:/lib/pkgconfig")

pkg_check_modules (GFAL2_PKG REQUIRED gfal2>=2.7.0)
pkg_check_modules (GLIB2_PKG REQUIRED glib-2.0)
pkg_check_modules (CURL_PKG REQUIRED libcurl)
pkg_check_modules (JSONC_PKG REQUIRED json)
pkg_check_modules (OPENSSL_PKG REQUIRED openssl)

include_directories (${GFAL2_PKG_INCLUDE_DIRS})
include_directories (${GLIB2_PKG_INCLUDE_DIRS})
{'fraction_non_alphanumeric': 0.0912621359223301, 'fraction_numerical': 0.035922330097087375, 'mean_word_length': 9.207920792079207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '6495029', 'n_tokens_mistral': 447, 'n_tokens_neox': 408, 'n_words': 70}