Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated option -noall-load #96

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading