<commit_before>class Tbb < Formula
  desc "Rich and complete approach to parallelism in C++"
  homepage "https://github.com/oneapi-src/oneTBB"
  url "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.5.0.tar.gz"
  sha256 "e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "ab51e857beba9a5eaa3a8e265bb39443f6be0af06ce0e637b37d2c322b5b0eed"
    sha256 cellar: :any,                 arm64_big_sur:  "562dbe3727195b7d22f5750f720ab8719e84dd557f120af380fe65ebf1de0f71"
    sha256 cellar: :any,                 monterey:       "dcbc8429653c9953eeb40e73f228ebbdfca7e86bbcc13ddc9078fc67531660cc"
    sha256 cellar: :any,                 big_sur:        "292efca6f88d8dc0dd396593ec9cd7fffee60457968f3bf4911e595e67b0e4e5"
    sha256 cellar: :any,                 catalina:       "ceab79696162f301977698d1274dfc220de372ba473845c0b89ce29572e2c54b"
    sha256 cellar: :any,                 mojave:         "d5c1155379f21962bc47d172a9b673c4a72b24656b5f7fed5990d3e34b909c98"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "5dfbbb5d279074f2bc885ef3fa4c8e28faf69115434f1e58212bc3b027e36fcf"
  end

  depends_on "cmake" => :build
  depends_on "swig" => :build
  depends_on "python@3.9"

  # Fix installation of Python components
  # See https://github.com/oneapi-src/oneTBB/issues/343
  patch :DATA

  def install
    args = *std_cmake_args + %w[
      -DTBB_TEST=OFF
      -DTBB4PY_BUILD=ON
    ]

    mkdir "build" do
      system "cmake", "..", *args<commit_msg>tbb: update 2021.5.0 bottle.<commit_after>class Tbb < Formula
  desc "Rich and complete approach to parallelism in C++"
  homepage "https://github.com/oneapi-src/oneTBB"
  url "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.5.0.tar.gz"
  sha256 "e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "804b72c51e22dfa98d7252a3e187b06c22244ac09ddcdee8aa78ece343083f18"
    sha256 cellar: :any,                 arm64_big_sur:  "f869d3475a70d54683b257434dfdb7496b7872e7aa4e214287b69777515692e0"
    sha256 cellar: :any,                 monterey:       "b0b026ab6a6cacf1be163f6344862a3102efe93627cc71c8da38443e1c43bb70"
    sha256 cellar: :any,                 big_sur:        "4d2baf8e746cc56b7564207865ca491313262904a414c281f6b32c15160b74a2"
    sha256 cellar: :any,                 catalina:       "8853e627df0ac701d1378531e2eaf2cee7bc6f7e6f07f904e49e405aa1175315"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "b80392a4505b4116bb4d551c95d12fd3c1ad59162950024b03a48b2e29edaf1b"
  end

  depends_on "cmake" => :build
  depends_on "swig" => :build
  depends_on "python@3.9"

  # Fix installation of Python components
  # See https://github.com/oneapi-src/oneTBB/issues/343
  patch :DATA

  def install
    args = *std_cmake_args + %w[
      -DTBB_TEST=OFF
      -DTBB4PY_BUILD=ON
    ]

    mkdir "build" do
      system "cmake", "..", *args
{'fraction_non_alphanumeric': 0.08412750575090372, 'fraction_numerical': 0.23266513309234307, 'mean_word_length': 3.5432835820895523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '3984417', 'n_tokens_mistral': 1679, 'n_tokens_neox': 1310, 'n_words': 173}