forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add patch for bug/typo in RISC-V toolchain options
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.9.4_fix-riscv-toolchain-opts-typo.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
https://github.com/easybuilders/easybuild-framework/pull/4668 | ||
From 688c6709504c4b54f881b9a674c3c5dfd6acd241 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= <b.e.droge@rug.nl> | ||
Date: Fri, 4 Oct 2024 16:35:35 +0200 | ||
Subject: [PATCH] fix typo in veryloose toolchain option | ||
|
||
--- | ||
easybuild/toolchains/compiler/gcc.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/easybuild/toolchains/compiler/gcc.py b/easybuild/toolchains/compiler/gcc.py | ||
index e9748f3bda..fd50ad2c03 100644 | ||
--- a/easybuild/toolchains/compiler/gcc.py | ||
+++ b/easybuild/toolchains/compiler/gcc.py | ||
@@ -85,7 +85,7 @@ class Gcc(Compiler): | ||
COMPILER_UNIQUE_OPTION_MAP['strict'] = [] | ||
COMPILER_UNIQUE_OPTION_MAP['precise'] = [] | ||
COMPILER_UNIQUE_OPTION_MAP['loose'] = ['fno-math-errno'] | ||
- COMPILER_UNIQUE_OPTION_MAP['verloose'] = ['fno-math-errno'] | ||
+ COMPILER_UNIQUE_OPTION_MAP['veryloose'] = ['fno-math-errno'] | ||
|
||
# used when 'optarch' toolchain option is enabled (and --optarch is not specified) | ||
COMPILER_OPTIMAL_ARCHITECTURE_OPTION = { |