[med-svn] [Git][med-team/spoa][upstream] New upstream version 3.0.2

Michael R. Crusoe gitlab at salsa.debian.org
Mon Apr 13 19:06:17 BST 2020



Michael R. Crusoe pushed to branch upstream at Debian Med / spoa


Commits:
d435cde5 by Michael R. Crusoe at 2020-04-13T18:40:17+02:00
New upstream version 3.0.2
- - - - -


5 changed files:

- .travis.yml
- CMakeLists.txt
- README.md
- src/graph.cpp
- src/main.cpp


Changes:

=====================================
.travis.yml
=====================================
@@ -1,3 +1,5 @@
+dist: trusty
+
 language: cpp
 
 compiler:


=====================================
CMakeLists.txt
=====================================
@@ -14,9 +14,12 @@ set(CMAKE_CXX_EXTENSIONS OFF)
 
 option(spoa_build_executable "Build spoa standalone tool" OFF)
 option(spoa_build_tests "Build spoa unit tests" OFF)
-option(spoa_optimize_for_native "Buiold spoa with march=native" ON)
+option(spoa_optimize_for_native "Build spoa with -march=native" ON)
+option(spoa_optimize_for_portability "Build spoa with -msse4.1" OFF)
 
-if (spoa_optimize_for_native)
+if (spoa_optimize_for_portability)
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
+elseif (spoa_optimize_for_native)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
 endif()
 


=====================================
README.md
=====================================
@@ -161,7 +161,7 @@ On the other hand, if you are using `cmake` you can add spoa to your project by
 
 ## Contact information
 
-For additional information, help and bug reports please send an email to: robert.vaser at fer.hr.
+For additional information, help and bug reports please send an email to: robert.vaser at fer.hr, mile.sikic at fer.hr.
 
 ## Acknowledgement
 


=====================================
src/graph.cpp
=====================================
@@ -726,6 +726,8 @@ void Graph::print_dot(const std::string& path) const {
 }
 
 void Graph::clear() {
+    num_codes_ = 0;
+    num_sequences_ = 0;
     std::fill(coder_.begin(), coder_.end(), -1);
     std::fill(decoder_.begin(), decoder_.end(), -1);
     nodes_.clear();


=====================================
src/main.cpp
=====================================
@@ -10,7 +10,7 @@
 #include "spoa/spoa.hpp"
 #include "bioparser/bioparser.hpp"
 
-static const std::string version = "v3.0.1";
+static const std::string version = "v3.0.2";
 
 static struct option options[] = {
     {"algorithm", required_argument, nullptr, 'l'},



View it on GitLab: https://salsa.debian.org/med-team/spoa/-/commit/d435cde5c792e3dad988606ae8d57bda93a9babb

-- 
View it on GitLab: https://salsa.debian.org/med-team/spoa/-/commit/d435cde5c792e3dad988606ae8d57bda93a9babb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200413/4970c9d4/attachment-0001.html>


More information about the debian-med-commit mailing list