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
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
f874465bb8
Use cmake to build OpenBLAS GENERIC Target on MSVC x86 64-bit.
Disable CBLAS and LAPACK.
10 years ago
Hank Anderson
1d183dcda8
Added lapacke sources.
11 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.
11 years ago
Hank Anderson
d60b49e5c5
Turned off uninizialized variable warning when compiling lapack-netlib.
11 years ago
Hank Anderson
2828f6630c
Added SMP sources to COMMONOBJS.
11 years ago
Hank Anderson
a0aeda6187
Added function to set defines for the object names (e.g. -DNAME=dgemm).
11 years ago
Hank Anderson
84b3d760c4
Converted rest of Makefile.system to system.cmake.
11 years ago
Hank Anderson
0beea3a5a5
Converted LAPACK flags from Makefile.system.
11 years ago
Hank Anderson
0ccfa60a53
Changed fortran compiler name to be uppercase and stripped of path/ext.
11 years ago
Hank Anderson
30be551502
Corrected fortran compiler name variables.
Fixed some typos.
Updated c_check to set ARCH and BINARY64/32.
Added version variables.
11 years ago
Hank Anderson
e818ace11a
Ported more of Makefile.system to CMake.
11 years ago
Hank Anderson
2d5b442f5b
Ported Fortran configuration code from Makefile.system to fc.cmake.
11 years ago
Hank Anderson
af11aff309
Ported C compiler settings from Makefile.system into new cmake file.
11 years ago
Hank Anderson
e66aa5f3b7
Ported arch dependent settings from Makefile.system to new cmake file.
11 years ago
Hank Anderson
31cf22cb4b
Ported OS settings from Makefile.system into new cmake file.
11 years ago
Hank Anderson
8ede4a8da4
getarch now compiles and sets config.h defines properly.
Still isn't parsed into CMake variables, and getarch_2 needs to
get the same treatment.
11 years ago
Hank Anderson
5eefe18ae4
Added CMakeLists.txt for the first of the BLAS folders.
It only does the double precision compile currently.
I realized I didn't finish converting Makefile.system yet, so I made
a note of that.
11 years ago
Hank Anderson
f4d1e7a265
Hardcoded NUM_CORES to get system.cmake working.
11 years ago
Hank Anderson
e5c47e44f6
First pass at converting a few makefiles to CMake.
11 years ago