<commit_before>#!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

import specs.gmock as gmock
import specs.fmt as fmt
import specs.folly as folly
import specs.fizz as fizz
import specs.mvfst as mvfst
import specs.sodium as sodium
import specs.wangle as wangle
import specs.zstd as zstd


def fbcode_builder_spec(builder):
    # Projects that **depend** on proxygen should don't need to build tests
    # or QUIC support.
    builder.add_option(
        "proxygen/proxygen:cmake_defines",
        {
            # These 2 are set to ON in `proxygen_quic.py`
            "BUILD_QUIC": "OFF",
            "BUILD_TESTS": "OFF",
        },
    )

    return {
        "depends_on": [gmock, fmt, folly, wangle, fizz, sodium, zstd, mvfst],
        "steps": [builder.fb_github_cmake_install("proxygen/proxygen", "..")],
    }<commit_msg>proxygen: fix shared libs build<commit_after>#!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

import specs.gmock as gmock
import specs.fmt as fmt
import specs.folly as folly
import specs.fizz as fizz
import specs.mvfst as mvfst
import specs.sodium as sodium
import specs.wangle as wangle
import specs.zstd as zstd


def fbcode_builder_spec(builder):
    # Projects that **depend** on proxygen should don't need to build tests
    # or QUIC support.
    builder.add_option(
        "proxygen/proxygen:cmake_defines",
        {
            # These 2 are set to ON in `proxygen_quic.py`
            "BUILD_QUIC": "OFF",
            "BUILD_TESTS": "OFF",
            # For bistro
            "BUILD_SHARED_LIBS": "OFF",
        },
    )

    return {
        "depends_on": [gmock, fmt, folly, wangle, fizz, sodium, zstd, mvfst],
        "steps": [builder.fb_github_cmake_install("proxygen/proxygen", "..")],
    }
{'fraction_non_alphanumeric': 0.09217474795967355, 'fraction_numerical': 0.0009601536245799327, 'mean_word_length': 3.168, 'pattern_counts': {'":': 9, '<': 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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4317359', 'n_tokens_mistral': 697, 'n_tokens_neox': 654, 'n_words': 206}