<commit_before>cmake_minimum_required (VERSION 2.6)

project (FlashGraph)

# The version number.
set (FlashGraph_VERSION_MAJOR 0)
set (FlashGraph_VERSION_MINOR 1)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")

find_package(Boost COMPONENTS system filesystem	REQUIRED)
find_package(Threads REQUIRED)
find_package(LibNuma REQUIRED)
find_package(LibAio REQUIRED)
find_package(LibRt REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(stxxl)
find_package(zlib)

# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
	"${PROJECT_SOURCE_DIR}/config.h.in"
	"${PROJECT_BINARY_DIR}/config.h"
)

SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -std=c++0x -O3" )
#set(CMAKE_BUILD_TYPE Release)

# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories("${PROJECT_BINARY_DIR}" include libcommon)

subdirs(libcommon libsafs utils flash-graph)<commit_msg>cmake compiles code with -fPIC.<commit_after>cmake_minimum_required (VERSION 2.6)

project (FlashGraph)

# The version number.
set (FlashGraph_VERSION_MAJOR 0)
set (FlashGraph_VERSION_MINOR 1)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")

find_package(Boost COMPONENTS system filesystem	REQUIRED)
find_package(Threads REQUIRED)
find_package(LibNuma REQUIRED)
find_package(LibAio REQUIRED)
find_package(LibRt REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(stxxl)
find_package(zlib)

# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
	"${PROJECT_SOURCE_DIR}/config.h.in"
	"${PROJECT_BINARY_DIR}/config.h"
)

SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -std=c++0x -O3 -fPIC" )
#set(CMAKE_BUILD_TYPE Release)

# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories("${PROJECT_BINARY_DIR}" include libcommon)

subdirs(libcommon libsafs utils flash-graph)
{'fraction_non_alphanumeric': 0.09215885947046844, 'fraction_numerical': 0.007128309572301426, 'mean_word_length': 7.361702127659575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3656064', 'n_tokens_mistral': 754, 'n_tokens_neox': 714, 'n_words': 168}