<commit_before>cmake_minimum_required(VERSION 2.8.11)

project(ndarray)

# Build is split into two broad passes:
# (1) Generation, which performs macro-expansion and header installation.
# (2) Test, which builds & executes zero-dependency core and (optional) dependent tests.
#
# The generation phase does not rely on the presence of external libraries,
# though the installed headers may be dependent on these libraries. This allows
# generation & installation of ndarray as a vendorized dependency of external
# projects without ndarry's optional dependencies.
#
# The test phase may rely on external libraries, which are enabled via the
# options below. Library resolution is deferred to tests/CMakeLists.txt and
# only executed if NDARRAY_TEST is enabled.
option(NDARRAY_SWIG "Enable .i file installation and swig tests?" OFF)
option(NDARRAY_TEST "Enable tests?" ON)
option(NDARRAY_EIGEN "Enable Eigen tests?" ON)
option(NDARRAY_FFTW "Enable FFTW tests?" ON)
option(NDARRAY_PYBIND11 "Enable Pybind11 tests?" OFF)<commit_msg>Enable SWIG in default cmake build.<commit_after>cmake_minimum_required(VERSION 2.8.11)

project(ndarray)

# Build is split into two broad passes:
# (1) Generation, which performs macro-expansion and header installation.
# (2) Test, which builds & executes zero-dependency core and (optional) dependent tests.
#
# The generation phase does not rely on the presence of external libraries,
# though the installed headers may be dependent on these libraries. This allows
# generation & installation of ndarray as a vendorized dependency of external
# projects without ndarry's optional dependencies.
#
# The test phase may rely on external libraries, which are enabled via the
# options below. Library resolution is deferred to tests/CMakeLists.txt and
# only executed if NDARRAY_TEST is enabled.
option(NDARRAY_SWIG "Enable .i file installation and swig tests?" ON)
option(NDARRAY_TEST "Enable tests?" ON)
option(NDARRAY_EIGEN "Enable Eigen tests?" ON)
option(NDARRAY_FFTW "Enable FFTW tests?" ON)
option(NDARRAY_PYBIND11 "Enable Pybind11 tests?" OFF)
{'fraction_non_alphanumeric': 0.06884930187770823, 'fraction_numerical': 0.009629272989889264, 'mean_word_length': 5.681672025723473, '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': '6762916', 'n_tokens_mistral': 574, 'n_tokens_neox': 546, 'n_words': 252}