Skip to content

Commit

Permalink
Build kraken2 for osx (#11343)
Browse files Browse the repository at this point in the history
  • Loading branch information
druvus authored Oct 13, 2018
1 parent 3bd87a6 commit 815254c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions recipes/kraken2/Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- src/Makefile 2018-10-12 19:22:38.000000000 +0200
+++ src/Makefile 2018-10-12 23:03:31.000000000 +0200
@@ -1,4 +1,4 @@
-CXX = g++
+#CXX = g++
CXXFLAGS = -fopenmp -Wall -std=c++11 -O3
CXXFLAGS += -DLINEAR_PROBING
4 changes: 2 additions & 2 deletions recipes/kraken2/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ package:
source:
url: https://github.com/DerrickWood/kraken2/archive/v2.0.7-beta.tar.gz
sha256: {{ sha256 }}
patches:
- Makefile.patch

build:
number: 0
skip: True # [osx]
has_prefix_files:
- libexec/kraken2
- libexec/kraken2-build
Expand All @@ -31,7 +32,6 @@ requirements:
- blast
- libcxx >=4.0 # [osx]
- openmp >=4.0 # [osx]

test:
commands:
- kraken2 --version
Expand Down

0 comments on commit 815254c

Please sign in to comment.