1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Skip some architectures + Seqan app combinations
Could be a bug in gcc or seqan, but the memory requirements on mips{,el} to
compile three of the apps balloons beyond 14GiB, so skip them
If you update this patch (add/remove an architecture/app combo),
then update debian/README.Debian
--- a/apps/razers/CMakeLists.txt
+++ b/apps/razers/CMakeLists.txt
@@ -17,6 +17,16 @@ if (SEQAN_TRAVIS_BUILD)
return ()
endif (SEQAN_TRAVIS_BUILD)
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mips")
+ message (STATUS " Not building razers on mips due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mipsel")
+ message (STATUS " Not building razers on mipsel due to memory requirements.")
+ return ()
+endif ()
+
+
# ----------------------------------------------------------------------------
# Dependencies
# ----------------------------------------------------------------------------
--- a/apps/razers3/CMakeLists.txt
+++ b/apps/razers3/CMakeLists.txt
@@ -12,6 +12,21 @@ message (STATUS "Configuring apps/razers
set (SEQAN_APP_VERSION "3.5.8")
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mips")
+ message (STATUS " Not building razers3 on mips due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mipsel")
+ message (STATUS " Not building razers3 on mipsel due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "sh4")
+ message (STATUS " Not building razers3 on sh4 due to memory requirements.")
+ return ()
+endif ()
+
+
+
# ----------------------------------------------------------------------------
# Dependencies
# ----------------------------------------------------------------------------
--- a/apps/yara/CMakeLists.txt
+++ b/apps/yara/CMakeLists.txt
@@ -10,6 +10,44 @@ cmake_minimum_required (VERSION 3.0.0)
project (seqan_apps_yara CXX)
message (STATUS "Configuring apps/yara")
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "i386")
+ message (STATUS " Not building yara on i386 due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mips")
+ message (STATUS " Not building yara on mips due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mipsel")
+ message (STATUS " Not building yara on mipsel due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "armhf")
+ message (STATUS " Not building yara on armhf due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "sh4")
+ message (STATUS " Not building yara on sh4 due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "armel")
+ message (STATUS " Not building yara on armel due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "kfreebsd-i386")
+ message (STATUS " Not building yara on kfreebsd-i386 due to memory requirements.")
+ return ()
+endif ()
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "hurd-i386")
+ message (STATUS " Not building yara on hurd-i386 due to memory requirements.")
+ return ()
+endif ()
+
+
+
+
+
+
# ----------------------------------------------------------------------------
# Dependencies
# ----------------------------------------------------------------------------
--- a/apps/searchjoin/CMakeLists.txt
+++ b/apps/searchjoin/CMakeLists.txt
@@ -16,6 +16,11 @@ if (SEQAN_TRAVIS_BUILD)
message (STATUS " Skipping build and test of searchjoin on Travis CI.")
return ()
endif (SEQAN_TRAVIS_BUILD)
+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "ia64")
+ message (STATUS " Not building searchjoin on ia64 due to assembler errors.")
+ return ()
+endif ()
+
# ----------------------------------------------------------------------------
# Dependencies
|