<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

# CPack package generation
SET(CPACK_GENERATOR "TGZ;STGZ")
# Create the following installers are as follows:
#  Windows: Use external packaging, do nothing here
#  OSX: Deploy as TGZ and STGZ
IF("${CMAKE_SYSTEM}" MATCHES "Linux")
    #  Linux: TGZ, STGZ, DEB
    SET(CPACK_GENERATOR "TGZ;STGZ;DEB;RPM")
ENDIF()

# Common settings to all packaging tools
SET(CPACK_PREFIX_DIR ${CMAKE_INSTALL_PREFIX})
SET(CPACK_PACKAGE_NAME "arrayfire")
SET(CPACK_PACKAGE_VERSION 3.0.beta)
SET(CPACK_PACKAGE_VERSION_MAJOR "3")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "beta")
IF(BUILD_GRAPHICS)
    SET(CPACK_PACKAGE_FILE_NAME
    ${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}_${CMAKE_SYSTEM_NAME}_${CMAKE_SYSTEM_PROCESSOR})
ELSE()
    SET(CPACK_PACKAGE_FILE_NAME
        ${CPACK_PACKAGE_NAME}_no-gl_${CPACK_PACKAGE_VERSION}_${CMAKE_SYSTEM_NAME}_${CMAKE_SYSTEM_PROCESSOR})
ENDIF()
SET(CPACK_PACKAGE_VENDOR "ArrayFire")
SET(CPACK_PACKAGE_CONTACT "ArrayFire Development Group <<EMAIL>>")
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
SET(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README.md")

# Long description of the package
SET(CPACK_PACKAGE_DESCRIPTION
"ArrayFire is a high performance software library for parallel computing
with an easy-to-use API. Its array based function set makes parallel<commit_msg>Fixing CPack.txt<commit_after>CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include("${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/Version.cmake")

# CPack package generation
SET(CPACK_GENERATOR "TGZ;STGZ")
# Create the following installers are as follows:
#  Windows: Use external packaging, do nothing here
#  OSX: Deploy as TGZ and STGZ
IF("${CMAKE_SYSTEM}" MATCHES "Linux")
    #  Linux: TGZ, STGZ, DEB
    SET(CPACK_GENERATOR "TGZ;STGZ;DEB;RPM")
ENDIF()

# Common settings to all packaging tools
SET(CPACK_PREFIX_DIR ${CMAKE_INSTALL_PREFIX})
SET(CPACK_PACKAGE_NAME "arrayfire")
SET(CPACK_PACKAGE_VERSION ${AF_VERSION})
SET(CPACK_PACKAGE_VERSION_MAJOR "${AF_VERSION_MAJOR}")
SET(CPACK_PACKAGE_VERSION_MINOR "${AF_VERSION_MINOR}")
SET(CPACK_PACKAGE_VERSION_PATCH "${AF_VERSION_PATCH}")
IF(BUILD_GRAPHICS)
    SET(CPACK_PACKAGE_FILE_NAME
    ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION})
ELSE()
    SET(CPACK_PACKAGE_FILE_NAME
        ${CPACK_PACKAGE_NAME}-no-gl-${CPACK_PACKAGE_VERSION})
ENDIF()
SET(CPACK_PACKAGE_VENDOR "ArrayFire")
SET(CPACK_PACKAGE_CONTACT "ArrayFire Development Group <<EMAIL>>")
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
SET(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README.md")

# Long description of the package
SET(CPACK_PACKAGE_DESCRIPTION
"ArrayFire is a high performance software library for parallel computing
with an easy-to-use API. Its array based function set makes parallel
{'fraction_non_alphanumeric': 0.10120311394196745, 'fraction_numerical': 0.0028308563340410475, 'mean_word_length': 8.148867313915858, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4053715', 'n_tokens_mistral': 1048, 'n_tokens_neox': 1021, 'n_words': 201}