This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
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
handle missing lack of fortran compiler more gracefully
tags/v0.3.11^2
Martin Kroeker
GitHub
6 years ago
parent
d8e2edfc20
commit
a847d00366
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-1
cmake/f_check.cmake
+ 8
- 1
cmake/f_check.cmake
View File
@@ -21,7 +21,14 @@
# NEED2UNDERSCORES
if (NOT NO_LAPACK)
enable_language(Fortran)
check_language(Fortran)
if(CMAKE_Fortran_COMPILER)
enable_language(Fortran)
else()
message(STATUS "No Fortran compiler found, can build only BLAS but not LAPACK")
set (NOFORTRAN 1)
set (NO_LAPACK 1)
endif()
else()
include(CMakeForceCompiler)
CMAKE_FORCE_Fortran_COMPILER(gfortran GNU)
Write
Preview
Loading…
Cancel
Save