Skip to content

Commit

Permalink
arrayfire: fix MacOS references.
Browse files Browse the repository at this point in the history
Needed after Homebrew/brew#16306.
  • Loading branch information
MikeMcQuaid committed Dec 13, 2023
1 parent c7af952 commit d9554c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/a/arrayfire.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def install
cp pkgshare/"examples/helloworld/helloworld.cpp", testpath/"test.cpp"
system ENV.cxx, "-std=c++11", "test.cpp", "-L#{lib}", "-laf", "-lafcpu", "-o", "test"
# OpenCL does not work in CI.
return if Hardware::CPU.arm? && MacOS.version >= :monterey && ENV["HOMEBREW_GITHUB_ACTIONS"].present?
return if Hardware::CPU.arm? && OS.mac? && MacOS.version >= :monterey && ENV["HOMEBREW_GITHUB_ACTIONS"].present?

assert_match "ArrayFire v#{version}", shell_output("./test")
end
Expand Down

0 comments on commit d9554c0

Please sign in to comment.