Skip to content
Open
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
10 changes: 7 additions & 3 deletions Formula/swipe.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Swipe < Formula
# Rognes 2011: "https://doi.org/10.1186/1471-2105-12-221"
desc "Smith-Waterman database searches with inter-sequence SIMD parallelisation"
homepage "http://dna.uio.no/swipe/"
url "https://github.com/torognes/swipe/archive/refs/tags/v2.1.0.tar.gz"
sha256 "9706cc1419bba9e4d77e2afb3565ac4f0f34abc294c5c2d0914325ab3207859f"
homepage "https://github.com/torognes/swipe"
url "https://github.com/torognes/swipe/archive/refs/tags/v2.1.1.tar.gz"
sha256 "cc7cd65ddafd6b9e69975292bee0583bdf64918e8d5c7ddd98ae41a20d3f8b73"
license "AGPL-3.0"

bottle do
Expand All @@ -12,6 +12,10 @@ class Swipe < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "fe6052456ecb3759d84019038262b07bff3a665ed114d73b614275220728d3c0"
end

# swipe.h includes <x86intrin.h> and uses SSE intrinsics throughout; there is
# no arm64/NEON code path, so it can only be built on x86_64.
depends_on arch: :x86_64

def install
system "make", "swipe", "COMMON="
bin.install "swipe"
Expand Down
Loading