This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Fix Makefile to support OpenMP on AIX for xlc (clang) with xlf.
tags/v0.3.27
Chip Kerchner
1 year ago
parent
d1343302bd
commit
61c8e19f95
3 changed files
with
16 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
ctest/Makefile
+3
-0
test/Makefile
+10
-0
utest/Makefile
+ 3
- 0
ctest/Makefile
View File
@@ -218,6 +218,9 @@ ifeq ($(F_COMPILER), IBM)
ifeq ($(C_COMPILER), GCC)
CEXTRALIB += -lgomp
endif
ifeq ($(C_COMPILER), CLANG)
CEXTRALIB += -lomp
endif
endif
endif
+ 3
- 0
test/Makefile
View File
@@ -276,6 +276,9 @@ ifeq ($(F_COMPILER), IBM)
ifeq ($(C_COMPILER), GCC)
CEXTRALIB += -lgomp
endif
ifeq ($(C_COMPILER), CLANG)
CEXTRALIB += -lomp
endif
endif
endif
+ 10
- 0
utest/Makefile
View File
@@ -45,8 +45,18 @@ endif
all : run_test
ifeq ($(OSNAME), AIX)
ifeq ($(USE_OPENMP), 1)
$(UTESTBIN): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB)
else
$(UTESTBIN): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
endif
else
$(UTESTBIN): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
endif
run_test: $(UTESTBIN)
ifneq ($(CROSS), 1)
Write
Preview
Loading…
Cancel
Save