Commit 3b03eb19 authored by Sascha Steinbiss's avatar Sascha Steinbiss
Browse files

further work on building 0.8

parent 9cf4264e
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
salmon (0.8.0+ds1-1) UNRELEASED; urgency=medium
salmon (0.8.0+ds1-1) unstable; urgency=medium

  * Team upload
  * New upstream version
  * debhelper 10
  * d/watch: version=4
  * Update embedded rapmap.

  TODO: Does not build:
  /usr/bin/cc  -g -O2 -fdebug-prefix-map=/build/salmon-0.8.0+ds1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create  -Wl,-z,relro -Wl,-z,now  CMakeFiles/cmTC_de0fb.dir/CheckFunctionExists.c.o  -o cmTC_de0fb -rdynamic -lpthreads 
  /usr/bin/ld: cannot find -lpthreads
  collect2: error: ld returned 1 exit status
  error: no matching function for call to 'create(const char [11], <brace-enclosed initializer list>)'

 -- Andreas Tille <tille@debian.org>  Tue, 24 Jan 2017 14:08:13 +0100

+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ Build-Depends: debhelper (>= 10),
               libboost-program-options-dev,
               libboost-timer-dev,
               libjellyfish-2.0-dev (>> 2.2.3-2),
               libpthread-stubs0-dev,
               libsparsehash-dev,
               libdivsufsort-dev,
               libbwa-dev,
+49 −4
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Subject: Remove salmon_core lib

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -102,9 +102,6 @@ else()
@@ -102,9 +102,6 @@
   set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
 endif()
 
@@ -18,7 +18,7 @@ Subject: Remove salmon_core lib
 
 # Build the salmon executable
 add_executable(salmon ${SALMON_MAIN_SRCS} ${SALMON_ALIGN_SRCS})
@@ -124,7 +121,6 @@ set (SUFFARRAY64_LIB ${GAT_SOURCE_DIR}/e
@@ -124,7 +121,6 @@
 
 # Link the executable
 target_link_libraries(salmon
@@ -26,7 +26,52 @@ Subject: Remove salmon_core lib
     gff
     ${PTHREAD_LIB}
     ${Boost_LIBRARIES}
@@ -181,7 +177,6 @@ add_dependencies(salmon libdivsufsort)
@@ -146,42 +142,41 @@
 # External dependencies of salmon_core and salmon
 ##
 if (${FETCHED_JEMALLOC})
-   add_dependencies(salmon_core libjemalloc)
+    #   add_dependencies(salmon_core libjemalloc)
    add_dependencies(salmon libjemalloc)
 endif()
 
 if (${FETCHED_BOOST})
-   add_dependencies(salmon_core libboost)
+    # add_dependencies(salmon_core libboost)
    add_dependencies(salmon libboost)
 endif()
 
 if (${FETCHED_JELLYFISH})
-   add_dependencies(salmon_core libjellyfish)
+    #add_dependencies(salmon_core libjellyfish)
    add_dependencies(salmon libjellyfish)
 endif()
 
 if (${FETCHED_TBB})
-   add_dependencies(salmon_core libtbb)
+    #add_dependencies(salmon_core libtbb)
    add_dependencies(salmon libtbb)
 endif()
 
-add_dependencies(salmon_core libcereal)
+#add_dependencies(salmon_core libcereal)
 add_dependencies(salmon libcereal)
-add_dependencies(salmon_core libstadenio)
+#add_dependencies(salmon_core libstadenio)
 add_dependencies(salmon libstadenio)
-add_dependencies(salmon_core libspdlog)
+#add_dependencies(salmon_core libspdlog)
 add_dependencies(salmon libspdlog)
 ## FIXME: This was commented in version 0.7.2 in a quilt patch
-add_dependencies(salmon_core libbwa)
+#add_dependencies(salmon_core libbwa)
 add_dependencies(salmon libbwa)
-add_dependencies(salmon_core libgff)
+#add_dependencies(salmon_core libgff)
 add_dependencies(salmon libgff)
-add_dependencies(salmon_core libdivsufsort)
+#add_dependencies(salmon_core libdivsufsort)
 add_dependencies(salmon libdivsufsort)
 
 # Link the executable
 target_link_libraries(unitTests
@@ -34,7 +79,7 @@ Subject: Remove salmon_core lib
     gff
     ${PTHREAD_LIB}
     ${Boost_LIBRARIES}
@@ -259,7 +254,7 @@ install(DIRECTORY
@@ -259,7 +254,7 @@
 # install(FILES ${Boost_LIBRARIES}
 # 	           DESTINATION ${INSTALL_LIB_DIR})
 
+1 −1
Original line number Diff line number Diff line
@@ -7,5 +7,5 @@ use-system-pkg-config-tbb
0009-Remove-FIND_PACKAGE-for-liblzma-and-libbz2.patch
use_debian_packaged_rapmap.patch
add_MEM_F_SELF_OVLP.patch
fix-unittest.patch
reproducible.patch
temporarily-disable-test.patch
+59 −0
Original line number Diff line number Diff line
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -107,7 +107,7 @@
 # Build the salmon executable
 add_executable(salmon ${SALMON_MAIN_SRCS} ${SALMON_ALIGN_SRCS})
 
-add_executable(unitTests ${UNIT_TESTS_SRCS})
+#add_executable(unitTests ${UNIT_TESTS_SRCS})
 
 #add_executable(salmon-read ${SALMON_READ_SRCS})
 #set_target_properties(salmon-read PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_LIBPTHREAD -D_PBGZF_USE -fopenmp"
@@ -177,27 +177,27 @@
 add_dependencies(salmon libdivsufsort)
 
 # Link the executable
-target_link_libraries(unitTests
-    gff
-    ${PTHREAD_LIB}
-    ${Boost_LIBRARIES}
-    staden-read
-    ${ZLIB_LIBRARY}
-    divsufsort
-    divsufsort64
-    jellyfish-2.0
-    bwa
-    m
-    ${LIBLZMA_LIBRARIES}
-    ${BZIP2_LIBRARIES}
-    ${TBB_LIBRARIES}
-    ${LIBSALMON_LINKER_FLAGS}
-    ${NON_APPLECLANG_LIBS}
-    ${FAST_MALLOC_LIB}
-    ${LIBRT}
-    )
+#target_link_libraries(unitTests
+#    gff
+#    ${PTHREAD_LIB}
+#    ${Boost_LIBRARIES}
+#    staden-read
+#    ${ZLIB_LIBRARY}
+#    divsufsort
+#    divsufsort64
+#    jellyfish-2.0
+#    bwa
+#    m
+#    ${LIBLZMA_LIBRARIES}
+#    ${BZIP2_LIBRARIES}
+#    ${TBB_LIBRARIES}
+#    ${LIBSALMON_LINKER_FLAGS}
+#    ${NON_APPLECLANG_LIBS}
+#    ${FAST_MALLOC_LIB}
+#    ${LIBRT}
+#    )
 
-add_dependencies(salmon unitTests)
+#add_dependencies(salmon unitTests)
 
 ### No need for this, I think
 ##  This ensures that the salmon executable should work with or without `make install`
Loading