<commit_before># Build the TBB vendor library

set(tbb_source "${CMAKE_CURRENT_SOURCE_DIR}/tbb")
set(tbb_binary "${CMAKE_CURRENT_BINARY_DIR}/tbb_build")

if(WIN32)
	set(tbb_build msbuild "${CMAKE_CURRENT_SOURCE_DIR}/tbb/build/vc10/makefile.sln")
else()
	set(tbb_build make)
endif()

ExternalProject_Add(tbb
	DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}
	GIT_REPOSITORY https://github.com/anhstudios/tbb.git
	GIT_TAG 3.0.5-custom
	UPDATE_COMMAND ""
	SOURCE_DIR ${tbb_source}
	BINARY_DIR ${tbb_binary}
	CONFIGURE_COMMAND ""
	BUILD_COMMAND ${tbb_build}
	INSTALL_COMMAND ""
)

# Set the path to the built Boost for use by other projects
set(TBB_INCLUDE_DIR "${tbb_source}" CACHE PATH "" FORCE)
set(TBB_LIBRARY_DIRS "${tbb_binary}/lib" CACHE PATH "" FORCE)<commit_msg>Now checks out a custom branch based on the main source line from tbb<commit_after># Build the TBB vendor library

set(tbb_source "${CMAKE_CURRENT_SOURCE_DIR}/tbb")
set(tbb_binary "${CMAKE_CURRENT_BINARY_DIR}/tbb_build")

if(WIN32)
	set(tbb_build msbuild "${CMAKE_CURRENT_SOURCE_DIR}/tbb/build/vc10/makefile.sln")
else()
	set(tbb_build make)
endif()

ExternalProject_Add(tbb
	DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}
	GIT_REPOSITORY https://github.com/anhstudios/tbb.git
	GIT_TAG v3.0.5-custom
	UPDATE_COMMAND ""
	SOURCE_DIR ${tbb_source}
	BINARY_DIR ${tbb_source}
	CONFIGURE_COMMAND ""
	BUILD_COMMAND ${tbb_build}
	INSTALL_COMMAND ""
)

# Set the path to the built Boost for use by other projects
set(TBB_INCLUDE_DIR "${tbb_source}" CACHE PATH "" FORCE)
set(TBB_LIBRARY_DIRS "${tbb_binary}/lib" CACHE PATH "" FORCE)
{'fraction_non_alphanumeric': 0.11428571428571428, 'fraction_numerical': 0.008888888888888889, 'mean_word_length': 6.801980198019802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5601856', 'n_tokens_mistral': 639, 'n_tokens_neox': 616, 'n_words': 124}