Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ jobs:
container: snowstep/llvm:jammy

# https://hub.docker.com/r/phhargrove/llvm-flang/tags
- os: ubuntu-24.04
compiler: flang
version: 22
container: phhargrove/llvm-flang:22.1.0-latest
- os: ubuntu-24.04
compiler: flang
version: 21
network: smp
container: phhargrove/llvm-flang:21.1.0-latest
- os: ubuntu-24.04
compiler: flang
Expand Down Expand Up @@ -217,6 +220,7 @@ jobs:
elif test "$FC" = "lfortran" ; then \
echo "FPM_FC=lfortran" >> "$GITHUB_ENV" ; \
echo "FFLAGS=--cpp $FFLAGS" >> "$GITHUB_ENV" ; \
echo "FPM_FLAGS=--profile debug --verbose" >> "$GITHUB_ENV" ; : fpm 0.13 workaround ; \
else \
echo "FPM_FC=gfortran-${COMPILER_VERSION}" >> "$GITHUB_ENV" ; \
echo "FFLAGS=-ffree-line-length-0 $FFLAGS" >> "$GITHUB_ENV" ; \
Expand Down
8 changes: 4 additions & 4 deletions src/assert_m.F90
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,16 @@ pure subroutine assert_always(assertion, description, file, line)
end block
else
location = location // '<unknown>'
endif
endif
end if
end if

#if ASSERT_MULTI_IMAGE
# if ASSERT_PARALLEL_CALLBACKS
if (associated(assert_this_image)) then
me = assert_this_image()
else
me = 0
endif
end if
# else
me = this_image()
# endif
Expand All @@ -145,7 +145,7 @@ pure subroutine assert_always(assertion, description, file, line)
call assert_error_stop(message)
else
; ! deliberate fall-thru
endif
end if
#endif
#ifdef __LFORTRAN__
! workaround a defect observed in LFortran 0.54:
Expand Down