Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
03ceb3ec
Commit
03ceb3ec
authored
Oct 07, 2013
by
Davis King
Browse files
Fixed some issues with the cmake files for linking with 64bit intel mkl
parent
5e14775e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
dlib/cmake_find_blas.txt
dlib/cmake_find_blas.txt
+11
-1
No files found.
dlib/cmake_find_blas.txt
View file @
03ceb3ec
...
@@ -181,7 +181,7 @@ elseif(WIN32)
...
@@ -181,7 +181,7 @@ elseif(WIN32)
"C:/Program Files (x86)/Intel/Composer XE/mkl/lib/intel64"
"C:/Program Files (x86)/Intel/Composer XE/mkl/lib/intel64"
"C:/Program Files (x86)/Intel/Composer XE/compiler/lib/intel64"
"C:/Program Files (x86)/Intel/Composer XE/compiler/lib/intel64"
)
)
find_library(mkl_intel mkl_intel_
i
lp64 ${mkl_search_path})
find_library(mkl_intel mkl_intel_lp64 ${mkl_search_path})
else()
else()
set( mkl_search_path
set( mkl_search_path
"C:/Program Files (x86)/Intel/Composer XE/mkl/lib/ia32"
"C:/Program Files (x86)/Intel/Composer XE/mkl/lib/ia32"
...
@@ -204,6 +204,16 @@ elseif(WIN32)
...
@@ -204,6 +204,16 @@ elseif(WIN32)
set(blas_found 1)
set(blas_found 1)
set(lapack_found 1)
set(lapack_found 1)
message(STATUS "Found Intel MKL BLAS/LAPACK library")
message(STATUS "Found Intel MKL BLAS/LAPACK library")
if (MSVC)
# need to set /bigobj when statically linking with the MKL on
# visual studio or it doesn't work right.
if (NOT CMAKE_CXX_FLAGS MATCHES "/bigobj")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj"
CACHE STRING "Flags used by the compiler during all C++ builds."
FORCE)
endif ()
endif()
endif()
endif()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment