Debian Codegraph @

debian/patches/packaged-libs

raw
1 Author: Michael R. Crusoe <[email protected]>
2 Description: Use packaged system libs
3 Forwarded: not-needed
4 --- iqtree3.orig/CMakeLists.txt
5 +++ iqtree3/CMakeLists.txt
6 @@ -153,7 +153,6 @@
7 endif()
8
9 include_directories("${PROJECT_SOURCE_DIR}")
10 -include_directories("${PROJECT_SOURCE_DIR}/yaml-cpp/include")
11 include_directories(AFTER SYSTEM "/usr/local/include")
12
13 ##################################################################
14 @@ -846,7 +845,6 @@
15 option(YAML_CPP_BUILD_TOOLS "Enable parse tools" OFF)
16 option(YAML_CPP_BUILD_CONTRIB "Enable contrib stuff in library" OFF)
17 option(YAML_CPP_INSTALL "Enable generation of install target" OFF)
18 -add_subdirectory(yaml-cpp)
19 add_subdirectory(phylo-yaml)
20
21 if (USE_TERRAPHAST)
22 @@ -915,9 +913,9 @@
23
24 if (NOT IQTREE_FLAGS MATCHES "avx" AND NOT IQTREE_FLAGS MATCHES "fma")
25 if (NOT IQTREE_FLAGS MATCHES "nosse")
26 - set_target_properties(iqtree3 ncl nclextra utils pda lbfgsb whtest sprng vectorclass model gsl alignment tree simulator yaml-cpp phyloYAML main ${TARGET_CMAPLE} PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
27 + set_target_properties(iqtree3 ncl nclextra utils pda lbfgsb whtest sprng vectorclass model gsl alignment tree simulator phyloYAML main ${TARGET_CMAPLE} PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
28 if (USE_CMAPLE_AA STREQUAL "ON")
29 - set_target_properties(iqtree3-aa ncl nclextra utils pda lbfgsb whtest sprng vectorclass model gsl alignment tree simulator yaml-cpp phyloYAML main-aa maple-aa PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
30 + set_target_properties(iqtree3-aa ncl nclextra utils pda lbfgsb whtest sprng vectorclass model gsl alignment tree simulator phyloYAML main-aa maple-aa PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
31 endif()
32 if (USE_TERRAPHAST)
33 set_target_properties(terracetphast terraphast PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
34 --- iqtree3.orig/cmaple/CMakeLists.txt
35 +++ iqtree3/cmaple/CMakeLists.txt
36 @@ -280,7 +280,7 @@
37 )
38 # For Windows: Prevent overriding the parent project's compiler/linker settings
39 set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
40 -FetchContent_MakeAvailable(googletest)
41 +add_subdirectory(/usr/src/googletest googletest EXCLUDE_FROM_ALL)
42
43 ##################################################################
44 # subdirectories containing necessary libraries for the build
45 @@ -293,8 +293,7 @@
46 add_subdirectory(libraries/nclextra)
47 endif()
48 add_subdirectory(utils)
49 -add_subdirectory(libraries/SIMDe)
50 -target_include_directories(cmaple_utils PUBLIC ${SIMDE_INCLUDE_DIRECTORY})
51 +target_include_directories(cmaple_utils PUBLIC)
52 add_subdirectory(model)
53 add_subdirectory(alignment)
54 add_subdirectory(tree)
55 --- iqtree3.orig/cmaple/libraries/nclextra/modelsblock.h
56 +++ iqtree3/cmaple/libraries/nclextra/modelsblock.h
57 @@ -8,7 +8,7 @@
58 #ifndef MODELSBLOCK_H_
59 #define MODELSBLOCK_H_
60
61 -#include "../../libraries/ncl/ncl.h"
62 +#include "ncl/ncl.h"
63 #include "../../utils/tools.h"
64
65 const int NM_ATOMIC = 1; // NxsModel is not mixture or +G etc. model
66 --- iqtree3.orig/cmaple/libraries/nclextra/myreader.h
67 +++ iqtree3/cmaple/libraries/nclextra/myreader.h
68 @@ -24,7 +24,7 @@
69 #include <iostream>
70 #include <fstream>
71 //#include "node.h"
72 -#include "../../libraries/ncl/ncl.h"
73 +#include "ncl/ncl.h"
74
75 /**
76 MyReader class to make more informative message
77 --- iqtree3.orig/cmaple/model/modelbase.cpp
78 +++ iqtree3/cmaple/model/modelbase.cpp
79 @@ -1,7 +1,7 @@
80 #include "../alignment/seqregions.h"
81
82 using namespace std;
83 -#include "../libraries/ncl/ncl.h"
84 +#include "ncl/ncl.h"
85 #include "../libraries/nclextra/modelsblock.h"
86 #include "../libraries/nclextra/myreader.h"
87 #include "modelbase.h"