Skip to content

Commit 623fef5

Browse files
committed
Merge branch 'weslleyspereira-fix' into fix
2 parents 42ec867 + 41e0bf1 commit 623fef5

File tree

6,337 files changed

+22041
-22939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,337 files changed

+22041
-22939
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'Type: Bug'
6+
assignees: ''
7+
8+
---
9+
**Description**
10+
11+
**Checklist**
12+
13+
- [ ] I've included a minimal example to reproduce the issue
14+
- [ ] I'd be willing to make a PR to solve this issue
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Feature request
3+
about: Request a feature
4+
title: ''
5+
labels: 'Type: Feature request'
6+
assignees: ''
7+
8+
---

.github/ISSUE_TEMPLATE/help_wanted.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Question
3+
about: Ask a question related to the use of the package
4+
title: ''
5+
labels: 'Type: Question'
6+
assignees: ''
7+
8+
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**Description**
2+
3+
**Checklist**
4+
5+
- [ ] The documententation has been updated
6+
- [ ] If the PR solves a specific issue, it is set to be closed on merge.

.travis.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,37 @@ addons:
1414
matrix:
1515
include:
1616
- os: linux
17+
name: "CMake Release Test on Linux"
1718
env: CMAKE_BUILD_TYPE=Release
1819
- os: linux
20+
name: "Makefile Test on Linux"
21+
script:
22+
- rm -f make.inc
23+
- cp make.inc.example make.inc
24+
- make FFLAGS="-fimplicit-none -frecursive -fcheck=all" -s -j2 all
25+
- make -j2 lapack_install
26+
- os: linux
27+
name: "CMake Coverage Test on Linux"
1928
env: CMAKE_BUILD_TYPE=Coverage
2029
- os: osx
30+
name: "CMake Release Test on macOS Big Sur"
31+
osx_image: xcode12.3
2132
env: CMAKE_BUILD_TYPE=Release
22-
before_install:
23-
- brew update > /dev/null
24-
- brew install gcc > /dev/null
2533
- os: osx
26-
env: CMAKE_BUILD_TYPE=Coverage
27-
before_install:
28-
- brew update > /dev/null
29-
- brew install gcc > /dev/null
34+
osx_image: xcode12.3
35+
name: "Makefile Test on on macOS Big Sur"
36+
script:
37+
- rm -f make.inc
38+
- cp make.inc.example make.inc
39+
- make FFLAGS="-fimplicit-none -frecursive -fcheck=all" -s -j2 all
40+
- make -j2 lapack_install
3041

31-
script:
42+
before_script:
3243
- export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
3344
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
3445
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
46+
47+
script:
3548
- export SRC_DIR=$(pwd)
3649
- export BLD_DIR=${SRC_DIR}/lapack-travis-bld
3750
- export INST_DIR=${SRC_DIR}/../lapack-travis-install
@@ -46,6 +59,9 @@ script:
4659
-DLAPACKE:BOOL=ON
4760
-DBUILD_TESTING=ON
4861
-DLAPACKE_WITH_TMG:BOOL=ON
62+
-DBUILD_SHARED_LIBS:BOOL=ON
63+
-DCMAKE_Fortran_FLAGS:STRING="-fimplicit-none -frecursive -fcheck=all"
64+
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
4965
${SRC_DIR}
5066
- ctest -D ExperimentalStart
5167
- ctest -D ExperimentalConfigure

BLAS/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ add_subdirectory(SRC)
22
if(BUILD_TESTING)
33
add_subdirectory(TESTING)
44
endif()
5-
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/blas.pc @ONLY)
5+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${BLASLIB}.pc @ONLY)
66
install(FILES
7-
${CMAKE_CURRENT_BINARY_DIR}/blas.pc
7+
${CMAKE_CURRENT_BINARY_DIR}/${BLASLIB}.pc
88
DESTINATION ${PKG_CONFIG_DIR}
99
COMPONENT Development
1010
)

BLAS/SRC/CMakeLists.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,22 @@
2828
#---------------------------------------------------------
2929
# Level 1 BLAS
3030
#---------------------------------------------------------
31-
set(SBLAS1 isamax.f sasum.f saxpy.f scopy.f sdot.f snrm2.f
32-
srot.f srotg.f sscal.f sswap.f sdsdot.f srotmg.f srotm.f)
3331

34-
set(CBLAS1 scabs1.f scasum.f scnrm2.f icamax.f caxpy.f ccopy.f
35-
cdotc.f cdotu.f csscal.f crotg.f cscal.f cswap.f csrot.f)
32+
set(SBLAS1 isamax.f sasum.f saxpy.f scopy.f sdot.f snrm2.f90
33+
srot.f srotg.f90 sscal.f sswap.f sdsdot.f srotmg.f srotm.f)
3634

37-
set(DBLAS1 idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f
38-
drot.f drotg.f dscal.f dsdot.f dswap.f drotmg.f drotm.f)
35+
set(CBLAS1 scabs1.f scasum.f scnrm2.f90 icamax.f caxpy.f ccopy.f
36+
cdotc.f cdotu.f csscal.f crotg.f90 cscal.f cswap.f csrot.f)
3937

40-
set(ZBLAS1 dcabs1.f dzasum.f dznrm2.f izamax.f zaxpy.f zcopy.f
41-
zdotc.f zdotu.f zdscal.f zrotg.f zscal.f zswap.f zdrot.f)
38+
set(DBLAS1 idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f90
39+
drot.f drotg.f90 dscal.f dsdot.f dswap.f drotmg.f drotm.f)
4240

43-
set(CB1AUX isamax.f sasum.f saxpy.f scopy.f snrm2.f sscal.f)
41+
set(ZBLAS1 dcabs1.f dzasum.f dznrm2.f90 izamax.f zaxpy.f zcopy.f
42+
zdotc.f zdotu.f zdscal.f zrotg.f90 zscal.f zswap.f zdrot.f)
4443

45-
set(ZB1AUX idamax.f dasum.f daxpy.f dcopy.f dnrm2.f dscal.f)
44+
set(CB1AUX isamax.f sasum.f saxpy.f scopy.f snrm2.f90 sscal.f)
45+
46+
set(ZB1AUX idamax.f dasum.f daxpy.f dcopy.f dnrm2.f90 dscal.f)
4647

4748
#---------------------------------------------------------------------
4849
# Auxiliary routines needed by both the Level 2 and Level 3 BLAS
@@ -97,10 +98,10 @@ if(BUILD_COMPLEX16)
9798
endif()
9899
list(REMOVE_DUPLICATES SOURCES)
99100

100-
add_library(blas ${SOURCES})
101+
add_library(${BLASLIB} ${SOURCES})
101102
set_target_properties(
102-
blas PROPERTIES
103+
${BLASLIB} PROPERTIES
103104
VERSION ${LAPACK_VERSION}
104105
SOVERSION ${LAPACK_MAJOR_VERSION}
105106
)
106-
lapack_install_library(blas)
107+
lapack_install_library(${BLASLIB})

BLAS/SRC/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
TOPSRCDIR = ../..
5757
include $(TOPSRCDIR)/make.inc
5858

59+
.SUFFIXES: .F .f90 .o
60+
.F.o:
61+
$(FC) $(FFLAGS) -c -o $@ $<
62+
.f90.o:
63+
$(FC) $(FFLAGS) -c -o $@ $<
64+
5965
.PHONY: all
6066
all: $(BLASLIB)
6167

BLAS/SRC/caxpy.f

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
*> \author Univ. of Colorado Denver
7373
*> \author NAG Ltd.
7474
*
75-
*> \date November 2017
76-
*
7775
*> \ingroup complex_blas_level1
7876
*
7977
*> \par Further Details:
@@ -88,10 +86,9 @@
8886
* =====================================================================
8987
SUBROUTINE CAXPY(N,CA,CX,INCX,CY,INCY)
9088
*
91-
* -- Reference BLAS level1 routine (version 3.8.0) --
89+
* -- Reference BLAS level1 routine --
9290
* -- Reference BLAS is a software package provided by Univ. of Tennessee, --
9391
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
94-
* November 2017
9592
*
9693
* .. Scalar Arguments ..
9794
COMPLEX CA

BLAS/SRC/ccopy.f

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@
6565
*> \author Univ. of Colorado Denver
6666
*> \author NAG Ltd.
6767
*
68-
*> \date November 2017
69-
*
7068
*> \ingroup complex_blas_level1
7169
*
7270
*> \par Further Details:
@@ -81,10 +79,9 @@
8179
* =====================================================================
8280
SUBROUTINE CCOPY(N,CX,INCX,CY,INCY)
8381
*
84-
* -- Reference BLAS level1 routine (version 3.8.0) --
82+
* -- Reference BLAS level1 routine --
8583
* -- Reference BLAS is a software package provided by Univ. of Tennessee, --
8684
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
87-
* November 2017
8885
*
8986
* .. Scalar Arguments ..
9087
INTEGER INCX,INCY,N

0 commit comments

Comments
 (0)