<commit_before>class Chapel < Formula
  desc "Programming language for productive parallel computing at scale"
  homepage "https://chapel-lang.org/"
  url "https://github.com/chapel-lang/chapel/releases/download/1.27.0/chapel-1.27.0.tar.gz"
  sha256 "558b1376fb7757a5e1f254c717953f598a3e89850c8edd1936b8d09c464f3e8b"
  license "Apache-2.0"

  bottle do
    sha256 arm64_monterey: "47e7d368c685aed62e699dbb9e87a881ab7d6a65873425b10d83d58458b62557"
    sha256 arm64_big_sur:  "632ea42631efaed6c650d311b8dbfa4b643869f55699192b4bb600b77d37079d"
    sha256 monterey:       "2863cfb4bc1082fba46a7c24a01db3a63abb2d6902ac1d5876fba13289b63eb4"
    sha256 big_sur:        "67f5179a97496c53649f6a851256246d419262aee7d0fdbdf734a380de1023b2"
    sha256 catalina:       "85a12fe66532bb5bcb31714054b7c081613886198fa4cc7bb8736053beb20c37"
    sha256 x86_64_linux:   "953787b24c4237de21e019d663bb779374968c878ffc08e72291c2f72afb8c6b"
  end

  depends_on "gmp"
  # `chapel` scripts use python on PATH (e.g. checking `command -v python3`),
  # so it needs to depend on the currently linked Homebrew Python version.
  # TODO: remove from versioned_dependencies_conflicts_allowlist when
  # when Python dependency matches LLVM's Python for all OS versions.
  depends_on "python@3.9"

  # fatal error: cannot open file './sys_basic.h': No such file or directory
  # Issue ref: https://github.com/Homebrew/homebrew-core/issues/96915
  on_catalina :or_older do
    depends_on "llvm@11"
  end

  on_system :linux, macos: :big_sur_or_newer do
    depends_on "llvm"
  end
<commit_msg>chapel: resolve issues on m1<commit_after>class Chapel < Formula
  desc "Programming language for productive parallel computing at scale"
  homepage "https://chapel-lang.org/"
  url "https://github.com/chapel-lang/chapel/releases/download/1.27.0/chapel-1.27.0.tar.gz"
  sha256 "558b1376fb7757a5e1f254c717953f598a3e89850c8edd1936b8d09c464f3e8b"
  license "Apache-2.0"
  revision 1
  head "https://github.com/chapel-lang/chapel.git", branch: "main"

  bottle do
    sha256 arm64_monterey: "47e7d368c685aed62e699dbb9e87a881ab7d6a65873425b10d83d58458b62557"
    sha256 arm64_big_sur:  "632ea42631efaed6c650d311b8dbfa4b643869f55699192b4bb600b77d37079d"
    sha256 monterey:       "2863cfb4bc1082fba46a7c24a01db3a63abb2d6902ac1d5876fba13289b63eb4"
    sha256 big_sur:        "67f5179a97496c53649f6a851256246d419262aee7d0fdbdf734a380de1023b2"
    sha256 catalina:       "85a12fe66532bb5bcb31714054b7c081613886198fa4cc7bb8736053beb20c37"
    sha256 x86_64_linux:   "953787b24c4237de21e019d663bb779374968c878ffc08e72291c2f72afb8c6b"
  end

  depends_on "gmp"
  # `chapel` scripts use python on PATH (e.g. checking `command -v python3`),
  # so it needs to depend on the currently linked Homebrew Python version.
  # TODO: remove from versioned_dependencies_conflicts_allowlist when
  # when Python dependency matches LLVM's Python for all OS versions.
  depends_on "python@3.9"

  # fatal error: cannot open file './sys_basic.h': No such file or directory
  # Issue ref: https://github.com/Homebrew/homebrew-core/issues/96915
  on_catalina :or_older do
    depends_on "llvm@11"
  end

  on_system :linux, macos: :big_sur_or_newer do
    depends_on "llvm"
  end

{'fraction_non_alphanumeric': 0.07385478342162667, 'fraction_numerical': 0.21813649111872857, 'mean_word_length': 5.033834586466165, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 7, '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': '6671657', 'n_tokens_mistral': 1694, 'n_tokens_neox': 1323, 'n_words': 234}