Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Aug 22, 2024
1 parent e5561f7 commit 75068dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:

core-gcc:
gcc-12-13-14:
timeout-minutes: 15

strategy:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: ./.github/workflows/composite-unix


gcc-old:
gcc-9-10-11:
timeout-minutes: 15

strategy:
Expand Down
2 changes: 1 addition & 1 deletion Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cmake -B build -Dh5fortran_ROOT=~/h5fortran/
and in your CMakeLists.txt

```cmake
cmake_minimum_required(VERSION 3.14...3.20)
cmake_minimum_required(VERSION 3.20)
project(myProject LANGUAGES Fortran)
find_package(h5fortran)
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,14 @@ cmake -B build
cmake --build build
```

for more details see [Install.md](./Install.md).
By default, h5fortran CMake doesn't specify optimization flags to help working with old compilers like GCC 7.
To enable optimization, set:

```sh
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
```

For more details see [Install.md](./Install.md).

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

Expand Down

0 comments on commit 75068dd

Please sign in to comment.