Skip to content

Commit d502326

Browse files
authored
Merge pull request #3614 from martin-frbg/clapackfix
Makefile fixes related to C_LAPACK, plus Travis CI fixes
2 parents ee42445 + 96ddadf commit d502326

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ matrix:
2525
# - BTYPE="BINARY=64"
2626
#
2727
# - <<: *test-ubuntu
28-
os: linux-ppc64le
28+
os: linux
29+
arch: ppc64le
2930
before_script: &common-before
3031
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32"
3132
script:
@@ -43,6 +44,7 @@ matrix:
4344
arch: s390x
4445
before_script:
4546
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=Z13 NUM_THREADS=32"
47+
- sudo apt-get install --only-upgrade binutils
4648
env:
4749
# for matrix annotation only
4850
- TARGET_BOX=IBMZ_LINUX
@@ -55,6 +57,7 @@ matrix:
5557
compiler: clang
5658
before_script:
5759
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=Z13 NUM_THREADS=32"
60+
- sudo apt-get install --only-upgrade binutils
5861
env:
5962
# for matrix annotation only
6063
- TARGET_BOX=IBMZ_LINUX
@@ -269,9 +272,9 @@ matrix:
269272
# - CFLAGS="-O2 -mno-thumb -Wno-macro-redefined -isysroot /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk -arch armv7 -miphoneos-version-min=5.1"
270273
# - BTYPE="TARGET=ARMV7 HOSTCC=clang NOFORTRAN=1"
271274

272-
- &test-graviton2
275+
- &test-neoversen1
273276
os: linux
274-
arch: arm64-graviton2
277+
arch: arm64
275278
dist: focal
276279
group: edge
277280
virt: lxd

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ ifeq ($(CORE), UNKNOWN)
163163
$(error OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.)
164164
endif
165165
ifeq ($(NOFORTRAN), 1)
166-
$(info OpenBLAS: Detecting fortran compiler failed. Cannot compile LAPACK. Only compile BLAS.)
166+
$(info OpenBLAS: Detecting fortran compiler failed. Can only compile BLAS and f2c-converted LAPACK.)
167167
endif
168168
ifeq ($(NO_STATIC), 1)
169169
ifeq ($(NO_SHARED), 1)

Makefile.system

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,9 +1041,11 @@ FCOMMON_OPT += -frecursive
10411041
# work around ABI problem with passing single-character arguments
10421042
FCOMMON_OPT += -fno-optimize-sibling-calls
10431043
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
1044+
ifneq ($(NOFORTRAN), 1)
10441045
ifneq ($(NO_LAPACK), 1)
10451046
EXTRALIB += -lgfortran
10461047
endif
1048+
endif
10471049
ifdef NO_BINARY_MODE
10481050
ifeq ($(ARCH), $(filter $(ARCH),mips64))
10491051
ifdef BINARY64

lapack-netlib/SRC/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ TOPSRCDIR = ..
5858
include $(TOPSRCDIR)/make.inc
5959

6060
ifneq ($(C_LAPACK), 1)
61-
$(info fortran... C_LAPACK ist $(C_LAPACK))
6261
.SUFFIXES:
6362
.SUFFIXES: .f .o
6463
.f.o:
@@ -67,7 +66,6 @@ $(info fortran... C_LAPACK ist $(C_LAPACK))
6766
.F.o:
6867
$(FC) $(FFLAGS) -c -o $@ $<
6968
else
70-
$(info C_LAPACK ist $(C_LAPACK))
7169
.SUFFIXES: .c .o
7270
.c.o:
7371
$(CC) $(CFLAGS) -c -o $@ $<

0 commit comments

Comments
 (0)