Skip to content
Snippets Groups Projects
  1. Oct 25, 2022
  2. Oct 24, 2022
    • Thorsten Hater's avatar
      Bump OpenMPI to 4.1.x · 6880b7c4
      Thorsten Hater authored
      - bump OpenMPI version in hope of fixing the intermittent memory corruption
      - bump Ubuntu and clang versions in `sanitize.yml` workflow.
      6880b7c4
  3. Oct 19, 2022
  4. Sep 20, 2022
  5. Sep 06, 2022
  6. Aug 02, 2022
  7. Jul 28, 2022
  8. Jul 19, 2022
  9. Jul 18, 2022
  10. Jul 04, 2022
    • Brent Huisman's avatar
      Move Python build to `pyproject.toml`, bump Python minver to 3.7, fix macos... · 8af6bd27
      Brent Huisman authored
      Move Python build to `pyproject.toml`, bump Python minver to 3.7, fix macos wheel generation (#1916)
      
      * Failing Macos Python wheel builds fixed.
      * Macos Python wheels now come with dual-arch (x86-64 and arm64)
      * Moved (nearly) all Python build instructions to `pyproject.toml`
        * Enables 'build isolation', and need to specify build-deps only once, no need for users or CI scripts to pre-install them.
        * Enables editable `pip` installs (`pip install -e ./arbor`)
        * Compatible with 'build frontends' `pip` and `build`.
        * Passing CMake options actually got shorter
      * Drop Python 3.6 support.
      8af6bd27
  11. Jun 21, 2022
  12. Jun 16, 2022
  13. May 18, 2022
  14. Feb 24, 2022
    • boeschf's avatar
      export API (#1824) · 675fdbc9
      boeschf authored
      Exports all symbols so arbor can be compiled as set of shared libraries. 
      
      In order to export all symbols correctly, one macro per library and one global macro are added. The content of the macros is determined at configure time depending on build variant (static/shared), compiler, and platforms (linux, mac os) and goes into the library's include directory as `export.hpp` when installed (at build time it resides at cmake's temporary build directory). The per-library macro is named `ARB_LIBNAME_API` and goes in front of to-be-exported symbols. The global macro is `ARB_SYMBOL_VISIBLE`. 
      
      This PR adds the annotation in all of the places where it is required. Most of them are in the public headers (and corresponding sources) but some are also added in internal headers, which were required for the unit tests to link properly.
      
      Fixes #1752
      675fdbc9
  15. Jan 27, 2022
  16. Jan 26, 2022
    • Brent Huisman's avatar
      v0.6-rc (#1814) · cf99bdce
      Brent Huisman authored
      * bump version to v0.6-rc
      * Update `MANIFEST.in` and `scripts/run_python_examples.sh`
      * Update Release instructions `docs/contrib/release.rst`
      * Fix missing quotes in `python/example/single_cell_nml.py`
      * Add testing to sdist creation in `ciwheel.yml`
      * Rename `basic.yml` to `test-everything.yml`
         * Remove Python examples step from matrix (mostly because plotting takes much CPU on macos)
         * change to build /w nml
         * add test of pip builds (`pip install` in addition to CMake builds)
            * Python examples are tested here, once is enough.
      cf99bdce
  17. Jan 24, 2022
    • Thorsten Hater's avatar
      More robust build-catalogue (#1784) · d0dc6bd7
      Thorsten Hater authored
      - build-catalogue
        - now installed by pip
        - enable GPU-backends
        - isolate from being installed in a non-default dir
        - rename to arbor-build-catalogue
        - allow hand-written C++ mechanisms to be linked in the same catalogue.
      - CMake
        - enable PIC on arbor always to allow linking to shared objects
        - use relative paths when configuring a-b-c, to make relocation less of a problem
      - Python
          - ensure a-b-c is installed by pip, along with headers and libarbor.a
          - throw errors if tools (cmake scripts, arbor package, modcc) missing
          - transition setup.py setuptools -> skbuild.
      - Wheels
          - Add NML2 support to wheels
          - scripts/build-wheels.sh builds wheels, in principle valid for submission to PyPI, on your own hardware. This should be kept in sync with .github/workflows/ciwheel.yml
          - scripts/patchwheel.py corrects the rpath in the libraries in the wheels, working around a bad interplay between auditwheel and skbuild, see pypa/auditwheel#363
          - Python Wheels are tested as part of the Github Action 
          - Add nml and bundled status to config().
      d0dc6bd7
  18. Jan 21, 2022
    • Thorsten Hater's avatar
      CMake CUDA clean-up. (#1804) · b2cb6ced
      Thorsten Hater authored
      - Bump CMake to 3.18 for better CUDA support.
      - Clean-up our use of said support.
      - Remove old cruft and workarounds.
      - Maintenance in CI: enable MacOS 11; bump CMake versions to 3.18 / 3.22; bump bors CMake to 3.18
      
      Fixes #1790 
      b2cb6ced
  19. Dec 15, 2021
  20. Nov 26, 2021
    • Benjamin Cumming's avatar
      Test separately built catalogues (#1748) · aabaa87c
      Benjamin Cumming authored
      * add a test that tests that a catalogue built separately can be loaded via the Python interface
      * further simplification of dynamic library support
        * move all platform-specific code into the cpp implementation and out of header.
      aabaa87c
  21. Oct 13, 2021
  22. Oct 08, 2021
  23. Oct 05, 2021
  24. Aug 19, 2021
  25. Aug 17, 2021
  26. Jul 23, 2021
  27. Jul 05, 2021
  28. Jun 24, 2021
    • Nora Abi Akar's avatar
      Python unit test clean-up (#1595) · 5661a74b
      Nora Abi Akar authored
      * Remove test_simulator.py.
      * Add missing python unit test file and fix errors.
      * Run python unit tests in verbose mode to display which were skipped.
      5661a74b
  29. Jun 23, 2021
  30. Jun 22, 2021
  31. Jun 16, 2021
  32. May 10, 2021
  33. Apr 29, 2021
  34. Apr 01, 2021
  35. Mar 17, 2021
    • Brent Huisman's avatar
      Port of Brunel example (#1404) · c326ab3b
      Brent Huisman authored
      * Add Python version of brunel.cpp example.
      * Enforce consistency in units: both C++ and Python APIs use unit `kHz` for all frequencies.
      * Align Python version `poisson_schedule` signature with C++ equivalent.
      * Update unit tests to suit API changes.
      * Update documentation to suit, along with minor additions related to networks and interconnectivity.
      * Add `brunel.py` to `basic.yml` tests
      c326ab3b
  36. Mar 15, 2021
    • thorstenhater's avatar
      Run C++ examples in CI (#1432) · e427c8e7
      thorstenhater authored
      - Add _running_ C++ examples to standard CI runs (compiling has been in since the start).
      - Fix `bench.cpp` to set return value to 1 if exceptions are caught.
      e427c8e7
  37. Mar 05, 2021