Skip to content

Commit

Permalink
chapel 1.28.0
Browse files Browse the repository at this point in the history
Closes #110783.

Signed-off-by: bhavanijayakumaran <82669529+bhavanijayakumaran@users.noreply.github.com>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
bhavanijayakumaran authored and BrewTestBot committed Sep 15, 2022
1 parent 9aa3ef8 commit 5348902
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions Formula/chapel.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
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"
url "https://github.com/chapel-lang/chapel/releases/download/1.28.0/chapel-1.28.0.tar.gz"
sha256 "64eacfb5915e1b3c487e865f819faf9bb8771c9f83aac6512698ded1baab250e"
license "Apache-2.0"
revision 2
head "https://github.com/chapel-lang/chapel.git", branch: "main"

bottle do
Expand All @@ -17,17 +16,11 @@ class Chapel < Formula
end

depends_on "gmp"
depends_on "python@3.10"

# 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
# Chapel only supports LLVM 14 and older. When LLVM15 releases, our formula would need to change
# this line to llvm@14.
depends_on "llvm"

on_system :linux, macos: :big_sur_or_newer do
depends_on "llvm"
end
depends_on "python@3.10"

# LLVM is built with gcc11 and we will fail on linux with gcc version 5.xx
fails_with gcc: "5"
Expand All @@ -45,6 +38,8 @@ def llvm
def install
# Always detect Python used as dependency rather than needing aliased Python formula
python = "python3.10"
# It should be noted that this will expand to: 'for cmd in python3.10 python3 python python2; do'
# in our find-python.sh script.
inreplace "util/config/find-python.sh", /^(for cmd in )(python3 )/, "\\1#{python} \\2"

libexec.install Dir["*"]
Expand Down

0 comments on commit 5348902

Please sign in to comment.