Skip to content

Commit

Permalink
240410.005928.HKT revise cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Apr 9, 2024
1 parent 1c23116 commit d86b5b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
# Classic Flang family with -Mchkptr would fail. See https://forums.developer.nvidia.com/t/bug-in-nvfortran-with-mchkptr-for-unallocated-optional-arguments/223220
# As of 20240220, aflang with -Mbounds would fail due to the bug at https://github.com/flang-compiler/flang/issues/1238
- {compiler: nvfortran, cflags: '-Wall', fflags: '-C -Wall -Wextra -Minform=warn -Mstandard -Mrecursive -Mbounds -Mchkstk'}
- {compiler: flang, cflags: '-Wall', fflags: '-pedantic'}
- {compiler: flang, cflags: '-Werror', fflags: '-pedantic'}
- {compiler: aflang, cflags: '-Wall', fflags: '-pedantic -Weverything -Wall -Wextra -Minform=warn -Mstandard -Mrecursive'}

steps:
Expand Down
2 changes: 1 addition & 1 deletion fortran/tests/makefiles/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ FFORT := $(FFORT) -fimplicit-none -Werror
ifeq ($(TESTDIM),small)
FFORT := $(FFORT)
endif
FFORT := $(FFORT) -std=f2018 -pedantic #-Kieee
FFORT := $(FFORT) -std=f2018 -pedantic # As of flang 19.0, only -std=f2008 is supported

ftest_i2_r4_d1_tst_c ftest_i4_r4_d1_tst_c ftest_i8_r4_d1_tst_c ftest_i2_r4_d0_tst_c ftest_i4_r4_d0_tst_c ftest_i8_r4_d0_tst_c: \
FCO := $(FFORT) $(FFLAGSO)
Expand Down

0 comments on commit d86b5b2

Please sign in to comment.