diff --git a/spack.yaml b/spack.yaml deleted file mode 100644 index 494e2c5ebaadfb005f5e750aa7c84787c709b1c8..0000000000000000000000000000000000000000 --- a/spack.yaml +++ /dev/null @@ -1,92 +0,0 @@ -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 - - #- 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/akarmas/ebrains-spack-builds/jobs_scratch_dir/mirror - # some random cache :p (build_cache/ gets added) - #hacky_cache: https://brainscales-r.kip.uni-heidelberg.de:7443/nmpi/tmp - ebrains_cache: https://object.cscs.ch/v1/AUTH_9c619ee75cab4993b1c4c86a37586357/test_spack/tc-tmp-cache - public_mirror: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/ - - 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? - script: - - spack env activate --without-view ${SPACK_CONCRETE_ENV_DIR} - - spack -d ci rebuild - - # all in artifacts (no shared filesystem...) - enable-artifacts-buildcache: True - - # trigger service job below - rebuild-index: True - - # post-build runner performing index (and potentially triggering deployment later) - service-job-attributes: - tags: - - docker-runner - image: docker-registry.ebrains.eu/clb-jupyter-image/base - before_script: - - git clone ${SPACK_REPO} - - pushd spack && git checkout ${SPACK_CHECKOUT_VERSION} && popd - - . "./spack/share/spack/setup-env.sh" -