Skip to content
Snippets Groups Projects
Unverified Commit b6fa8a27 authored by Brent Huisman's avatar Brent Huisman Committed by GitHub
Browse files

Spack cache change, bump versions (#1926)

- It's actually a Github cache trick: https://github.com/actions/cache/issues/342#issuecomment-673371329
  - First run: 1h 7m 38s 
  - Second run: same duration. Hmm....
  - Third run: ~10 minutes!
  - 4th: ~7.5 min.
- Bump in configs: macos 10.15 will disappear in a month: https://github.com/actions/virtual-environments/issues/5583
  - Bump clang-max to 14, gcc-max to 11
  - macos-min to 11, macos-max to 12.
parent 3aeea7e2
No related branches found
No related tags found
No related merge requests found
...@@ -67,8 +67,6 @@ jobs: ...@@ -67,8 +67,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Python
uses: actions/setup-python@v2
- name: Get packages - name: Get packages
run: python3 -m pip install build run: python3 -m pip install build
- name: Get Arbor - name: Get Arbor
......
...@@ -12,9 +12,9 @@ jobs: ...@@ -12,9 +12,9 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: 3.6 python-version: 3.7
- name: Get packages - name: Get packages
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
......
...@@ -23,8 +23,8 @@ jobs: ...@@ -23,8 +23,8 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/.spack-cache path: ~/.spack-cache
key: cache-${{ github.sha }} key: arbor-cache-${{ github.run_id }}
restore-keys: cache- restore-keys: arbor-cache-
- name: Build Arbor's Spack package against the develop branch - name: Build Arbor's Spack package against the develop branch
run: arbor/scripts/build_spack_package.sh arbor develop run: arbor/scripts/build_spack_package.sh arbor develop
...@@ -35,7 +35,7 @@ jobs: ...@@ -35,7 +35,7 @@ jobs:
} }
- { - {
name: "MacOS Min", name: "MacOS Min",
os: "macos-10.15", os: "macos-11",
cc: "clang", cc: "clang",
cxx: "clang++", cxx: "clang++",
py: "3.7", py: "3.7",
...@@ -45,9 +45,9 @@ jobs: ...@@ -45,9 +45,9 @@ jobs:
} }
- { - {
name: "Linux Max GCC", name: "Linux Max GCC",
os: "ubuntu-20.04", os: "ubuntu-22.04",
cc: "gcc-10", cc: "gcc-11",
cxx: "g++-10", cxx: "g++-11",
py: "3.10", py: "3.10",
cmake: "3.22.x", cmake: "3.22.x",
mpi: "ON", mpi: "ON",
...@@ -55,9 +55,9 @@ jobs: ...@@ -55,9 +55,9 @@ jobs:
} }
- { - {
name: "Linux SIMD", name: "Linux SIMD",
os: "ubuntu-20.04", os: "ubuntu-22.04",
cc: "gcc-10", cc: "gcc-11",
cxx: "g++-10", cxx: "g++-11",
py: "3.10", py: "3.10",
cmake: "3.22.x", cmake: "3.22.x",
mpi: "OFF", mpi: "OFF",
...@@ -65,9 +65,9 @@ jobs: ...@@ -65,9 +65,9 @@ jobs:
} }
- { - {
name: "Linux Max Clang", name: "Linux Max Clang",
os: "ubuntu-20.04", os: "ubuntu-22.04",
cc: "clang-10", cc: "clang-14",
cxx: "clang++-10", cxx: "clang++-14",
py: "3.10", py: "3.10",
cmake: "3.22.x", cmake: "3.22.x",
mpi: "ON", mpi: "ON",
...@@ -75,7 +75,7 @@ jobs: ...@@ -75,7 +75,7 @@ jobs:
} }
- { - {
name: "MacOS Max", name: "MacOS Max",
os: "macos-11", os: "macos-12",
cc: "clang", cc: "clang",
cxx: "clang++", cxx: "clang++",
py: "3.10", py: "3.10",
...@@ -93,11 +93,16 @@ jobs: ...@@ -93,11 +93,16 @@ jobs:
# See https://github.com/open-mpi/ompi/issues/6518 # See https://github.com/open-mpi/ompi/issues/6518
OMPI_MCA_btl: "self,tcp" OMPI_MCA_btl: "self,tcp"
steps: steps:
- name: "Linux: get clang/gcc 8, libxml2" - name: "Linux: get libxml2"
if: ${{ startsWith(matrix.config.os, 'ubuntu') }} if: ${{ startsWith(matrix.config.os, 'ubuntu') }}
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y "clang-8" "lldb-8" "lld-8" "clang-format-8" g++-8 libxml2-dev sudo apt-get install -y libxml2-dev
- name: "Linux-Min: get clang/gcc 8"
if: ${{ startsWith(matrix.config.os, 'ubuntu-18') }}
run: |
sudo apt-get update
sudo apt-get install -y "clang-8" "lldb-8" "lld-8" "clang-format-8" g++-8
- name: "MacOS: get libxml2" - name: "MacOS: get libxml2"
if: ${{ startsWith(matrix.config.os, 'macos') }} if: ${{ startsWith(matrix.config.os, 'macos') }}
run: | run: |
...@@ -107,7 +112,7 @@ jobs: ...@@ -107,7 +112,7 @@ jobs:
with: with:
cmake-version: ${{ matrix.config.cmake }} cmake-version: ${{ matrix.config.cmake }}
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.config.py }} python-version: ${{ matrix.config.py }}
- name: Update pip - name: Update pip
......
...@@ -38,6 +38,8 @@ nmlcc ...@@ -38,6 +38,8 @@ nmlcc
Wider ecosystem Wider ecosystem
--------------- ---------------
A list of tools in the computational neuroscience ecosystem is being maintained at `compneuroweb <https://compneuroweb.com/sftwr.html>`_. We've made a slightly more hierarchical overview of some of the simulators below, as well as an overview of some commonly used frameworks.
Simulators Simulators
~~~~~~~~~~ ~~~~~~~~~~
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment