John Biddiscombe
053044ae4d
Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR
If OpenBLAS is built using add_subdirectory(OpenBlas) as part of another project
then the paths set by CMAKE_XXX_DIR are relative to the parent project
and not the OpenBLAS project.
9 years ago
Zhang Xianyi
0e2b92e216
Added mising lapacke files for CMake.
9 years ago
Benyu Zhang
4a1263f609
Fix the source paths
9 years ago
Zhang Xianyi
53b6023a6c
Fix cmake bug on MSVC 32-bit.
10 years ago
Zhang Xianyi
309875de3c
Fix cmake bug on x86 32-bit.
e.g. Build 32-bit on 64-bit Linux.
cmake -DBINARY=32
10 years ago
Zhang Xianyi
17ee2237c3
Fixed cmake bug with NO_LAPACK=1
10 years ago
Zhang Xianyi
f8eba3d548
Fixed cmake build bugs on Linux.
10 years ago
Zhang Xianyi
40ab5cfc50
Merge branch 'hpanderson_cmake' into cmake
10 years ago
Zhang Xianyi
f874465bb8
Use cmake to build OpenBLAS GENERIC Target on MSVC x86 64-bit.
Disable CBLAS and LAPACK.
10 years ago
Hank Anderson
19664f3ef4
Added missing lapacke.cmake file.
10 years ago
Zhang Xianyi
7ac7e147d4
Fixed cmake building bugs on Linux. Disable LAPACK by default.
10 years ago
Hank Anderson
1d183dcda8
Added lapacke sources.
10 years ago
Hank Anderson
504cdb10ed
Added check for MSVC before enabling fortran.
Currently forcing gfortran, instead of assuming ifort.
10 years ago
Hank Anderson
a8002b0c5f
Separated getarch ASM file when using MSVC.
10 years ago
Hank Anderson
0d8e227ea7
Changed strategy for setting preprocessor definitions.
Instead of generating separate object files for each permutation of
defines for a source file, GenerateNamedObjects now writes an entirely
new source file and inserts the defines as #define c statements.
This solves a problem I ran into with ar.exe where it was refusing to
link objects that had the same filename despite having different paths.
10 years ago
Hank Anderson
1b7f427401
Added conj gemv objects for complex build.
10 years ago
Hank Anderson
a6116e5859
Added some more complex-only objects.
10 years ago
Hank Anderson
8a143516e3
Added alternate_name to a couple of the name mangling schemes.
Added zherk_k sources to driver/level3.
10 years ago
Hank Anderson
714638c187
Added some TRMM objects for complex types.
10 years ago
Hank Anderson
e27c372e53
Fixed reuse of float_char from parent loop.
Fixed in/it/on/otcopy names.
10 years ago
Hank Anderson
f3f2b3d768
Added complex and single netlib-lapack fortran sources to lapack.cmake.
10 years ago
Hank Anderson
43725b82c5
ParseMakefileVars now replaces Makefile vars with CMake vars.
10 years ago
Hank Anderson
cebc07cebd
ParseMakefileVars now recursively parses included makefiles.
10 years ago
Hank Anderson
33c5e8db7f
Added a helper function for setting the L1 kernel defaults.
Added loop to build objects with different KERNEL defines.
10 years ago
Hank Anderson
67e39bd8fb
Added mangled complex filenames to interface and lapack CMakeLists.txt.
10 years ago
Hank Anderson
9eb1499095
Added another param to GenerateNamedObjects to mangle complex source names.
There are a lot of sources for complex float types that are the same
names as the real sources, except with z prepended.
10 years ago
Hank Anderson
4662a0b13a
Changed generate functions to iterate through a list of float types.
This will generate obj files for SINGLE/DOUBLE/COMPLEX/DOUBLE COMPLEX.
10 years ago
Hank Anderson
c94fe71278
Removed incoming-stack-boundary for MSVC.
Made float type optional for GenerateNamedObjects.
Called GenerateNamedObjects for a couple of driver/others files that
needed NAME/CNAME set.
10 years ago
Hank Anderson
d60b49e5c5
Turned off uninizialized variable warning when compiling lapack-netlib.
10 years ago
Hank Anderson
64b5a0ef84
Added AUX files from lapack-netlib.
10 years ago
Hank Anderson
162791e30e
Added common objects from kernel Makefile.
10 years ago
Hank Anderson
96cf6779ca
Added DLA sources from lapack-netlib.
Can't use the lapack-netlib cmake files, since they are designed to
build a complete lapack/blas library. They have their own fortran
detection and flag setup and so on. Instead I'll just recreate the
makefiles I need.
Fixed a typo in the NAME defines.
10 years ago
Hank Anderson
e8c39138c6
Removed return value from GenerateNamedObjects.
It sets DBLAS_OBJS directly to save a bunch of list appending in the
CMakeLists.txt files.
10 years ago
Hank Anderson
7fa5c4e2fd
Fixed some case issues with ARCH.
Added some kernel and driver/others objects.
10 years ago
Hank Anderson
6b5d26e07b
Added SMP sources to level2 CMakeLists.txt.
10 years ago
Hank Anderson
13d2d48e67
Added yet another naming scheme for lapack functions.
10 years ago
Hank Anderson
189fadfde0
Started implementing kernel/Makefile in cmake.
10 years ago
Hank Anderson
627d5e7401
Added SMP objects to driver/level3.
10 years ago
Hank Anderson
943fa2fb58
Fixed object names in level2.
10 years ago
Hank Anderson
1b62a4f3c9
Changed some function parameters to optional.
10 years ago
Hank Anderson
461e691127
Codes when define is absent are now a parameter to AllCombinations.
The level3 object names should now be correct.
10 years ago
Hank Anderson
cfaf1c678f
Added option to append define codes with an underscore.
Fixed the code array not getting reset on subsequent AllCombinations
calls.
10 years ago
Hank Anderson
0d7bad1f35
Changed GenerateObjects to append combination codes (e.g. dtrmm_TU).
10 years ago
Hank Anderson
2828f6630c
Added SMP sources to COMMONOBJS.
10 years ago
Hank Anderson
58cff2fed8
Added CBLAS define/naming convention to GenerateNamedObjects.
10 years ago
Hank Anderson
5690cf3f0e
Added override for function names in GenerateNamedObjects.
The BLAS interface folder should now be generated the correct objects
for the DOUBLE case.
10 years ago
Hank Anderson
a0aeda6187
Added function to set defines for the object names (e.g. -DNAME=dgemm).
10 years ago
Hank Anderson
84b3d760c4
Converted rest of Makefile.system to system.cmake.
10 years ago
Hank Anderson
0beea3a5a5
Converted LAPACK flags from Makefile.system.
10 years ago
Hank Anderson
560c96a9a7
Fixed newlines in some cmake files.
10 years ago