Skip to content

Commit

Permalink
fix macos makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Sep 24, 2024
1 parent c2dcb74 commit bfff236
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,19 @@ dependencies = ["install_cfitsio"]
[tasks.linux_install_deps]
dependencies = ["linux_install_aoflagger"]

[tasks.mac_install_deps]
script = """
if [[ $(uname -m) == 'arm64' ]]; then
arch -arm64 brew upgrade || echo "huh?"
arch -arm64 brew install casacore/tap/casacore mwatelescope/tap/aoflagger
else
brew install casacore/tap/casacore mwatelescope/tap/aoflagger
fi
"""

[tasks.install_deps]
linux_alias = "linux_install_deps"
mac_alias = "mac_install_deps"

[tasks.linux_check_deps]
script = """
Expand Down

0 comments on commit bfff236

Please sign in to comment.