forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: DRAGMAP-1.3.0-GCC-13.2.0.eb and patches: dragmap-…
…1.3.0-include.patch
- Loading branch information
sassy
committed
Nov 12, 2024
1 parent
98b6e18
commit 1116c66
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
easybuild/easyconfigs/d/DRAGMAP/DRAGMAP-1.3.0-GCC-13.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# #include <cstdint> added to deal with 'uint64_t' problem, sed command removed | ||
# Author: J. Sassmannshausen (Imperial College London/UK) | ||
|
||
easyblock = 'ConfigureMake' | ||
|
||
name = 'DRAGMAP' | ||
version = '1.3.0' | ||
|
||
homepage = 'https://github.com/Illumina/DRAGMAP' | ||
description = 'Dragmap is the Dragen mapper/aligner Open Source Software.' | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.2.0'} | ||
|
||
source_urls = ['https://github.com/Illumina/DRAGMAP/archive/refs/tags/'] | ||
sources = ['%(version)s.tar.gz'] | ||
patches = ['%(namelower)s-%(version)s-include.patch'] | ||
checksums = [ | ||
{'1.3.0.tar.gz': 'baf546c2f53b13e2bce4c937201e38459f3ce2f1069722ca670d8726a4bae224'}, | ||
{'dragmap-1.3.0-include.patch': '60c364696dd98c70023696a42419a4251bcc737535e44217c9ce03bdc8084338'}, | ||
] | ||
|
||
dependencies = { | ||
('Boost', '1.83.0'), | ||
('googletest', '1.14.0'), | ||
} | ||
|
||
skipsteps = ['configure'] | ||
buildopts = 'CC="$CC" CXX="$CXX"' | ||
preinstallopts = 'mkdir %(installdir)s/bin &&' | ||
installopts = 'DESTDIR=%(installdir)s' | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/dragen-os'], | ||
'dirs': [] | ||
} | ||
|
||
sanity_check_commands = ['dragen-os --help'] | ||
|
||
moduleclass = 'bio' |
39 changes: 39 additions & 0 deletions
39
easybuild/easyconfigs/d/DRAGMAP/dragmap-1.3.0-include.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
This adds #include <cstdint> to deal with 'uint64_t' does not name a type problem. | ||
Taken from here: https://github.com/AirenSoft/OvenMediaEngine/issues/1271 | ||
Author: J. Sassmannshausen (Imperial College London/UK) | ||
diff --git a/DRAGMAP-1.3.0.orig/src/include/sequences/Read.hpp b/DRAGMAP-1.3.0/src/include/sequences/Read.hpp | ||
index 460c1cb..8d20cd6 100644 | ||
--- a/DRAGMAP-1.3.0.orig/src/include/sequences/Read.hpp | ||
+++ b/DRAGMAP-1.3.0/src/include/sequences/Read.hpp | ||
@@ -18,6 +18,7 @@ | ||
#include <iostream> | ||
#include <string> | ||
#include <vector> | ||
+#include <cstdint> | ||
|
||
namespace dragenos { | ||
namespace sequences { | ||
diff --git a/DRAGMAP-1.3.0.orig/src/lib/sequences/tests/unit/CrcHasherMocks.hpp b/DRAGMAP-1.3.0/src/lib/sequences/tests/unit/CrcHasherMocks.hpp | ||
index 1866be7..ca495cc 100644 | ||
--- a/DRAGMAP-1.3.0.orig/src/lib/sequences/tests/unit/CrcHasherMocks.hpp | ||
+++ b/DRAGMAP-1.3.0/src/lib/sequences/tests/unit/CrcHasherMocks.hpp | ||
@@ -3,6 +3,7 @@ | ||
#include <array> | ||
#include <cassert> | ||
#include <cstdlib> | ||
+#include <cstdint> | ||
#include <string> | ||
|
||
namespace dragenos { | ||
diff --git a/DRAGMAP-1.3.0.orig/stubs/dragen/src/host/dragen_api/read_group_list.hpp b/DRAGMAP-1.3.0/stubs/dragen/src/host/dragen_api/read_group_list.hpp | ||
index eefb9ae..623a77f 100644 | ||
--- a/DRAGMAP-1.3.0.orig/stubs/dragen/src/host/dragen_api/read_group_list.hpp | ||
+++ b/DRAGMAP-1.3.0/stubs/dragen/src/host/dragen_api/read_group_list.hpp | ||
@@ -14,6 +14,7 @@ | ||
#define __READ_GROUP_LIST_HPP__ | ||
|
||
#include "dragen_exception.hpp" | ||
+#include <cstdint> | ||
class ReadGroupList { | ||
public: | ||
const std::string &getReadGroupName(const uint16_t idx) const { |