Skip to content

Commit 297985b

Browse files
committed
Debugging line length compile error.
1 parent 5912455 commit 297985b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/fortran_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
-B./build \
4343
-S./test/unit/fortran
4444
cd build
45-
make
45+
VERBOSE=1 make
4646
4747
- name: Run fortran unit tests
4848
run: |

test/unit/fortran/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ endif()
1414

1515
# Overwrite the init flags chosen by CMake
1616
if(${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU")
17+
message("Adding free line length to command line.")
1718
set(CMAKE_Fortran_FLAGS_INIT "-ffree-line-length-none")
1819
endif()
1920

20-
2121
if(CAM_SIMA_ENABLE_CODE_COVERAGE)
2222
add_compile_options(-O0 --coverage)
2323
add_link_options(--coverage)

0 commit comments

Comments
 (0)