morphio 3.3.3__tar.gz → 3.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.github/workflows/check-sdist.yml +2 -2
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.github/workflows/clang_format_check.yaml +3 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.github/workflows/coverage_test.yaml +1 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.github/workflows/docstring_check.yaml +1 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.github/workflows/publish-sdist-wheels.yml +49 -12
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.github/workflows/run-tests.yml +11 -3
- MorphIO-3.3.4/3rdparty/GSL_LITE/CMakeLists.txt +197 -0
- MorphIO-3.3.4/3rdparty/GSL_LITE/cmake/gsl-lite-config-version.cmake.in +24 -0
- MorphIO-3.3.4/3rdparty/GSL_LITE/cmake/gsl-lite-config.cmake.in +7 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/GSL_LITE/gsl-lite.natvis +4 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/GSL_LITE/include/gsl/gsl +3 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/GSL_LITE/include/gsl/gsl-lite-vc6.hpp +24 -22
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/GSL_LITE/include/gsl/gsl-lite.h +3 -5
- MorphIO-3.3.4/3rdparty/GSL_LITE/include/gsl/gsl-lite.hpp +5418 -0
- MorphIO-3.3.4/3rdparty/GSL_LITE/include/gsl-lite/gsl-lite.hpp +30 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/GSL_LITE/include/gsl.h +3 -5
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/GSL_LITE/include/gsl.hpp +4 -4
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/CMake/HighFiveConfig.cmake.in +10 -13
- MorphIO-3.3.4/3rdparty/HighFive/CMake/HighFiveTargetDeps.cmake +85 -0
- MorphIO-3.3.4/3rdparty/HighFive/CMake/config/CompilerFlagsHelpers.cmake +59 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/CMake/config/ReleaseDebugAutoFlags.cmake +6 -10
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/CMakeLists.txt +33 -28
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/doc/Doxyfile +321 -198
- MorphIO-3.3.4/3rdparty/HighFive/doc/DoxygenLayout.xml +241 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/doxygen-awesome-css/doxygen-awesome.css +2135 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/doxygen-awesome-css/update_doxygen_awesome.sh +47 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/environment.yaml +12 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example1_hdf5.cpp +53 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example1_highfive.cpp +17 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example3.cpp +29 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example6.cpp +51 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example_boost.cpp +23 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example_boost_ublas.cpp +47 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example_eigen.cpp +35 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/example_props.cpp +24 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/examples.js +37 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/godbolt.org.ico +0 -0
- MorphIO-3.3.4/3rdparty/HighFive/doc/poster/index.html +229 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Attribute.hpp +11 -7
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5DataSet.hpp +14 -14
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5DataSpace.hpp +17 -64
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5DataType.hpp +48 -22
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Easy.hpp +96 -83
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Exception.hpp +46 -26
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5File.hpp +25 -9
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5FileDriver.hpp +6 -5
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/H5Group.hpp +62 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Object.hpp +13 -6
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/H5PropertyList.hpp +307 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Reference.hpp +1 -2
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Selection.hpp +5 -6
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Utility.hpp +7 -7
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Annotate_traits.hpp +5 -7
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Annotate_traits_misc.hpp +38 -43
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Attribute_misc.hpp +118 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5ConverterEigen_misc.hpp +27 -44
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Converter_misc.hpp +54 -73
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5DataSet_misc.hpp +8 -22
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5DataType_misc.hpp +147 -116
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Dataspace_misc.hpp +170 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Exception_misc.hpp +6 -11
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5FileDriver_misc.hpp +23 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5File_misc.hpp +39 -14
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Iterables_misc.hpp +11 -9
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Node_traits.hpp +73 -39
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Node_traits_misc.hpp +358 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Object_misc.hpp +25 -24
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Path_traits.hpp +35 -0
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Path_traits_misc.hpp +46 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5PropertyList_misc.hpp +34 -43
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5ReadWrite_misc.hpp +105 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Reference_misc.hpp +8 -5
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Selection_misc.hpp +3 -2
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Slice_traits.hpp +334 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5Slice_traits_misc.hpp +65 -49
- MorphIO-3.3.4/3rdparty/HighFive/include/highfive/bits/H5Utils.hpp +303 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/bits/H5_definitions.hpp +1 -2
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_Eigen.hpp +17 -21
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_misc.hpp +22 -59
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_opencv.hpp +6 -11
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_public.hpp +17 -35
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_scalar.hpp +5 -5
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_vector.hpp +17 -14
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_xtensor.hpp +7 -9
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/dot.hpp +3 -3
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/generator.hpp +4 -3
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/match_results.hpp +5 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/blocks.hpp +36 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/scripts.hpp +51 -38
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/table.inc +9 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/unicode.hpp +118 -111
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/rules.hpp +2 -2
- MorphIO-3.3.4/CHANGELOG.md +79 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MorphIO.egg-info/PKG-INFO +4 -8
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MorphIO.egg-info/SOURCES.txt +23 -6
- {MorphIO-3.3.3 → MorphIO-3.3.4}/PKG-INFO +4 -8
- {MorphIO-3.3.3 → MorphIO-3.3.4}/README.rst +2 -6
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_immutable.cpp +4 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/CMakeLists.txt +8 -6
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/attr.h +178 -105
- MorphIO-3.3.4/binds/python/pybind11/include/pybind11/buffer_info.h +193 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/cast.h +652 -419
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/chrono.h +80 -68
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/complex.h +20 -11
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/detail/class.h +155 -122
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/detail/common.h +524 -377
- MorphIO-3.3.4/binds/python/pybind11/include/pybind11/detail/descr.h +158 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/detail/init.h +177 -95
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/detail/internals.h +170 -75
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/detail/type_caster_base.h +303 -278
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/detail/typeid.h +19 -9
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/eigen.h +299 -197
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/embed.h +75 -82
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/eval.h +48 -55
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/functional.h +22 -13
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/gil.h +39 -30
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/iostream.h +29 -39
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/numpy.h +765 -522
- MorphIO-3.3.4/binds/python/pybind11/include/pybind11/operators.h +201 -0
- MorphIO-3.3.4/binds/python/pybind11/include/pybind11/options.h +76 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/pybind11.h +1079 -737
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/pytypes.h +988 -475
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/stl/filesystem.h +44 -31
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/stl.h +131 -81
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/stl_bind.h +303 -265
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/tools/FindCatch.cmake +2 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/tools/FindPythonLibsNew.cmake +40 -16
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/tools/pybind11Common.cmake +11 -29
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/tools/pybind11NewTools.cmake +5 -29
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/tools/pybind11Tools.cmake +23 -15
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/errorMessages.h +4 -27
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/morphology.h +9 -3
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/mitochondria.h +1 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/morphology.h +88 -158
- MorphIO-3.3.4/include/morphio/mut/soma.h +70 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/section.h +37 -27
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/section_base.h +17 -11
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/section_iterators.hpp +18 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/soma.h +14 -27
- MorphIO-3.3.4/include/morphio/vector_types.h +31 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/morphio/__init__.py +2 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/setup.py +1 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/CMakeLists.txt +1 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/morphology.cpp +125 -85
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/mito_section.cpp +1 -6
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/mitochondria.cpp +8 -14
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/morphology.cpp +64 -56
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/section.cpp +2 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/soma.cpp +3 -14
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/writers.cpp +23 -1
- MorphIO-3.3.4/src/point_utils.cpp +75 -0
- MorphIO-3.3.4/src/point_utils.h +23 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/properties.cpp +4 -3
- MorphIO-3.3.3/src/readers/lex.cpp → MorphIO-3.3.4/src/readers/NeurolucidaLexer.inc +116 -103
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/morphologyASC.cpp +13 -25
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/morphologyASC.h +3 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/morphologyHDF5.cpp +12 -15
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/morphologySWC.cpp +102 -61
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/morphologySWC.h +3 -3
- MorphIO-3.3.4/src/section.cpp +33 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/shared_utils.hpp +9 -10
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/soma.cpp +2 -1
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/vasc/properties.cpp +3 -2
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/vasc/section.cpp +3 -1
- MorphIO-3.3.3/.travis.yml +0 -60
- MorphIO-3.3.3/3rdparty/GSL_LITE/CMakeLists.txt +0 -86
- MorphIO-3.3.3/3rdparty/GSL_LITE/cmake/PackageConfig.cmake.in +0 -4
- MorphIO-3.3.3/3rdparty/GSL_LITE/include/gsl/gsl-lite.hpp +0 -2802
- MorphIO-3.3.3/3rdparty/HighFive/CMake/HighFiveTargetDeps.cmake +0 -79
- MorphIO-3.3.3/3rdparty/HighFive/CMake/config/CompilerFlagsHelpers.cmake +0 -133
- MorphIO-3.3.3/3rdparty/HighFive/CMake/portability/BlueGenePortability.cmake +0 -39
- MorphIO-3.3.3/3rdparty/HighFive/CMake/portability/CheckCXXStandardSupport.cmake +0 -22
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/H5Group.hpp +0 -39
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/H5PropertyList.hpp +0 -162
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5Attribute_misc.hpp +0 -147
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5Dataspace_misc.hpp +0 -253
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5FileDriver_misc.hpp +0 -52
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5Node_traits_misc.hpp +0 -295
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5ReadWrite_misc.hpp +0 -79
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5Slice_traits.hpp +0 -129
- MorphIO-3.3.3/3rdparty/HighFive/include/highfive/bits/H5Utils.hpp +0 -271
- MorphIO-3.3.3/CHANGELOG.md +0 -45
- MorphIO-3.3.3/binds/python/pybind11/include/pybind11/buffer_info.h +0 -144
- MorphIO-3.3.3/binds/python/pybind11/include/pybind11/detail/descr.h +0 -104
- MorphIO-3.3.3/binds/python/pybind11/include/pybind11/operators.h +0 -163
- MorphIO-3.3.3/binds/python/pybind11/include/pybind11/options.h +0 -65
- MorphIO-3.3.3/include/morphio/mut/soma.h +0 -95
- MorphIO-3.3.3/include/morphio/vector_types.h +0 -71
- MorphIO-3.3.3/src/section.cpp +0 -74
- MorphIO-3.3.3/src/vector_utils.cpp +0 -172
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.clang-format +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.gitignore +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.gitmodules +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/.readthedocs.yaml +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/CMakeLists.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/CMake/HighFiveTargetExport.cmake +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/CMake/config/TestHelpers.cmake +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/doc/CMakeLists.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/doc/mainpage.md +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/HighFive/include/highfive/H5Version.hpp.in +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/CMakeLists.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/char_traits.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/debug.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/enums.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/generate_cpp.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/internals.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/iterator.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/licence_1_0.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/lookup.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/memory_file.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/narrow.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/observer_ptr.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/parser.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/fold2.inc +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/fold4.inc +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_token.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser_helper.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser_state.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tree/end_node.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tree/iteration_node.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tree/leaf_node.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tree/node.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tree/selection_node.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/parser/tree/sequence_node.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/partition/charset.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/partition/equivset.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/runtime_error.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/serialise.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/sm_to_csm.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/sm_traits.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/state_machine.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/stream_shared_iterator.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/string_token.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/3rdparty/lexertl14/include/lexertl/utf_iterators.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/AUTHORS.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/CMake/CodeCoverage.cmake +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/CMake/CompilerFlags.cmake +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/CMake/MorphIOConfig.cmake +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/CMakeLists.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/CONTRIBUTING.md +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/COPYING +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/COPYING.LESSER +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MANIFEST.in +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MorphIO.egg-info/dependency_links.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MorphIO.egg-info/not-zip-safe +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MorphIO.egg-info/requires.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/MorphIO.egg-info/top_level.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/CMakeLists.txt +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_enums.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_immutable.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_misc.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_misc.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_mutable.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_mutable.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_vasculature.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bind_vasculature.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bindings_utils.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/bindings_utils.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/generated/.clang-format +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/generated/docstrings.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/morphio.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/LICENSE +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/include/pybind11/common.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/binds/python/pybind11/tools/FindEigen3.cmake +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/dendritic_spine.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/endoplasmic_reticulum.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/enums.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/exceptions.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/glial_cell.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mito_section.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mitochondria.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/dendritic_spine.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/endoplasmic_reticulum.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/glial_cell.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/mito_section.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/modifiers.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/section.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/mut/writers.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/properties.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/tools.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/types.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/vasc/iterators.hpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/vasc/properties.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/vasc/section.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/vasc/vasculature.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/include/morphio/version.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/morphio/mut/__init__.py +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/morphio/vasculature/__init__.py +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/pyproject.toml +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/setup.cfg +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/dendritic_spine.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/endoplasmic_reticulum.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/enums.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/errorMessages.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/glial_cell.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mito_section.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mitochondria.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/dendritic_spine.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/endoplasmic_reticulum.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/glial_cell.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/mut/modifiers.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/morphologyHDF5.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/vasculatureHDF5.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/readers/vasculatureHDF5.h +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/vasc/vasculature.cpp +0 -0
- {MorphIO-3.3.3 → MorphIO-3.3.4}/src/version.cpp.in +0 -0
|
@@ -10,12 +10,12 @@ jobs:
|
|
|
10
10
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
11
11
|
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v3
|
|
14
14
|
with:
|
|
15
15
|
submodules: 'true'
|
|
16
16
|
|
|
17
17
|
- name: Set up Python 3.8
|
|
18
|
-
uses: actions/setup-python@
|
|
18
|
+
uses: actions/setup-python@v4
|
|
19
19
|
with:
|
|
20
20
|
python-version: 3.8
|
|
21
21
|
|
|
@@ -4,7 +4,7 @@ on: [pull_request, push]
|
|
|
4
4
|
env:
|
|
5
5
|
CIBW_BUILD_VERBOSITY: 3
|
|
6
6
|
CIBW_BUILD: 'cp*'
|
|
7
|
-
CIBW_SKIP: 'cp35-* cp36-* *-manylinux_i686 *-musllinux_* *-win32'
|
|
7
|
+
CIBW_SKIP: 'cp35-* cp36-* *-manylinux_i686 *-musllinux_* *-win32 cp311-win_amd64 cp311-macosx_x86_64'
|
|
8
8
|
CIBW_BEFORE_TEST: pip install -r {project}/tests/requirement_tests.txt
|
|
9
9
|
CIBW_TEST_COMMAND: pytest -s -v {project}/tests
|
|
10
10
|
|
|
@@ -17,14 +17,14 @@ jobs:
|
|
|
17
17
|
runs-on: ${{ matrix.os }}
|
|
18
18
|
strategy:
|
|
19
19
|
matrix:
|
|
20
|
-
os: [ubuntu-20.04, macos-
|
|
20
|
+
os: [ubuntu-20.04, macos-11, windows-2022]
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
24
|
with:
|
|
25
25
|
submodules: 'true'
|
|
26
26
|
|
|
27
|
-
- uses: actions/setup-python@
|
|
27
|
+
- uses: actions/setup-python@v4
|
|
28
28
|
name: Install Python
|
|
29
29
|
with:
|
|
30
30
|
python-version: '3.7'
|
|
@@ -37,7 +37,42 @@ jobs:
|
|
|
37
37
|
if: runner.os == 'Linux'
|
|
38
38
|
env:
|
|
39
39
|
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
|
40
|
-
|
|
40
|
+
CIBW_BEFORE_ALL: |
|
|
41
|
+
AEC_VERSION="1.0.4"
|
|
42
|
+
HDF5_VERSION="1.12.1"
|
|
43
|
+
|
|
44
|
+
yum update -y
|
|
45
|
+
yum -y install zlib-devel
|
|
46
|
+
pushd /tmp
|
|
47
|
+
|
|
48
|
+
echo "Downloading & unpacking aec ${AEC_VERSION}"
|
|
49
|
+
curl -fsSLO https://gitlab.dkrz.de/k202009/libaec/uploads/ea0b7d197a950b0c110da8dfdecbb71f/libaec-${AEC_VERSION}.tar.gz
|
|
50
|
+
tar zxf libaec-$AEC_VERSION.tar.gz
|
|
51
|
+
|
|
52
|
+
echo "Building & installing libaec"
|
|
53
|
+
pushd libaec-$AEC_VERSION
|
|
54
|
+
./configure
|
|
55
|
+
make -j 2
|
|
56
|
+
make install
|
|
57
|
+
ldconfig
|
|
58
|
+
popd
|
|
59
|
+
|
|
60
|
+
echo "Downloading & unpacking HDF5 ${HDF5_VERSION}"
|
|
61
|
+
curl -fsSLO "https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-${HDF5_VERSION%.*}/hdf5-$HDF5_VERSION/src/hdf5-$HDF5_VERSION.tar.gz"
|
|
62
|
+
tar -xzvf hdf5-$HDF5_VERSION.tar.gz
|
|
63
|
+
|
|
64
|
+
echo "Building & installing HDF5"
|
|
65
|
+
pushd hdf5-$HDF5_VERSION
|
|
66
|
+
./configure \
|
|
67
|
+
--prefix=/usr \
|
|
68
|
+
--enable-build-mode=production \
|
|
69
|
+
--with-szlib \
|
|
70
|
+
--enable-tools=no \
|
|
71
|
+
--enable-tests=no
|
|
72
|
+
make -j 2
|
|
73
|
+
make install
|
|
74
|
+
ldconfig
|
|
75
|
+
popd
|
|
41
76
|
run: |
|
|
42
77
|
python -m cibuildwheel --output-dir dist
|
|
43
78
|
|
|
@@ -46,8 +81,10 @@ jobs:
|
|
|
46
81
|
env:
|
|
47
82
|
MACOSX_DEPLOYMENT_TARGET: '10.13'
|
|
48
83
|
CIBW_BEFORE_BUILD: |
|
|
49
|
-
brew update
|
|
50
|
-
brew --version
|
|
84
|
+
#brew update
|
|
85
|
+
#brew --version
|
|
86
|
+
export HOMEBREW_NO_AUTO_UPDATE=1
|
|
87
|
+
export HDF5_DIR="$(brew --prefix hdf5)";
|
|
51
88
|
brew install hdf5
|
|
52
89
|
run: |
|
|
53
90
|
python -m cibuildwheel --output-dir dist
|
|
@@ -73,7 +110,7 @@ jobs:
|
|
|
73
110
|
python -m cibuildwheel --output-dir dist
|
|
74
111
|
|
|
75
112
|
- name: Store wheel as artifact
|
|
76
|
-
uses: actions/upload-artifact@
|
|
113
|
+
uses: actions/upload-artifact@v3
|
|
77
114
|
with:
|
|
78
115
|
name: dist
|
|
79
116
|
path: dist/*.whl
|
|
@@ -84,12 +121,12 @@ jobs:
|
|
|
84
121
|
|
|
85
122
|
runs-on: ubuntu-latest
|
|
86
123
|
steps:
|
|
87
|
-
- uses: actions/checkout@
|
|
124
|
+
- uses: actions/checkout@v3
|
|
88
125
|
with:
|
|
89
126
|
submodules: 'true'
|
|
90
127
|
|
|
91
128
|
- name: Set up Python 3.7
|
|
92
|
-
uses: actions/setup-python@
|
|
129
|
+
uses: actions/setup-python@v4
|
|
93
130
|
with:
|
|
94
131
|
python-version: 3.7
|
|
95
132
|
|
|
@@ -105,7 +142,7 @@ jobs:
|
|
|
105
142
|
pytest -s -v tests
|
|
106
143
|
|
|
107
144
|
- name: Store sdist as artifact
|
|
108
|
-
uses: actions/upload-artifact@
|
|
145
|
+
uses: actions/upload-artifact@v3
|
|
109
146
|
with:
|
|
110
147
|
name: dist
|
|
111
148
|
path: dist/*.tar.gz
|
|
@@ -119,7 +156,7 @@ jobs:
|
|
|
119
156
|
|
|
120
157
|
steps:
|
|
121
158
|
- name: Download artifacts produced during the build_wheels and build_sdist jobs
|
|
122
|
-
uses: actions/download-artifact@
|
|
159
|
+
uses: actions/download-artifact@v3
|
|
123
160
|
with:
|
|
124
161
|
name: dist
|
|
125
162
|
path: dist/
|
|
@@ -21,10 +21,15 @@ jobs:
|
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
23
|
- name: Checkout repository
|
|
24
|
-
uses: actions/checkout@
|
|
24
|
+
uses: actions/checkout@v3
|
|
25
25
|
with:
|
|
26
26
|
submodules: 'true'
|
|
27
27
|
|
|
28
|
+
- name: Setup python
|
|
29
|
+
uses: actions/setup-python@v4
|
|
30
|
+
with:
|
|
31
|
+
python-version: '3.10'
|
|
32
|
+
|
|
28
33
|
- name: Install packages on Linux
|
|
29
34
|
if: runner.os == 'Linux'
|
|
30
35
|
run: sudo apt-get update && sudo apt-get install build-essential libhdf5-dev
|
|
@@ -32,8 +37,11 @@ jobs:
|
|
|
32
37
|
- name: Install packages on MacOS
|
|
33
38
|
if: runner.os == 'macOS'
|
|
34
39
|
run: |
|
|
35
|
-
|
|
36
|
-
brew
|
|
40
|
+
# { work around https://github.com/actions/setup-python/issues/577
|
|
41
|
+
#brew update
|
|
42
|
+
#brew --version
|
|
43
|
+
export HOMEBREW_NO_AUTO_UPDATE=1
|
|
44
|
+
# }
|
|
37
45
|
brew install cmake || true # macos image has cmake installed, but a new version may exist; ignore it if so
|
|
38
46
|
brew install hdf5
|
|
39
47
|
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Copyright 2015-2019 by Martin Moene
|
|
2
|
+
# Copyright 2019-2021 by Moritz Beutel
|
|
3
|
+
#
|
|
4
|
+
# https://github.com/gsl-lite/gsl-lite
|
|
5
|
+
#
|
|
6
|
+
# gsl-lite is based on GSL: Guidelines Support Library,
|
|
7
|
+
# https://github.com/microsoft/gsl
|
|
8
|
+
#
|
|
9
|
+
# This code is licensed under the MIT License (MIT).
|
|
10
|
+
|
|
11
|
+
cmake_minimum_required( VERSION 3.5 FATAL_ERROR )
|
|
12
|
+
|
|
13
|
+
# gsl-lite project and version, updated by script/update-version.py:
|
|
14
|
+
|
|
15
|
+
project(
|
|
16
|
+
gsl_lite
|
|
17
|
+
VERSION 0.40.0
|
|
18
|
+
# DESCRIPTION "A single-file header-only version of ISO C++ Guideline Support Library (GSL) for C++98, C++11 and later"
|
|
19
|
+
# HOMEPAGE_URL "https://github.com/gsl-lite/gsl-lite"
|
|
20
|
+
LANGUAGES CXX )
|
|
21
|
+
|
|
22
|
+
# Package information:
|
|
23
|
+
|
|
24
|
+
set( unit_name "gsl" )
|
|
25
|
+
set( package_nspace "gsl" )
|
|
26
|
+
set( package_name "${unit_name}-lite" )
|
|
27
|
+
set( package_version "${${PROJECT_NAME}_VERSION}" )
|
|
28
|
+
|
|
29
|
+
message( STATUS "Project '${PROJECT_NAME}', package '${package_name}' version: '${package_version}'" )
|
|
30
|
+
|
|
31
|
+
# Do not build tests or examples by default:
|
|
32
|
+
|
|
33
|
+
option( GSL_LITE_OPT_BUILD_TESTS "Build and perform gsl-lite tests" OFF )
|
|
34
|
+
option( GSL_LITE_OPT_BUILD_CUDA_TESTS "Build and perform gsl-lite CUDA tests" OFF )
|
|
35
|
+
option( GSL_LITE_OPT_BUILD_EXAMPLES "Build gsl-lite examples" OFF )
|
|
36
|
+
option( GSL_LITE_OPT_BUILD_STATIC_ANALYSIS_DEMOS "Build and perform gsl-lite static analysis demos" OFF )
|
|
37
|
+
option( CMAKE_EXPORT_PACKAGE_REGISTRY "Export build directory to CMake user package registry" OFF )
|
|
38
|
+
option( GSL_LITE_OPT_INSTALL_COMPAT_HEADER "Install MS-GSL compatibility header <gsl/gsl>" OFF )
|
|
39
|
+
option( GSL_LITE_OPT_INSTALL_LEGACY_HEADERS "Install legacy headers <gsl.h>, <gsl.hpp>, <gsl/gsl-lite.h>" OFF )
|
|
40
|
+
|
|
41
|
+
# If requested, build and perform tests, build examples:
|
|
42
|
+
|
|
43
|
+
if ( GSL_LITE_OPT_BUILD_TESTS )
|
|
44
|
+
set( ENABLE_TESTING ON )
|
|
45
|
+
include( CTest )
|
|
46
|
+
add_subdirectory( test )
|
|
47
|
+
endif()
|
|
48
|
+
if ( GSL_LITE_OPT_BUILD_CUDA_TESTS )
|
|
49
|
+
set( ENABLE_TESTING ON )
|
|
50
|
+
include( CTest )
|
|
51
|
+
add_subdirectory( test/cuda )
|
|
52
|
+
endif()
|
|
53
|
+
|
|
54
|
+
if ( GSL_LITE_OPT_BUILD_EXAMPLES )
|
|
55
|
+
add_subdirectory( example )
|
|
56
|
+
endif()
|
|
57
|
+
|
|
58
|
+
#
|
|
59
|
+
# Interface, installation and packaging
|
|
60
|
+
#
|
|
61
|
+
|
|
62
|
+
# CMake helpers:
|
|
63
|
+
|
|
64
|
+
include( GNUInstallDirs )
|
|
65
|
+
include( CMakePackageConfigHelpers )
|
|
66
|
+
|
|
67
|
+
# Interface library:
|
|
68
|
+
|
|
69
|
+
add_library(
|
|
70
|
+
${package_name} INTERFACE )
|
|
71
|
+
add_library(
|
|
72
|
+
${package_nspace}::${package_name} ALIAS ${package_name} )
|
|
73
|
+
target_include_directories(
|
|
74
|
+
${package_name}
|
|
75
|
+
INTERFACE
|
|
76
|
+
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
|
|
77
|
+
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>" )
|
|
78
|
+
target_sources(
|
|
79
|
+
${package_name}
|
|
80
|
+
INTERFACE
|
|
81
|
+
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/gsl-lite.natvis>" )
|
|
82
|
+
|
|
83
|
+
# Interface library for targets with versioned defaults:
|
|
84
|
+
|
|
85
|
+
# "gsl-lite-v0" target for legacy defaults:
|
|
86
|
+
add_library(
|
|
87
|
+
${package_name}-v0 INTERFACE )
|
|
88
|
+
add_library(
|
|
89
|
+
${package_nspace}::${package_name}-v0 ALIAS ${package_name}-v0 )
|
|
90
|
+
target_include_directories(
|
|
91
|
+
${package_name}-v0
|
|
92
|
+
INTERFACE
|
|
93
|
+
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
|
|
94
|
+
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>" )
|
|
95
|
+
target_sources(
|
|
96
|
+
${package_name}-v0
|
|
97
|
+
INTERFACE
|
|
98
|
+
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/gsl-lite.natvis>" )
|
|
99
|
+
|
|
100
|
+
# "gsl-lite-v1" target for modern defaults:
|
|
101
|
+
add_library(
|
|
102
|
+
${package_name}-v1 INTERFACE )
|
|
103
|
+
add_library(
|
|
104
|
+
${package_nspace}::${package_name}-v1 ALIAS ${package_name}-v1 )
|
|
105
|
+
target_include_directories(
|
|
106
|
+
${package_name}-v1
|
|
107
|
+
INTERFACE
|
|
108
|
+
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
|
|
109
|
+
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>" )
|
|
110
|
+
target_compile_definitions(
|
|
111
|
+
${package_name}-v1
|
|
112
|
+
INTERFACE
|
|
113
|
+
gsl_CONFIG_DEFAULTS_VERSION=1)
|
|
114
|
+
target_sources(
|
|
115
|
+
${package_name}-v1
|
|
116
|
+
INTERFACE
|
|
117
|
+
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/gsl-lite.natvis>" )
|
|
118
|
+
|
|
119
|
+
# Package configuration:
|
|
120
|
+
# Note: package_name and package_target are used in package_config_in
|
|
121
|
+
|
|
122
|
+
set( package_folder "${package_name}" )
|
|
123
|
+
set( package_target "${package_name}-targets" )
|
|
124
|
+
set( package_config "${package_name}-config.cmake" )
|
|
125
|
+
set( package_config_in "${package_name}-config.cmake.in" )
|
|
126
|
+
set( package_config_version "${package_name}-config-version.cmake" )
|
|
127
|
+
|
|
128
|
+
configure_package_config_file(
|
|
129
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/${package_config_in}"
|
|
130
|
+
"${CMAKE_CURRENT_BINARY_DIR}/${package_config}"
|
|
131
|
+
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${package_folder}"
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
configure_file(
|
|
135
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/${package_config_version}.in"
|
|
136
|
+
"${CMAKE_CURRENT_BINARY_DIR}/${package_config_version}" @ONLY
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
# Installation:
|
|
140
|
+
|
|
141
|
+
install(
|
|
142
|
+
TARGETS ${package_name} ${package_name}-v0 ${package_name}-v1
|
|
143
|
+
EXPORT ${package_target}
|
|
144
|
+
# INCLUDES DESTINATION "${...}" # already set via target_include_directories()
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
install(
|
|
148
|
+
EXPORT ${package_target}
|
|
149
|
+
NAMESPACE ${package_nspace}::
|
|
150
|
+
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${package_folder}"
|
|
151
|
+
)
|
|
152
|
+
|
|
153
|
+
export(
|
|
154
|
+
EXPORT ${package_target}
|
|
155
|
+
NAMESPACE ${package_nspace}::
|
|
156
|
+
FILE "${CMAKE_CURRENT_BINARY_DIR}/${package_name}-targets.cmake"
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
if(CMAKE_EXPORT_PACKAGE_REGISTRY)
|
|
160
|
+
export(
|
|
161
|
+
PACKAGE ${package_name}
|
|
162
|
+
)
|
|
163
|
+
endif()
|
|
164
|
+
|
|
165
|
+
install(
|
|
166
|
+
FILES "${CMAKE_CURRENT_BINARY_DIR}/${package_config}"
|
|
167
|
+
"${CMAKE_CURRENT_BINARY_DIR}/${package_config_version}"
|
|
168
|
+
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${package_folder}"
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
install(
|
|
172
|
+
FILES "include/gsl/gsl-lite.hpp"
|
|
173
|
+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/gsl/"
|
|
174
|
+
)
|
|
175
|
+
install(
|
|
176
|
+
FILES "include/gsl-lite/gsl-lite.hpp"
|
|
177
|
+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/gsl-lite/"
|
|
178
|
+
)
|
|
179
|
+
if(GSL_LITE_OPT_INSTALL_COMPAT_HEADER)
|
|
180
|
+
install(
|
|
181
|
+
FILES "include/gsl/gsl"
|
|
182
|
+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/gsl/"
|
|
183
|
+
)
|
|
184
|
+
endif()
|
|
185
|
+
if(GSL_LITE_OPT_INSTALL_LEGACY_HEADERS)
|
|
186
|
+
install(
|
|
187
|
+
FILES "include/gsl/gsl-lite.h"
|
|
188
|
+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/gsl/"
|
|
189
|
+
)
|
|
190
|
+
install(
|
|
191
|
+
FILES "include/gsl.h"
|
|
192
|
+
"include/gsl.hpp"
|
|
193
|
+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/"
|
|
194
|
+
)
|
|
195
|
+
endif()
|
|
196
|
+
|
|
197
|
+
# end of file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Adapted from write_basic_package_version_file(... COMPATIBILITY SameMajorVersion) output
|
|
2
|
+
# ARCH_INDEPENDENT is only present in cmake 3.14 and onwards
|
|
3
|
+
|
|
4
|
+
set( PACKAGE_VERSION "@package_version@" )
|
|
5
|
+
|
|
6
|
+
if( PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION )
|
|
7
|
+
set( PACKAGE_VERSION_COMPATIBLE FALSE )
|
|
8
|
+
else()
|
|
9
|
+
if( "@package_version@" MATCHES "^([0-9]+)\\." )
|
|
10
|
+
set( CVF_VERSION_MAJOR "${CMAKE_MATCH_1}" )
|
|
11
|
+
else()
|
|
12
|
+
set( CVF_VERSION_MAJOR "@package_version@" )
|
|
13
|
+
endif()
|
|
14
|
+
|
|
15
|
+
if( PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR )
|
|
16
|
+
set( PACKAGE_VERSION_COMPATIBLE TRUE )
|
|
17
|
+
else()
|
|
18
|
+
set( PACKAGE_VERSION_COMPATIBLE FALSE )
|
|
19
|
+
endif()
|
|
20
|
+
|
|
21
|
+
if( PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION )
|
|
22
|
+
set( PACKAGE_VERSION_EXACT TRUE )
|
|
23
|
+
endif()
|
|
24
|
+
endif()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// gsl-lite is based on GSL:
|
|
2
|
+
// gsl-lite is based on GSL: Guidelines Support Library.
|
|
3
3
|
// For more information see https://github.com/martinmoene/gsl-lite
|
|
4
4
|
//
|
|
5
5
|
// Copyright (c) 2015 Martin Moene
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
#ifndef GSL_GSL_H_INCLUDED
|
|
23
23
|
#define GSL_GSL_H_INCLUDED
|
|
24
24
|
|
|
25
|
+
#pragma message ("gsl/gsl is deprecated since version 0.38.1, use gsl/gsl-lite.hpp instead.")
|
|
26
|
+
|
|
25
27
|
#include "gsl-lite.hpp"
|
|
26
28
|
|
|
27
29
|
#endif // GSL_GSL_H_INCLUDED
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//
|
|
2
|
-
// gsl-lite-vc6 is based on GSL:
|
|
3
|
-
// For more information see https://github.com/
|
|
2
|
+
// gsl-lite-vc6 is based on GSL: Guidelines Support Library,
|
|
3
|
+
// For more information see https://github.com/gsl-lite/gsl-lite
|
|
4
4
|
//
|
|
5
5
|
// Copyright (c) 2015 Martin Moene
|
|
6
6
|
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
|
|
34
34
|
// Configuration:
|
|
35
35
|
|
|
36
|
-
#ifndef
|
|
37
|
-
# define
|
|
36
|
+
#ifndef gsl_FEATURE_IMPLICIT_MACRO
|
|
37
|
+
# define gsl_FEATURE_IMPLICIT_MACRO 1
|
|
38
38
|
#endif
|
|
39
39
|
|
|
40
|
-
#ifndef
|
|
41
|
-
# define
|
|
40
|
+
#ifndef gsl_FEATURE_OWNER_MACRO
|
|
41
|
+
# define gsl_FEATURE_OWNER_MACRO 1
|
|
42
42
|
#endif
|
|
43
43
|
|
|
44
|
-
#ifndef
|
|
45
|
-
# define
|
|
44
|
+
#ifndef gsl_FEATURE_SHARED_PTR
|
|
45
|
+
# define gsl_FEATURE_SHARED_PTR 0
|
|
46
46
|
#endif
|
|
47
47
|
|
|
48
|
-
#ifndef
|
|
49
|
-
# define
|
|
48
|
+
#ifndef gsl_FEATURE_UNIQUE_PTR
|
|
49
|
+
# define gsl_FEATURE_UNIQUE_PTR 0
|
|
50
50
|
#endif
|
|
51
51
|
|
|
52
52
|
#ifndef gsl_CONFIG_THROWS_FOR_TESTING
|
|
@@ -75,35 +75,37 @@
|
|
|
75
75
|
|
|
76
76
|
// Compiler detection:
|
|
77
77
|
|
|
78
|
-
#if defined(_MSC_VER)
|
|
79
|
-
# define
|
|
78
|
+
#if defined(_MSC_VER ) && !defined(__clang__)
|
|
79
|
+
# define gsl_COMPILER_MSVC_VER (_MSC_VER )
|
|
80
|
+
# define gsl_COMPILER_MSVC_VERSION (_MSC_VER / 10 - 10 * ( 5 + (_MSC_VER < 1900 ) ) )
|
|
80
81
|
#else
|
|
82
|
+
# define gsl_COMPILER_MSVC_VER 0
|
|
81
83
|
# define gsl_COMPILER_MSVC_VERSION 0
|
|
82
84
|
# define gsl_COMPILER_NON_MSVC 1
|
|
83
85
|
#endif
|
|
84
86
|
|
|
85
|
-
#if gsl_COMPILER_MSVC_VERSION !=
|
|
87
|
+
#if gsl_COMPILER_MSVC_VERSION != 60
|
|
86
88
|
# error GSL Lite: this header is for Visual C++ 6
|
|
87
89
|
#endif
|
|
88
90
|
|
|
89
91
|
// half-open range [lo..hi):
|
|
90
|
-
#define gsl_BETWEEN( v, lo, hi ) ( lo <= v && v < hi )
|
|
92
|
+
#define gsl_BETWEEN( v, lo, hi ) ( (lo) <= (v) && (v) < (hi) )
|
|
91
93
|
|
|
92
94
|
// Presence of C++ language features:
|
|
93
95
|
|
|
94
96
|
// C++ feature usage:
|
|
95
97
|
|
|
96
|
-
#if
|
|
98
|
+
#if gsl_FEATURE_IMPLICIT_MACRO
|
|
97
99
|
# define implicit
|
|
98
100
|
#endif
|
|
99
101
|
|
|
100
102
|
#define gsl_DIMENSION_OF( a ) ( sizeof(a) / sizeof(0[a]) )
|
|
101
103
|
|
|
102
|
-
#if
|
|
104
|
+
#if gsl_FEATURE_SHARED_PTR
|
|
103
105
|
# include gsl_CONFIG_SHARED_PTR_INCLUDE
|
|
104
106
|
#endif
|
|
105
107
|
|
|
106
|
-
#if
|
|
108
|
+
#if gsl_FEATURE_UNIQUE_PTR
|
|
107
109
|
# include gsl_CONFIG_UNIQUE_PTR_INCLUDE
|
|
108
110
|
#endif
|
|
109
111
|
|
|
@@ -113,10 +115,10 @@ namespace gsl {
|
|
|
113
115
|
// GSL.owner: ownership pointers
|
|
114
116
|
//
|
|
115
117
|
// ToDo:
|
|
116
|
-
#if
|
|
118
|
+
#if gsl_FEATURE_SHARED_PTR
|
|
117
119
|
using gsl_CONFIG_SHARED_PTR_DECL;
|
|
118
120
|
#endif
|
|
119
|
-
#if
|
|
121
|
+
#if gsl_FEATURE_UNIQUE_PTR
|
|
120
122
|
using gsl_CONFIG_UNIQUE_PTR_DECL;
|
|
121
123
|
#endif
|
|
122
124
|
|
|
@@ -124,7 +126,7 @@ template< class T > struct owner { typedef T type; };
|
|
|
124
126
|
|
|
125
127
|
#define gsl_HAVE_OWNER_TEMPLATE 0
|
|
126
128
|
|
|
127
|
-
#if
|
|
129
|
+
#if gsl_FEATURE_OWNER_MACRO
|
|
128
130
|
# define Owner(t) ::gsl::owner<t>::type
|
|
129
131
|
#endif
|
|
130
132
|
|
|
@@ -655,7 +657,7 @@ namespace detail {
|
|
|
655
657
|
template<class T, class SizeType, const T Sentinel>
|
|
656
658
|
struct ensure
|
|
657
659
|
{
|
|
658
|
-
static span<T> sentinel( T * seq, SizeType max = std::numeric_limits<SizeType>::max() )
|
|
660
|
+
static span<T> sentinel( T * seq, SizeType max = (std::numeric_limits<SizeType>::max)() )
|
|
659
661
|
{
|
|
660
662
|
typedef T * pointer;
|
|
661
663
|
typedef typename std::iterator_traits<pointer>::difference_type difference_type;
|
|
@@ -679,7 +681,7 @@ struct ensure
|
|
|
679
681
|
//
|
|
680
682
|
|
|
681
683
|
template< typename T >
|
|
682
|
-
span<T> ensure_z( T * sz, size_t max = std::numeric_limits<size_t>::max() )
|
|
684
|
+
span<T> ensure_z( T * sz, size_t max = (std::numeric_limits<size_t>::max)() )
|
|
683
685
|
{
|
|
684
686
|
return detail::ensure<T, size_t, 0>::sentinel( sz, max );
|
|
685
687
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//
|
|
2
|
-
// gsl-lite is based on GSL:
|
|
3
|
-
// For more information see https://github.com/
|
|
2
|
+
// gsl-lite is based on GSL: Guidelines Support Library.
|
|
3
|
+
// For more information see https://github.com/gsl-lite/gsl-lite
|
|
4
4
|
//
|
|
5
5
|
// Copyright (c) 2015 Martin Moene
|
|
6
6
|
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
@@ -17,12 +17,10 @@
|
|
|
17
17
|
|
|
18
18
|
// mimic MS include hierarchy
|
|
19
19
|
|
|
20
|
-
#pragma once
|
|
21
|
-
|
|
22
20
|
#ifndef GSL_GSL_LITE_H_INCLUDED
|
|
23
21
|
#define GSL_GSL_LITE_H_INCLUDED
|
|
24
22
|
|
|
25
|
-
#pragma message ("gsl-lite.h is deprecated since version 0.27.0, use gsl-lite.hpp instead.")
|
|
23
|
+
#pragma message ("gsl/gsl-lite.h is deprecated since version 0.27.0, use gsl/gsl-lite.hpp instead.")
|
|
26
24
|
|
|
27
25
|
#include "gsl-lite.hpp"
|
|
28
26
|
|