Skip to content

Commit

Permalink
Debugging line length compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Jan 9, 2025
1 parent 5912455 commit 297985b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fortran_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
-B./build \
-S./test/unit/fortran
cd build
make
VERBOSE=1 make
- name: Run fortran unit tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion test/unit/fortran/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ endif()

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


if(CAM_SIMA_ENABLE_CODE_COVERAGE)
add_compile_options(-O0 --coverage)
add_link_options(--coverage)
Expand Down

0 comments on commit 297985b

Please sign in to comment.