File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1919
2020jobs :
2121
22- linux-gcc14 :
22+ linux-gcc :
2323 runs-on : ubuntu-24.04
2424 timeout-minutes : 15
2525
3838 - uses : ./.github/workflows/composite-unix
3939
4040
41- linux-gcc9 :
41+ linux-gcc-old :
4242 runs-on : ubuntu-22.04
4343 timeout-minutes : 15
4444
5959
6060 valgrind-memory :
6161 runs-on : ubuntu-latest
62- needs : linux-gcc14
62+ needs : linux-gcc
6363 timeout-minutes : 10
6464
6565 steps :
@@ -79,18 +79,25 @@ jobs:
7979
8080 strategy :
8181 matrix :
82- clang-version : [18 ]
82+ clang-version : [20 ]
8383
8484 env :
8585 CC : clang-${{ matrix.clang-version }}
8686 CXX : clang++-${{ matrix.clang-version }}
87- FC : flang-new
87+ FC : flang-${{ matrix.clang-version }}
8888
8989 steps :
9090 - uses : actions/checkout@v4
9191
92+ - name : Apt LLVM
93+ run : |
94+ wget https://apt.llvm.org/llvm.sh
95+ chmod +x llvm.sh
96+ sudo ./llvm.sh 20
97+ sudo apt-get update
98+
9299 - name : install Flang
93- run : sudo apt install --no-install-recommends flang
100+ run : sudo apt install --no-install-recommends clang-${{ matrix.clang-version }} flang-${{ matrix.clang-version }}
94101
95102 - uses : ./.github/workflows/composite-unix
96103
Original file line number Diff line number Diff line change @@ -7,9 +7,4 @@ and modern "nullptr" in
77are represented in Fortran
88[ iso_c_binding] ( https://fortranwiki.org/fortran/show/iso_c_binding ) .
99
10- Unlike in C / C++, do not check equality with C_NULL_PTR in Fortran.
11- Instead, by definition the
12- [ c_associated()] ( https://fortranwiki.org/fortran/show/c_associated )
13- logical function returns ".false." if the C_PTR is C_NULL_PTR, and ".true." otherwise.
14- See [ strptime.f90] ( ./strptime.f90 )
15- for an example of checking in Fortran for a C null pointer returned from a function.
10+ See [ nullptr] ( ../nullptr ) for examples of checking for C / C++ NULL / nullptr from Fortran.
You can’t perform that action at this time.
0 commit comments