Skip to content

Commit aaeaefc

Browse files
committed
Add ArrayFire build
1 parent cdafef6 commit aaeaefc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Install ArrayFire (macOS)
21+
if: runner.os == 'macOS'
22+
run: |
23+
set -euo pipefail
24+
brew install arrayfire
25+
# The cabal file's OSX default paths are hardcoded to /opt/arrayfire;
26+
# point them at the Homebrew install so the build finds the headers,
27+
# libs, and rpath.
28+
sudo ln -sfn "$(brew --prefix arrayfire)" /opt/arrayfire
29+
2030
- uses: cachix/install-nix-action@v31
2131
with:
2232
nix_path: nixpkgs=channel:nixpkgs-unstable

0 commit comments

Comments
 (0)