From b86cad1848078f1bf343f4eae3109c65e6a03f0f Mon Sep 17 00:00:00 2001
From: Luc Papeleux <L.Papeleux@ULiege.be>
Date: Thu, 22 Sep 2022 15:05:02 +0200
Subject: [PATCH] add gcc 9.4 configuration file for warson

---
 cfg/warson/compilers.bashrc  | 7 +++++++
 cfg/warson/compilers.profile | 8 ++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 cfg/warson/compilers.bashrc
 create mode 100644 cfg/warson/compilers.profile

diff --git a/cfg/warson/compilers.bashrc b/cfg/warson/compilers.bashrc
new file mode 100644
index 0000000..2e502d8
--- /dev/null
+++ b/cfg/warson/compilers.bashrc
@@ -0,0 +1,7 @@
+add2env PATH "/opt/gcc-9.4.0/bin" front
+add2env LD_LIBRARY_PATH "/opt/gcc-9.4.0/lib64" front
+# sinon cmake build avec /usr/bin/c++...
+export CC=gcc
+export CXX=g++
+export FC=gfortran
+
diff --git a/cfg/warson/compilers.profile b/cfg/warson/compilers.profile
new file mode 100644
index 0000000..3e1604a
--- /dev/null
+++ b/cfg/warson/compilers.profile
@@ -0,0 +1,8 @@
+add2env PATH "/opt/gcc-9.4.0/bin" front
+add2env LD_LIBRARY_PATH "/opt/gcc-9.4.0/lib64" front
+
+# sinon cmake build avec /usr/bin/c++...
+export CC=gcc
+export CXX=g++
+export FC=gfortran
+
-- 
GitLab