|
1 | 1 | class Tfel < Formula |
2 | 2 | desc "Code generation tool dedicated to material knowledge for numerical mechanics" |
3 | 3 | homepage "https://thelfer.github.io/tfel/web/index.html" |
| 4 | + url "https://github.com/thelfer/tfel/archive/refs/tags/TFEL-5.0.1.tar.gz" |
| 5 | + sha256 "820b2f9d54e237b2c2d9d6f06aaf7d4a1d3f34fb373e6549bee4fd8b55ecfad1" |
4 | 6 | license "GPL-1.0-or-later" |
5 | | - revision 1 |
6 | 7 | head "https://github.com/thelfer/tfel.git", branch: "master" |
7 | 8 |
|
8 | | - stable do |
9 | | - url "https://github.com/thelfer/tfel/archive/refs/tags/TFEL-5.0.0.tar.gz" |
10 | | - sha256 "fe1ec39eba7f23571c2b0c773dab1cc274fee4512c5b2f2fc54b231da4502e87" |
11 | | - |
12 | | - # Backport fix for https://github.com/thelfer/tfel/issues/703 |
13 | | - patch do |
14 | | - url "https://github.com/thelfer/tfel/commit/c4c564ab09a7c13c87ef3628ed89d2abe1c2aa0d.patch?full_index=1" |
15 | | - sha256 "34b217330ef72b12d19b820a7edd994f0107e295f96c779dfe40a990528e1c3a" |
16 | | - end |
17 | | - |
18 | | - # Backport fix for https://github.com/thelfer/tfel/issues/740 |
19 | | - patch do |
20 | | - url "https://github.com/thelfer/tfel/commit/331f889bec18329d2a8770cf72be33218c39b3f7.patch?full_index=1" |
21 | | - sha256 "901c94fe0a48890e4b17d6cefd87dde34dead3563544162b3196aacda04eebc0" |
22 | | - end |
23 | | - patch do |
24 | | - url "https://github.com/thelfer/tfel/commit/2ac23026e15c716c8b5364aa572fb651457ad786.patch?full_index=1" |
25 | | - sha256 "8becb7f82848cb36dd2fc200bed676c95692c9a451ca12c661ef1374ba87bbf1" |
26 | | - end |
27 | | - end |
28 | | - |
29 | 9 | bottle do |
30 | | - sha256 arm64_sequoia: "50d3bd7962505ed2bc6fb2557947d7ec078167ac5d5e6525bb1ec644ab69514b" |
31 | | - sha256 arm64_sonoma: "348823d0f7433600de4005ec4bc423d18e46c1eabf43bf743eef83b9fc802bd4" |
32 | | - sha256 arm64_ventura: "6faecb90a644d46af6d4d8d0a2e1619b4abc21f479af6c81e532e3393c6b129c" |
33 | | - sha256 sonoma: "f21cf45477369903801db72624265e799e8fe24a1d53231f61eb6bee33ee1516" |
34 | | - sha256 ventura: "2fc7f26b7cfc67188891020563e4b96ddc8945b924532b1512199b3029e00076" |
35 | | - sha256 arm64_linux: "a70c7ba818b14efbe76d4a02762fed0625f78bd8906d4978dd2f1d27c2bd5c3e" |
36 | | - sha256 x86_64_linux: "5086c2c9498895965149d37772fb2a4ef7f06cbb1071d3d31291e678b42f9f1c" |
| 10 | + sha256 arm64_sequoia: "5a32fde49de7f2ecb7019ceb8893ae34ecca6347c71b1598bc056199594d2014" |
| 11 | + sha256 arm64_sonoma: "36ec43fdca67231f63225ca920b6f62e0e5489510de6c2b8796bc7238e6b42a4" |
| 12 | + sha256 arm64_ventura: "67632853027c9909241d22a4745db0c68ec235339713a51d0b626a443808578e" |
| 13 | + sha256 sonoma: "ace78851845633b3f55a10cc49f7e365962b4acf5cee5c5a0e19ac35b5131226" |
| 14 | + sha256 ventura: "b0a0492cfb359a04d65d9e7b0a4b41db3817ae492e002a5d58e712b682dce87c" |
| 15 | + sha256 arm64_linux: "27e25c31a2fd4b106d35c072a359ccd78c478f42b52298d960d06a82ee877fc2" |
| 16 | + sha256 x86_64_linux: "51420bbf165e34f3abdf34af61c445eadba23e9ca0ce8d1c092b0e0247a9cd16" |
37 | 17 | end |
38 | 18 |
|
39 | 19 | depends_on "cmake" => :build |
@@ -63,6 +43,7 @@ def install |
63 | 43 | "-Denable-testing=OFF", |
64 | 44 | "-Dpython-static-interpreter-workaround=ON", |
65 | 45 | ] |
| 46 | + |
66 | 47 | # Avoid linkage to boost container and graph modules |
67 | 48 | # Issue ref: https://github.com/boostorg/boost/issues/985 |
68 | 49 | args << "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-dead_strip_dylibs" if OS.mac? |
|
0 commit comments