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
f874465bb8
Use cmake to build OpenBLAS GENERIC Target on MSVC x86 64-bit.
Disable CBLAS and LAPACK.
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.
11 years ago
Hank Anderson
a8002b0c5f
Separated getarch ASM file when using MSVC.
11 years ago
Hank Anderson
189fadfde0
Started implementing kernel/Makefile in cmake.
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
e66aa5f3b7
Ported arch dependent settings from Makefile.system to new cmake file.
11 years ago
Hank Anderson
d3dcdddf75
Moved functions into util cmake file.
11 years ago
Hank Anderson
dbdca7bf0c
Added first pass at driver/level3 Makefile conversion.
Added a rather convoluted CMake function to find all combinations
of a given list. This will be useful for the object files that are
compiled multiple times with different combinations of preprocessor
definitions.
11 years ago
Hank Anderson
dabaecb2bc
Moved getarch parsing code into a function.
11 years ago
Hank Anderson
8c23965da3
prebuild.cmake now reads the output from getarch into CMake vars.
11 years ago
Hank Anderson
61f21b5d03
getarch_2nd now appends its output to config.h/config_kernel.h
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
1c5b6bb4f7
Added CORE define to config.h in prebuild.cmake (temporarily).
11 years ago
Hank Anderson
c5f5c7a076
Updated c_check OS/compiler/bits detection.
11 years ago
Hank Anderson
d2d15e522f
Started converting lib target to CMake.
The main part of this target is looping through the BLAS subfolders
and calling make on them. Need to add CMakeLists.txt for each of these
subfolders.
11 years ago
Hank Anderson
f4d1e7a265
Hardcoded NUM_CORES to get system.cmake working.
11 years ago
Hank Anderson
0f6bec0a32
cmake.prebuild now compiles getarch.
Doesn't actually run it yet.
11 years ago
Hank Anderson
e5c47e44f6
First pass at converting a few makefiles to CMake.
11 years ago