Skip to content

Commit

Permalink
Remove deprecated option -noall-load (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkralphs authored May 2, 2024
1 parent 5cc63d6 commit a4222a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v3
with:
name: bottles
path: '*.bottle.*'
3 changes: 2 additions & 1 deletion mumps-seq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class MumpsSeq < Formula
url "https://graal.ens-lyon.fr/MUMPS/MUMPS_5.5.1.tar.gz"
mirror "http://mumps.enseeiht.fr/MUMPS_5.5.1.tar.gz"
sha256 "1abff294fa47ee4cfd50dfd5c595942b72ebfcedce08142a75a99ab35014fa15"
revision 1

bottle do
root_url "https://github.com/coin-or-tools/homebrew-coinor/releases/download/mumps-seq-5.5.1"
Expand Down Expand Up @@ -61,7 +62,7 @@ def install
# make shared lib
so = OS.mac? ? "dylib" : "so"
all_load = OS.mac? ? "-all_load" : "--whole-archive"
noall_load = OS.mac? ? "-noall_load" : "--no-whole-archive"
noall_load = OS.mac? ? "" : "--no-whole-archive"
shopts = OS.mac? ? ["-undefined", "dynamic_lookup"] : []
install_name = ->(libname) { OS.mac? ? ["-Wl,-install_name", "-Wl,#{lib}/#{libname}.#{so}"] : [] }
cd "lib" do
Expand Down

0 comments on commit a4222a7

Please sign in to comment.