From 628d7458e95896a807c607563ab7f5ceb214e144 Mon Sep 17 00:00:00 2001 From: Jakub Kropacek Date: Wed, 22 Jun 2022 09:48:03 +0200 Subject: [PATCH] modified: t/tblite/tblite-0.2.1-intel-2020b.eb --- t/tblite/tblite-0.2.1-intel-2020b.eb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/tblite/tblite-0.2.1-intel-2020b.eb b/t/tblite/tblite-0.2.1-intel-2020b.eb index 55e61b57..f1f3d23c 100644 --- a/t/tblite/tblite-0.2.1-intel-2020b.eb +++ b/t/tblite/tblite-0.2.1-intel-2020b.eb @@ -10,7 +10,10 @@ homepage = 'http://www.example.com' description = """This project is an effort to create a library implementation of the extended tight binding (xTB) Hamiltonian which can be shared between xtb and dftb+. The current state of this project should be considered as highly experimental.""" toolchain = {'name': 'intel', 'version': '2020b'} -toolchainopts = {'optarch': 'march=core-avx2'} + +import os +if os.environ.get("CLUSTERNAME") in ["KAROLINA"]: + toolchainopts = {'optarch': 'march=core-avx2'} source_urls = ['https://github.com/tblite/tblite/archive/refs/tags/'] sources = ['v%(version)s.tar.gz']