<commit_before># -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Library_Library,opencl))

$(eval $(call gb_Library_set_include,opencl,\
    -I$(SRCDIR)/opencl/inc \
    $$(INCLUDE) \
))

$(eval $(call gb_Library_add_defs,opencl,\
    -DOPENCL_DLLIMPLEMENTATION \
))

$(eval $(call gb_Library_use_externals,opencl,\
    boost_headers \
    clew \
    icu_headers \
    icui18n \
    icuuc \
))

$(eval $(call gb_Library_use_custom_headers,opencl,\
    officecfg/registry \
))

$(eval $(call gb_Library_use_sdk_api,opencl))

$(eval $(call gb_Library_use_libraries,opencl,\
    configmgr \
    comphelper \
    cppu \
    sal \
))

$(eval $(call gb_Library_add_exception_objects,opencl,\
    opencl/source/openclconfig \
    opencl/source/openclwrapper \
    opencl/source/opencl_device \
    opencl/source/platforminfo \
))

# vim: set noet sw=4 ts=4:<commit_msg>Need -lrt for clock_gettime() with older glibc versions<commit_after># -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Library_Library,opencl))

$(eval $(call gb_Library_set_include,opencl,\
    -I$(SRCDIR)/opencl/inc \
    $$(INCLUDE) \
))

$(eval $(call gb_Library_add_defs,opencl,\
    -DOPENCL_DLLIMPLEMENTATION \
))

$(eval $(call gb_Library_use_externals,opencl,\
    boost_headers \
    clew \
    icu_headers \
    icui18n \
    icuuc \
))

$(eval $(call gb_Library_use_custom_headers,opencl,\
    officecfg/registry \
))

$(eval $(call gb_Library_use_sdk_api,opencl))

$(eval $(call gb_Library_use_libraries,opencl,\
    configmgr \
    comphelper \
    cppu \
    sal \
))

$(eval $(call gb_Library_add_exception_objects,opencl,\
    opencl/source/openclconfig \
    opencl/source/openclwrapper \
    opencl/source/opencl_device \
    opencl/source/platforminfo \
))

ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,opencl,\
    -lrt \
))
endif

# vim: set noet sw=4 ts=4:
{'fraction_non_alphanumeric': 0.13289310771770532, 'fraction_numerical': 0.007428807263722658, 'mean_word_length': 3.4395604395604398, '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': '1171887', 'n_tokens_mistral': 921, 'n_tokens_neox': 900, 'n_words': 203}