Skip to content

Commit 545ee2d

Browse files
authored
Merge pull request #3733 from Flamefire/doc-fix
Fix error message for --use-ccache
2 parents caa1d48 + 600631d commit 545ee2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

easybuild/tools/toolchain/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def prepare_compiler_cache(self, cache_tool):
927927

928928
cache_path = which(cache_tool)
929929
if cache_path is None:
930-
raise EasyBuildError("%s binary not found in $PATH, required by --use-compiler-cache", cache_tool)
930+
raise EasyBuildError("%s binary not found in $PATH, required by --use-ccache", cache_tool)
931931
else:
932932
self.symlink_commands({cache_tool: (cache_path, compilers)})
933933

test/framework/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ def test_compiler_cache(self):
16991699

17001700
ccache = which('ccache')
17011701
if ccache is None:
1702-
msg = r"ccache binary not found in \$PATH, required by --use-compiler-cache"
1702+
msg = r"ccache binary not found in \$PATH, required by --use-ccache"
17031703
self.assertErrorRegex(EasyBuildError, msg, self.eb_main, args, raise_error=True, do_build=True)
17041704

17051705
# generate shell script to mock ccache/f90cache

0 commit comments

Comments
 (0)