From f0f717c6d7ccecc5df9e6df25d3fce287d2450a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Thu, 23 Mar 2023 11:02:12 +0100
Subject: [PATCH] Update build.yml with required parameters.

---
 conf/common/build.yml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/conf/common/build.yml b/conf/common/build.yml
index 13f1afd..df0a35e 100644
--- a/conf/common/build.yml
+++ b/conf/common/build.yml
@@ -1,7 +1,15 @@
 spack:
-  url: git@gitlab.physik.uni-muenchen.de:LDAP_rbg/spack.git
-  branch: lmu/ubuntu20.04-icon
-  compiler: gcc@11.3.0
+  #url: git@gitlab.physik.uni-muenchen.de:LDAP_rbg/spack.git
+  #branch: lmu/ubuntu20.04-icon
+  #compiler: gcc@11.3.0
+  init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty
+  url: https://github.com/spack/spack.git # url to download spack if necessary
+  branch: develop # if downloaded, branch name to use
+  compiler: gcc@12.2.0 # desired compiler for spack
+  root: "%HPCROOTDIR%/spack" # path to a spack install, will be downloaded to if not present
+  user_cache_path: "%HPCROOTDIR%/spack_user_cache_path" # spack puts data here when bootstrapping, leave empty to use home folder
+  disable_local_config: true # if false, spack install into home folder
+  build_cmd: "icon-nwp@%icon.version% ^openmpi+pmi+legacylaunchers schedulers=slurm fabrics=ucx ucx+dc+dm+ib_hw_tm+mlx5_dv+rc+rdmacm+thread_multiple+ud+verbs ^gettext@0.20.2 ^%spack.compiler%"
 
 python_environment:
   # Name of the virtual environment in the remote platform experiment folder
-- 
GitLab