Skip to content

Commit

Permalink
progress on #236 NGSpeciesID
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Jan 8, 2024
1 parent bac5388 commit 616daf6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions 236_NGSpeciesID/pyspoa-0.2.1-GCC-12.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "Python bindings to spoa."

toolchain = {'name': 'GCC', 'version': '12.2.0'}

toolchainopts = {'extra_cxxflags': "-fpermissive"}
toolchainopts = {'extra_cflags': "-fpermissive"}

sources = [
{
Expand Down Expand Up @@ -53,16 +53,12 @@ sanity_pip_check = True
preinstallopts = "mkdir -p src/vendor/cereal && ln -s %(builddir)s/cereal-*/include src/vendor/cereal/include && "
# strip out cmake requirements, since we provide that as proper dependency
preinstallopts += "sed -i 's/.cmake==[0-9.]*.//g' setup.py && "
preinstallopts += "export libspoa=$EBROOTSPOA/lib/libspoa.a && "

options = {'modulename': 'spoa'}

sanity_check_commands = ["cd %(builddir)s/*/tests && python test_pyspoa.py"]

moduleclass = 'lib'

# TODO
# pyspoa.cpp:28:46: error: invalid conversion from int to std::vector<unsigned int>* [-fpermissive]
# 28 | auto consensus = graph.GenerateConsensus(min_cov);
# | ^~~~~~~
# | |
# |
# TODO ERROR: `python test_pyspoa.py exited with code -11`

0 comments on commit 616daf6

Please sign in to comment.