Skip to content

Commit 4c08026

Browse files
authored
Merge pull request #59 from ComparativeGenomicsToolkit/path-sense
Update libhandle graph
2 parents 576784d + d826d83 commit 4c08026

3 files changed

Lines changed: 58 additions & 3 deletions

File tree

build-tools/CMakeLists.txt

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,38 @@ endif()
3535
set (CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
3636

3737
add_library(handlegraph_objs OBJECT
38-
src/handle.cpp
38+
src/deletable_handle_graph.cpp
39+
src/handle_graph.cpp
40+
src/mutable_handle_graph.cpp
41+
src/path_metadata.cpp
42+
src/mutable_path_metadata.cpp
43+
src/path_handle_graph.cpp
44+
src/path_position_handle_graph.cpp
45+
src/mutable_path_handle_graph.cpp
46+
src/ranked_handle_graph.cpp
47+
src/serializable.cpp
48+
src/snarl_decomposition.cpp
49+
src/trivially_serializable.cpp
50+
src/types.cpp
51+
src/copy_graph.cpp
52+
src/append_graph.cpp
53+
src/are_equivalent.cpp
54+
src/find_tips.cpp
55+
src/topological_sort.cpp
56+
src/apply_orientations.cpp
57+
src/is_single_stranded.cpp
58+
src/count_walks.cpp
59+
src/eades_algorithm.cpp
60+
src/dagify.cpp
61+
src/strongly_connected_components.cpp
62+
src/find_shortest_paths.cpp
63+
src/dijkstra.cpp
64+
src/is_acyclic.cpp
65+
src/reverse_complement.cpp
66+
src/split_strands.cpp
67+
src/chop.cpp
68+
src/weakly_connected_components.cpp
69+
src/extend.cpp
3970
src/include/handlegraph/handle_graph.hpp
4071
src/include/handlegraph/mutable_handle_graph.hpp
4172
src/include/handlegraph/deletable_handle_graph.hpp
@@ -48,6 +79,25 @@ add_library(handlegraph_objs OBJECT
4879
src/include/handlegraph/util.hpp
4980
src/include/handlegraph/types.hpp
5081
src/include/handlegraph/iteratee.hpp
82+
src/include/handlegraph/algorithms/copy_graph.hpp
83+
src/include/handlegraph/algorithms/append_graph.hpp
84+
src/include/handlegraph/algorithms/are_equivalent.hpp
85+
src/include/handlegraph/algorithms/find_tips.hpp
86+
src/include/handlegraph/algorithms/topological_sort.hpp
87+
src/include/handlegraph/algorithms/apply_orientations.hpp
88+
src/include/handlegraph/algorithms/is_single_stranded.hpp
89+
src/include/handlegraph/algorithms/count_walks.hpp
90+
src/include/handlegraph/algorithms/eades_algorithm.hpp
91+
src/include/handlegraph/algorithms/dagify.hpp
92+
src/include/handlegraph/algorithms/strongly_connected_components.hpp
93+
src/include/handlegraph/algorithms/find_shortest_paths.hpp
94+
src/include/handlegraph/algorithms/dijkstra.hpp
95+
src/include/handlegraph/algorithms/reverse_complement.hpp
96+
src/include/handlegraph/algorithms/is_acyclic.hpp
97+
src/include/handlegraph/algorithms/split_strands.hpp
98+
src/include/handlegraph/algorithms/chop.hpp
99+
src/include/handlegraph/algorithms/weakly_connected_components.hpp
100+
src/include/handlegraph/algorithms/extend.hpp
51101
)
52102

53103
# Use the include directory when building the objects.

build-tools/makeBinRelease

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set -x
2020
rm -rf ${binBuildDir}
2121
mkdir -p ${binBuildDir}
2222
cd ${binBuildDir}
23-
git clone --recursive https://github.com/ComparativeGenomicsToolkit/hal2vg.git
23+
git clone https://github.com/ComparativeGenomicsToolkit/hal2vg.git
2424
cd hal2vg
2525
git fetch --tags origin
2626

@@ -34,8 +34,13 @@ cp ./build-tools/CMakeLists.txt ./deps/libbdsg-easy/deps/libhandlegraph/CMakeLis
3434
if [ $(man gcc | grep nehalem | wc -l) -ge 1 ]
3535
then
3636
# attempt to increase portability by using older architecture
37+
# this make/sed/make thing is a hack to get around a linking error that just cropped up
38+
CFLAGS="-march=nehalem" CXXFLAGS="-march=nehalem" make static || true
39+
sed -i deps/libbdsg-easy/deps/libbdsg/Makefile -e "s/-lomp//g"
3740
CFLAGS="-march=nehalem" CXXFLAGS="-march=nehalem" make check-static
3841
else
42+
make static || true
43+
sed -i deps/libbdsg-easy/deps/libbdsg/Makefile -e "s/-lomp//g"
3944
make check-static
4045
fi
4146

deps/libbdsg-easy

0 commit comments

Comments
 (0)