diff options
Diffstat (limited to 'biology/bifrost/files')
-rw-r--r-- | biology/bifrost/files/patch-CMakeLists.txt | 4 | ||||
-rw-r--r-- | biology/bifrost/files/patch-src_DataStorage.tcc | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/biology/bifrost/files/patch-CMakeLists.txt b/biology/bifrost/files/patch-CMakeLists.txt index 27893b9ec44d..4d49c5a270cc 100644 --- a/biology/bifrost/files/patch-CMakeLists.txt +++ b/biology/bifrost/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2023-08-12 14:26:29 UTC +--- CMakeLists.txt.orig 2024-03-15 15:20:17 UTC +++ CMakeLists.txt -@@ -46,7 +46,6 @@ else(CMAKE_BUILD_TYPE MATCHES Debug) +@@ -56,7 +56,6 @@ else(CMAKE_BUILD_TYPE MATCHES Debug) set(CMAKE_EXE_LINKER_FLAGS "-pg") else(CMAKE_BUILD_TYPE MATCHES Profile) message("Build type: Release") diff --git a/biology/bifrost/files/patch-src_DataStorage.tcc b/biology/bifrost/files/patch-src_DataStorage.tcc new file mode 100644 index 000000000000..22196bb8e11c --- /dev/null +++ b/biology/bifrost/files/patch-src_DataStorage.tcc @@ -0,0 +1,14 @@ +--- src/DataStorage.tcc.orig 2024-03-15 15:20:17 UTC ++++ src/DataStorage.tcc +@@ -78,7 +78,10 @@ DataStorage<U>::DataStorage(const DataStorage& o) : co + + unitig_cs_link = new atomic<uint64_t>[sz_link]; + +- for (size_t i = 0; i != sz_link; ++i) unitig_cs_link[i] = o.sz_link[i].load(); ++ // Hayzam Sherif: o.sz_link -> o.unitig_cs_link ++ // Independently proposed by Lucas van Dijk: ++ // https://github.com/pmelsted/bifrost/pull/18/files ++ for (size_t i = 0; i != sz_link; ++i) unitig_cs_link[i] = o.unitig_cs_link[i].load(); + } + + if ((o.data != nullptr) && (o.sz_cs != 0)){ |