Skip to content

Commit 53e8c3d

Browse files
authored
Merge pull request #609 from weslleyspereira/try-test-openmp
Test OpenMP
2 parents 044ae08 + 7b3b091 commit 53e8c3d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ on:
3535

3636
env:
3737
CFLAGS: "-Wall -pedantic"
38-
FFLAGS: "-fimplicit-none -frecursive -fcheck=all"
3938
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
4039

4140
defaults:
@@ -55,11 +54,15 @@ jobs:
5554

5655
env:
5756
BUILD_TYPE: Release
57+
FFLAGS: ${{ matrix.fflags }}
5858

5959
strategy:
6060
fail-fast: true
6161
matrix:
6262
os: [ macos-latest, ubuntu-latest ]
63+
fflags: [
64+
"-fimplicit-none -frecursive -fcheck=all",
65+
"-fimplicit-none -frecursive -fcheck=all -fopenmp" ]
6366

6467
steps:
6568

@@ -111,6 +114,7 @@ jobs:
111114
runs-on: ubuntu-latest
112115
env:
113116
BUILD_TYPE: Coverage
117+
FFLAGS: "-fopenmp"
114118
steps:
115119

116120
- name: Checkout LAPACK

.github/workflows/makefile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333

3434
env:
3535
CFLAGS: "-Wall -pedantic"
36-
FFLAGS: "-fimplicit-none -frecursive -fcheck=all"
36+
FFLAGS: "-fimplicit-none -frecursive -fopenmp -fcheck=all"
3737

3838
defaults:
3939
run:

0 commit comments

Comments
 (0)