<commit_before>#
# A macro to build the bundled libobjc
#
macro(libobjc_build)
    if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
        set (extra_cflags "${CC_DEBUG_OPT} -O0 -fno-inline")
        set (extra_ldflags "")
    else ()
        set (extra_cflags "-O3 -Wno-unused-result")
        set (extra_ldflags "-s")
    endif()
    if (${TARGET_OS_LINUX})
        set (extra_cflags "${extra_cflags} -D_GNU_SOURCE")
    endif()
    if (CMAKE_COMPILER_IS_CLANG)
        set (extra_cflags "${extra_cflags} -Wno-deprecated-objc-isa-usage")
    endif()
    if (NOT (${PROJECT_BINARY_DIR} STREQUAL ${PROJECT_SOURCE_DIR}))
        add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/third_party/libobjc
            COMMAND mkdir ${PROJECT_BINARY_DIR}/third_party/libobjc
            COMMAND cp -r ${PROJECT_SOURCE_DIR}/third_party/libobjc/*
                ${PROJECT_BINARY_DIR}/third_party/libobjc<commit_msg>Fix a compile failure on tt-dev.mail.ru<commit_after>#
# A macro to build the bundled libobjc
#
macro(libobjc_build)
    if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
        set (extra_cflags "${CC_DEBUG_OPT} -O0 -fno-inline")
        set (extra_ldflags "")
    else ()
        set (extra_cflags "-O3")
        if (CC_HAS_WNO_UNUSED_RESULT)
            set (extra_cflags "${extra_cflags} -Wno-unused-result")
       endif()
        set (extra_ldflags "-s")
    endif()
    if (${TARGET_OS_LINUX})
        set (extra_cflags "${extra_cflags} -D_GNU_SOURCE")
    endif()
    if (CMAKE_COMPILER_IS_CLANG)
        set (extra_cflags "${extra_cflags} -Wno-deprecated-objc-isa-usage")
    endif()
    if (NOT (${PROJECT_BINARY_DIR} STREQUAL ${PROJECT_SOURCE_DIR}))
        add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/third_party/libobjc
            COMMAND mkdir ${PROJECT_BINARY_DIR}/third_party/libobjc
            COMMAND cp -r ${PROJECT_SOURCE_DIR}/third_party/libobjc/*
                ${PROJECT_BINARY_DIR}/third_party/libobjc
{'fraction_non_alphanumeric': 0.12278876170655567, 'fraction_numerical': 0.002081165452653486, 'mean_word_length': 3.108974358974359, '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': '3581077', 'n_tokens_mistral': 709, 'n_tokens_neox': 686, 'n_words': 126}