Skip to content

Commit

Permalink
Removes unused flags
Browse files Browse the repository at this point in the history
  • Loading branch information
weslleyspereira committed Mar 7, 2022
1 parent 91714a0 commit 547d5a2
Showing 1 changed file with 46 additions and 5 deletions.
51 changes: 46 additions & 5 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Makefile CI
on:
push:
paths-exclude:
- '.github/**'
- '.github/cmake.yml'
- '.gitignore'
- 'README'
- '**README'
Expand All @@ -21,8 +21,44 @@ on:
- '**CMakeLists.txt'

env:
CFLAGS: "-Wall -pedantic"
FFLAGS: "-fimplicit-none -fcheck=all"
CDEFS : -DAdd_

#
# The fortran and C compilers, loaders, and their flags
#

FC : mpif90
CC : mpicc
NOOPT : -O0
FCFLAGS : -O3 -fcheck=all
CCFLAGS : -O3 -Wall -pedantic
FCLOADER : mpif90
CCLOADER : mpicc
FCLOADFLAGS : -O3 -fcheck=all
CCLOADFLAGS : -O3 -Wall -pedantic

#
# The archiver and the flag(s) to use when building archive (library)
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo
#

ARCH : ar
ARCHFLAGS : cr
RANLIB : ranlib

#
# The name of the ScaLAPACK library to be created
#

SCALAPACKLIB : libscalapack.a

#
# BLAS, LAPACK (and possibly other) libraries needed for linking test programs
#

BLASLIB : -lblas
LAPACKLIB : -llapack
LIBS : -llapack -lblas

defaults:
run:
Expand All @@ -32,16 +68,21 @@ jobs:

build-all:
runs-on: ubuntu-latest

steps:

- name: Checkout ScaLAPACK
uses: actions/checkout@v2
- name: Install MPI

- name: Install MPI on Linux
run: sudo apt install mpich

- name: Build ScaLAPACK
run: |
cp SLmake.inc.example SLmake.inc
touch SLmake.inc
make --silent -j4 lib
make --silent all
- name: Run examples
working-directory: ${{github.workspace}}/EXAMPLE
run: |
Expand Down

0 comments on commit 547d5a2

Please sign in to comment.