diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a1efd653..fa514883c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: build: - runs-on: self-ubuntu-22.04 + runs-on: self-ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/docs/user/modules/install/pages/index.adoc b/docs/user/modules/install/pages/index.adoc index 1425978ac..ac981583e 100644 --- a/docs/user/modules/install/pages/index.adoc +++ b/docs/user/modules/install/pages/index.adoc @@ -1,5 +1,7 @@ +:feelpp: Feel++ = Get {feelpp} + {feelpp} can be installed on Windows 10, Debian/Ubuntu systems. The main channel is called `latest`. @@ -135,6 +137,73 @@ To use {feelpp} on Windows 10, follow these steps: * [x] follow the corresponding Ubuntu or Debian {feelpp} installation steps include::partial$install-deb.adoc[] +-- +Spack:: ++ +-- +https://spack.io[Spack] packaging is available for {feelpp} thanks to ghcr.io. +Binaries are available for the generic microarchitecture `x86_64_v3`. + +The following steps require the installation of Spack and the cloning of the `spack.numpex` repository. + +[discrete] +=== Clone Spack + +[source,sh] +---- +git clone https://github.com/spack/spack /spack +source /spack/share/spack/setup-env.sh +---- + +[discrete] +=== Add {feelpp} Spack Mirror + +First set the {feelpp} mirror. + +.set the {feelpp} spack mirror (only once) +[source,sh] +---- +spack mirror add spack-mirror oci://ghcr.io/feelpp/spack <1> +---- +<.> add the mirror named spack-mirror to spack + +You can check the mirror with +[source,sh] +---- +spack mirror list +---- + +[discrete] +=== Clone spack.numpex + +Add `spack.numpex` as a spack repository + +[source,sh] +---- +git clone https://github.com/numpex/spack.numpex /spack.numpex +spack repo add /spack.numpex +# check the repo +spack repo list +---- + +[discrete] +=== Install {feelpp} + +then download the package feelpp + +[source,sh] +---- +spack install --use-buildcache only feelpp target=x86_64_v3 +---- + +{feelpp} package as well as the dependencies will be installed. + +You can check the package by run `spack test` +[source,sh] +---- +spack test run feelpp +---- + -- Docker:: +