-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17230 from branfosj/20230128121834_new_pr_NECI202…
…20711 fix CMake print summary for long hostnames for NECI
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
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
15 changes: 15 additions & 0 deletions
15
easybuild/easyconfigs/n/NECI/NECI-20220711_fix-cmake-print-summary.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,15 @@ | ||
If the _content passed to the box_side macro is too long then it fails | ||
Patch by Simon Branford (University of Birmingham) | ||
--- cmake/neci_print_summary.cmake.orig 2023-01-28 12:12:05.844153000 +0000 | ||
+++ cmake/neci_print_summary.cmake 2023-01-28 12:12:26.698259000 +0000 | ||
@@ -28,9 +28,7 @@ | ||
feature_summary( WHAT ALL INCLUDE_QUIET_PACKAGES) | ||
|
||
macro( box_side _content ) | ||
- string( LENGTH "${_content}" _len ) | ||
- string( SUBSTRING " |" ${_len} -1 _box_tail ) | ||
- message( STATUS " | ${_content}${_box_tail}" ) | ||
+ message( STATUS " | ${_content} |" ) | ||
endmacro() | ||
|
||
string(TIMESTAMP _time "%Y-%m-%d %H:%M") |