-
Eleni Mathioulaki authored6e0e89ec
spack.yaml 2.46 KiB
spack:
view: false
concretization: separately
packages:
mpi:
# disable mpi lib builds altogether
buildable: false
mpich:
buildable: false
externals:
# centos7: mpich-3.0-3.0.4-10.el7.x86_64
# maybe add arch=linux-centos7-sandybridge later?
- spec: mpich@3.0.4
prefix: /usr/lib64/mpich
definitions:
- compiler-pkgs:
- gcc@10.3.0 os=centos7
- pkgs:
# some EBRAINS-related simulators
- py-numpy ^python@3.8.10
- py-scipy ^python@3.8.10
#- py-pip ^python@3.8.10
#- nest +gsl +python ^python@3.8.10 %gcc@9.3.1
#- arbor ^python@3.8.10
#- nest +gsl +mpi ^py-scipy@:1.6.999
#- arbor +mpi
#- neuron +mpi
# BrainScaleS (plus some constraining)
#- visionary-dls-core ^py-setuptools-scm+toml ^python@3.8.0:3.8.999 ^binutils+ld ^py-astroid@2.5.6:2.6.999 ^py-scipy@:1.6.999
- compilers:
# for now build on one target compiler only
- '%gcc@10.3.0'
- oses:
- os=centos7
specs:
- matrix:
- [$pkgs]
- [$compilers]
- [$oses]
mirrors:
local_something: /builds/emuller/brainscales-spack-test/jobs_scratch_dir/local_mirror
# some random cache :p (build_cache/ gets added)
hacky_cache: https://brainscales-r.kip.uni-heidelberg.de:7443/nmpi/tmp
gitlab-ci:
bootstrap:
- name: compiler-pkgs
compiler-agnostic: true
mappings:
- match:
- os=centos7
runner-attributes:
tags:
- docker-runner
image: docker-registry.ebrains.eu/clb-jupyter-image/base
# needed as the spack command isn't globally available
before_script:
- git clone ${SPACK_REPO}
# ${SPACK_REF} ?
- pushd spack && git checkout ${SPACK_CHECKOUT_VERSION} && git log -n 1 && popd
- . "./spack/share/spack/setup-env.sh"
# looks like default => remove it?