Skip to content

Commit 75068dd

Browse files
committed
doc
1 parent e5561f7 commit 75068dd

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525

2626
jobs:
2727

28-
core-gcc:
28+
gcc-12-13-14:
2929
timeout-minutes: 15
3030

3131
strategy:
@@ -59,7 +59,7 @@ jobs:
5959
- uses: ./.github/workflows/composite-unix
6060

6161

62-
gcc-old:
62+
gcc-9-10-11:
6363
timeout-minutes: 15
6464

6565
strategy:

Install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cmake -B build -Dh5fortran_ROOT=~/h5fortran/
4444
and in your CMakeLists.txt
4545

4646
```cmake
47-
cmake_minimum_required(VERSION 3.14...3.20)
47+
cmake_minimum_required(VERSION 3.20)
4848
project(myProject LANGUAGES Fortran)
4949
5050
find_package(h5fortran)

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,14 @@ cmake -B build
9393
cmake --build build
9494
```
9595

96-
for more details see [Install.md](./Install.md).
96+
By default, h5fortran CMake doesn't specify optimization flags to help working with old compilers like GCC 7.
97+
To enable optimization, set:
98+
99+
```sh
100+
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
101+
```
102+
103+
For more details see [Install.md](./Install.md).
97104

98105
For general use with non-CMake build systems, "h5fortran.pc" pkg-config file is also generated / installed.
99106

0 commit comments

Comments
 (0)