Skip to content

Commit 547d5a2

Browse files
Removes unused flags
1 parent 91714a0 commit 547d5a2

File tree

1 file changed

+46
-5
lines changed

1 file changed

+46
-5
lines changed

.github/workflows/make.yml

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Makefile CI
33
on:
44
push:
55
paths-exclude:
6-
- '.github/**'
6+
- '.github/cmake.yml'
77
- '.gitignore'
88
- 'README'
99
- '**README'
@@ -21,8 +21,44 @@ on:
2121
- '**CMakeLists.txt'
2222

2323
env:
24-
CFLAGS: "-Wall -pedantic"
25-
FFLAGS: "-fimplicit-none -fcheck=all"
24+
CDEFS : -DAdd_
25+
26+
#
27+
# The fortran and C compilers, loaders, and their flags
28+
#
29+
30+
FC : mpif90
31+
CC : mpicc
32+
NOOPT : -O0
33+
FCFLAGS : -O3 -fcheck=all
34+
CCFLAGS : -O3 -Wall -pedantic
35+
FCLOADER : mpif90
36+
CCLOADER : mpicc
37+
FCLOADFLAGS : -O3 -fcheck=all
38+
CCLOADFLAGS : -O3 -Wall -pedantic
39+
40+
#
41+
# The archiver and the flag(s) to use when building archive (library)
42+
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo
43+
#
44+
45+
ARCH : ar
46+
ARCHFLAGS : cr
47+
RANLIB : ranlib
48+
49+
#
50+
# The name of the ScaLAPACK library to be created
51+
#
52+
53+
SCALAPACKLIB : libscalapack.a
54+
55+
#
56+
# BLAS, LAPACK (and possibly other) libraries needed for linking test programs
57+
#
58+
59+
BLASLIB : -lblas
60+
LAPACKLIB : -llapack
61+
LIBS : -llapack -lblas
2662

2763
defaults:
2864
run:
@@ -32,16 +68,21 @@ jobs:
3268

3369
build-all:
3470
runs-on: ubuntu-latest
71+
3572
steps:
73+
3674
- name: Checkout ScaLAPACK
3775
uses: actions/checkout@v2
38-
- name: Install MPI
76+
77+
- name: Install MPI on Linux
3978
run: sudo apt install mpich
79+
4080
- name: Build ScaLAPACK
4181
run: |
42-
cp SLmake.inc.example SLmake.inc
82+
touch SLmake.inc
4383
make --silent -j4 lib
4484
make --silent all
85+
4586
- name: Run examples
4687
working-directory: ${{github.workspace}}/EXAMPLE
4788
run: |

0 commit comments

Comments
 (0)