From fffd84a80397600525f4323f72798e8fdaf332b3 Mon Sep 17 00:00:00 2001
From: Ujwal Kundur <ujwal.kundur@gmail.com>
Date: Tue, 21 Jun 2022 09:33:31 +0530
Subject: [PATCH] Add Compiler configuration in spack.yaml

---
 spack.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/spack.yaml b/spack.yaml
index f87e73c8b..48650471b 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -44,3 +44,17 @@ spack:
     all:
       compiler: [gcc]
   view: /usr/local
+  compilers::
+  - compiler:
+      spec: gcc@11.2.0
+      paths:
+        cc: /usr/bin/gcc
+        cxx: /usr/bin/g++
+        f77: /usr/bin/gfortran
+        fc: /usr/bin/gfortran
+      flags: {}
+      operating_system: ubuntu18.04
+      target: x86_64
+      modules: []
+      environment: {}
+      extra_rpaths: []
-- 
GitLab