Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
release version 1.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bqminh committed Sep 28, 2015
1 parent 60499fb commit e50a4a6
Show file tree
Hide file tree
Showing 12 changed files with 87 additions and 6,428 deletions.
34 changes: 27 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ configure_file (
# add the binary tree to the search path for include files
# so that we will find iqtree_config.h
include_directories("${PROJECT_BINARY_DIR}")
include_directories("${PROJECT_BINARY_DIR}/zlib-1.2.7")

#zlib will be detected for appearance
#include_directories("${PROJECT_BINARY_DIR}/zlib-1.2.7")


##################################################################
Expand All @@ -328,8 +330,13 @@ add_subdirectory(ncl)
add_subdirectory(lbfgsb)
add_subdirectory(whtest)
add_subdirectory(sprng)
add_subdirectory(zlib-1.2.7)
#add_subdirectory(zlib-1.2.7)
add_subdirectory(vectorclass)
# TODO: including Eigen3 (below) gave warnings
#find_package(Eigen3)
#if(EIGEN3_FOUND)
# include_directories(${EIGEN3_INCLUDE_DIR})
#endif(EIGEN3_FOUND)
add_subdirectory(model)

##################################################################
Expand Down Expand Up @@ -401,8 +408,20 @@ checkpoint.cpp
upperbounds.cpp
)

find_package(ZLIB)
if(ZLIB_FOUND)
message ("Using system zlib")
include_directories(${ZLIB_INCLUDE_DIRS})
target_link_libraries(iqtree ${ZLIB_LIBRARIES})
else(ZLIB_FOUND)
message ("Using own zlib-1.2.7")
include_directories("${PROJECT_BINARY_DIR}/zlib-1.2.7" "${PROJECT_SOURCE_DIR}/zlib-1.2.7")
add_subdirectory(zlib-1.2.7)
target_link_libraries(iqtree zlibstatic)
endif(ZLIB_FOUND)

if (NOT IQTREE_FLAGS MATCHES "avx" AND NOT IQTREE_FLAGS MATCHES "fma")
set_target_properties(iqtree pll ncl lbfgsb whtest zlibstatic sprng vectorclass model PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
set_target_properties(iqtree pll ncl lbfgsb whtest sprng vectorclass model PROPERTIES COMPILE_FLAGS "${SSE_FLAGS}")
if (NOT BINARY32 AND NOT IQTREE_FLAGS MATCHES "novx")
set_target_properties(avxkernel pllavx PROPERTIES COMPILE_FLAGS "${AVX_FLAGS}")
endif()
Expand Down Expand Up @@ -436,9 +455,9 @@ if (IQTREE_FLAGS MATCHES "omp")
endif()

if (BINARY32 OR IQTREE_FLAGS MATCHES "novx")
target_link_libraries(iqtree pll ncl lbfgsb whtest zlibstatic sprng vectorclass model ${PLATFORM_LIB} ${THREAD_LIB})
target_link_libraries(iqtree pll ncl lbfgsb whtest sprng vectorclass model ${PLATFORM_LIB} ${THREAD_LIB})
else()
target_link_libraries(iqtree pll pllavx ncl lbfgsb whtest zlibstatic sprng vectorclass model avxkernel ${PLATFORM_LIB} ${THREAD_LIB})
target_link_libraries(iqtree pll pllavx ncl lbfgsb whtest sprng vectorclass model avxkernel ${PLATFORM_LIB} ${THREAD_LIB})
endif()

##################################################################
Expand Down Expand Up @@ -473,8 +492,9 @@ endif()
# add the install targets
##############################################################
install (TARGETS iqtree DESTINATION bin)
install (FILES "${PROJECT_SOURCE_DIR}/model/models.nex" DESTINATION bin)
install (FILES "${PROJECT_SOURCE_DIR}/examples/example.phy" DESTINATION .)
install (FILES "${PROJECT_SOURCE_DIR}/example/models.nex" DESTINATION .)
install (FILES "${PROJECT_SOURCE_DIR}/example/example.phy" DESTINATION .)
install (FILES "${PROJECT_SOURCE_DIR}/example/example.nex" DESTINATION .)
install (FILES "${PROJECT_SOURCE_DIR}/Documents/iqtree-manual-1.0.pdf" DESTINATION .)

if (WIN32)
Expand Down
9 changes: 9 additions & 0 deletions example/example.nex
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#nexus

begin sets;
charset part1 = 1-99\3 2-99\3;
charset part2 = 3-99\3;
charset part3 = 100-384;

charpartition mine = HKY:part1, GTR+G:part2, GTR+G: part3;
end;
46 changes: 46 additions & 0 deletions example/example.phy

Large diffs are not rendered by default.

File renamed without changes.
219 changes: 0 additions & 219 deletions examples/218_dna.phy

This file was deleted.

6,075 changes: 0 additions & 6,075 deletions examples/74.aa

This file was deleted.

28 changes: 0 additions & 28 deletions examples/prot_M126_27_269.phy

This file was deleted.

Loading

0 comments on commit e50a4a6

Please sign in to comment.