@@ -3,19 +3,18 @@ class Chapel < Formula
3
3
4
4
desc "Programming language for productive parallel computing at scale"
5
5
homepage "https://chapel-lang.org/"
6
- url "https://github.com/chapel-lang/chapel/releases/download/2.3 .0/chapel-2.3 .0.tar.gz"
7
- sha256 "0185970388aef1f1fae2a031edf060d5eac4eb6e6b1089e7e3b15a130edd8a31 "
6
+ url "https://github.com/chapel-lang/chapel/releases/download/2.4 .0/chapel-2.4 .0.tar.gz"
7
+ sha256 "a51a472488290df12d1657db2e7118ab519743094f33650f910d92b54c56f315 "
8
8
license "Apache-2.0"
9
- revision 1
10
9
head "https://github.com/chapel-lang/chapel.git" , branch : "main"
11
10
12
11
bottle do
13
- sha256 arm64_sequoia : "01077c1758132c0456bffaeab7d4b848d1df201d6008d94f5da37235952c58a6 "
14
- sha256 arm64_sonoma : "269ac1e6e69ac882271d641be4fc5495308477c7c5d427a75906caa096e57564 "
15
- sha256 arm64_ventura : "b95a7d5f78c93ad90ff05e88b015bc58b5e56dcce3990e8bea2171f06cd6780b "
16
- sha256 sonoma : "929f787dee9bade93120d7c8f5359289366937b606c568440c0721272d28eb52 "
17
- sha256 ventura : "9c407e8089872c512cadc844783e087587d5191fe03e546e7ad833e3948a2721 "
18
- sha256 x86_64_linux : "48a6fbd74a79b6287e467913051993c303c07a41999f7692fcdbecfd9222ad7f "
12
+ sha256 arm64_sequoia : "59188f8485768959302c9f4a458ff66e5c2c4ece64691fa5a639880936d6c990 "
13
+ sha256 arm64_sonoma : "05e8d2137ebd0722a4d533ffaa3fad94400f98f8b83d6b52c63eef609844fdae "
14
+ sha256 arm64_ventura : "8312360f28974f10d754a44400f399dcdb3758061e6cb350adb3f4459cdd84a1 "
15
+ sha256 sonoma : "b207875a623eaf69641509aa3329fc6baebc1ad6e7d7bbe103b7377a52cf6406 "
16
+ sha256 ventura : "9b1730b815cee7c4e2b2e88d153e7e7ba3c560461cbfe6dcf9c7bddffce00741 "
17
+ sha256 x86_64_linux : "972bc472973e5f3e40826b31f66c30464b8a0fe1e28ac173cfae4a54be54160f "
19
18
end
20
19
21
20
depends_on "cmake"
@@ -36,7 +35,6 @@ def install
36
35
# It should be noted that this will expand to: 'for cmd in python3.13 python3 python python2; do'
37
36
# in our find-python.sh script.
38
37
inreplace "util/config/find-python.sh" , /^(for cmd in )(python3 )/ , "\\ 1#{ python } \\ 2"
39
- inreplace "third-party/chpl-venv/Makefile" , "python3 -c " , "#{ python } -c "
40
38
41
39
# a lot of scripts have a python3 or python shebang, which does not point to python3.12 anymore
42
40
Pathname . glob ( "**/*.py" ) do |pyfile |
@@ -56,7 +54,7 @@ def install
56
54
( libexec /"chplconfig" ) . write <<~EOS
57
55
CHPL_RE2=bundled
58
56
CHPL_GMP=system
59
- CHPL_MEM =jemalloc
57
+ CHPL_TARGET_MEM =jemalloc
60
58
CHPL_TARGET_JEMALLOC=system
61
59
CHPL_HWLOC=system
62
60
CHPL_LLVM_CONFIG=#{ llvm . opt_bin } /llvm-config
@@ -84,7 +82,6 @@ def install
84
82
rm_r ( "third-party/llvm/llvm-src/" )
85
83
rm_r ( "third-party/gasnet/gasnet-src/" )
86
84
rm_r ( "third-party/libfabric/libfabric-src/" )
87
- rm_r ( "third-party/fltk/fltk-1.3.8-source.tar.gz" )
88
85
rm_r ( "third-party/libunwind/libunwind-src/" )
89
86
rm_r ( "third-party/gmp/gmp-src/" )
90
87
rm_r ( "third-party/qthread/qthread-src/" )
0 commit comments