[med-svn] [Git][med-team/simka][master] Attempt to fix compilation issue within pbuilder / sid

Shayan Doust gitlab at salsa.debian.org
Mon Sep 16 15:01:54 BST 2019



Shayan Doust pushed to branch master at Debian Med / simka


Commits:
eda3d5cb by Shayan Doust at 2019-09-16T14:01:18Z
Attempt to fix compilation issue within pbuilder / sid

- - - - -


1 changed file:

- debian/patches/use_debian_packaged_libraries.patch


Changes:

=====================================
debian/patches/use_debian_packaged_libraries.patch
=====================================
@@ -6,8 +6,8 @@ Last-Update: 2019-09-09
 
 Index: simka/CMakeLists.txt
 ===================================================================
---- simka.orig/CMakeLists.txt	2019-09-11 23:17:36.800233418 +0100
-+++ simka/CMakeLists.txt	2019-09-11 23:17:59.436191116 +0100
+--- simka.orig/CMakeLists.txt	2019-09-16 14:56:48.756951860 +0100
++++ simka/CMakeLists.txt	2019-09-16 14:57:02.785070784 +0100
 @@ -42,7 +42,10 @@
   SET (GATB_CORE_EXCLUDE_EXAMPLES  1)
  
@@ -20,7 +20,20 @@ Index: simka/CMakeLists.txt
  
  ################################################################################
  # TOOL
-@@ -62,8 +65,10 @@
+@@ -53,17 +56,22 @@
+ 
+ # we add a new compilation variable
+ if (PRINTALL)
+-SET( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -DPRINTALL" )
++	#SET( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -DPRINTALL -wno-error" )
+ endif()
+ 
++unset(CMAKE_CXX_FLAGS)
++set(CMAKE_CXX_FLAGS "-Wno-error -O2 -g -Wunused-result")
++
+ # we give the headers directories from :
+ #       - from project source
+ #       - from GATB-CORE source
  #       - from simka source
  include_directories (include ${gatb-core-includes} ${PROJECT_SOURCE_DIR}/src/core ${PROJECT_SOURCE_DIR}/src/minikc ${PROJECT_SOURCE_DIR}/src)
  
@@ -32,7 +45,7 @@ Index: simka/CMakeLists.txt
      configure_file (
          ${PROJECT_SOURCE_DIR}/src/core/SimkaAlgorithmTemplate.cpp.in
          ${PROJECT_BINARY_DIR}/src/core/template/SimkaAlgorithmTemplate_${KSIZE}.cpp
-@@ -78,18 +83,18 @@
+@@ -78,18 +86,18 @@
  set(PROJECT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/bin)
  
  add_executable        (simka  src/SimkaPotara.cpp ${ProjectFiles})



View it on GitLab: https://salsa.debian.org/med-team/simka/commit/eda3d5cb6dabf35a97cf32e0fee5e615cbbdb67a

-- 
View it on GitLab: https://salsa.debian.org/med-team/simka/commit/eda3d5cb6dabf35a97cf32e0fee5e615cbbdb67a
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/20190916/20f5f8f1/attachment-0001.html>


More information about the debian-med-commit mailing list