Skip to content

Commit

Permalink
add gfortran dep
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Aug 27, 2024
1 parent 8794f1b commit ffe1a12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ jobs:
run: |
wget https://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
export CURL_CA_BUNDLE=/tmp/cacert.pem
sudo ln /opt/homebrew/bin/gfortran-14 /opt/homebrew/bin/gfortran
export PATH="$PATH:/opt/homebrew/Cellar/gcc/14.1.0_2/libexec/gcc/aarch64-apple-darwin23/14/"
xmake l ./scripts/test.lua -D -a ${{ matrix.arch }} -k ${{ matrix.kind }}
2 changes: 2 additions & 0 deletions .github/workflows/macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ jobs:
run: |
wget https://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
export CURL_CA_BUNDLE=/tmp/cacert.pem
sudo ln /usr/local/bin/gfortran-14 /usr/local/bin/gfortran
export PATH="$PATH:/usr/local/Cellar/gcc/14.1.0_2/libexec/gcc/x86_64-apple-darwin21/14/"
xmake l ./scripts/test.lua -D -a ${{ matrix.arch }} -k ${{ matrix.kind }}
3 changes: 2 additions & 1 deletion packages/s/scotch/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ package("scotch")
if is_plat("linux") then
add_syslinks("pthread")
end
-- add_links("esmumps", "scotch", "scotcherr", "scotcherrexit", "scotchmetis")
add_links("ptesmumps", "esmumps", "scotch", "scotcherr", "scotcherrexit", "scotchmetis", "scotchmetisv5", "scotchmetisv3")
on_load(function (package)
if package:version():ge("7.0.0") then
package:add("deps", "cmake")
package:add("deps", "flex", "bison")
package:add("deps", "gfortran", {kind = "binary"})
if package:config("zlib") then
package:add("deps", "zlib")
end
Expand Down

0 comments on commit ffe1a12

Please sign in to comment.