diff --git a/recipes/kraken2/Makefile.patch b/recipes/kraken2/Makefile.patch new file mode 100644 index 0000000000000..6f1c53f33b5cc --- /dev/null +++ b/recipes/kraken2/Makefile.patch @@ -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 diff --git a/recipes/kraken2/meta.yaml b/recipes/kraken2/meta.yaml index bdfac4a1ea427..04d945a25b670 100644 --- a/recipes/kraken2/meta.yaml +++ b/recipes/kraken2/meta.yaml @@ -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 @@ -31,7 +32,6 @@ requirements: - blast - libcxx >=4.0 # [osx] - openmp >=4.0 # [osx] - test: commands: - kraken2 --version