Ruiyang Wu
02fd1df10b
CMake: Pass `OpenMP` compiler and linker flags through CMake targets
Using `OpenMP::OpenMP_LANG` targets for CMake is less error-prone than
passing the compiler and linker flags manually. Furthermore, it allows
the user to customize those flags by setting `OpenMP_LANG_FLAGS`,
`OpenMP_LANG_LIB_NAMES`, and `OpenMP_omp_LIBRARY`.
10 months ago
Martin Kroeker
5f6a609253
Add sbgemv
4 years ago
Martin Kroeker
887e00fd7f
Adapt for supporting only a subset of variable types
5 years ago
Martin Kroeker
3287848c8f
Support building only seleced types
5 years ago
Sacha Refshauge
37858d1146
Fix threading usage in CMake: s/SMP/USE_THREAD/
8 years ago
Isuru Fernando
d245caa49a
Support out-of-source build
8 years ago
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
d8392c1245
Fixe cmake config bugs.
10 years ago
Zhang Xianyi
f8eba3d548
Fixed cmake build bugs on Linux.
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
ab7043373f
Fixed bug generating trmv complex source names.
11 years ago
Hank Anderson
0553476fba
Added TRANS defines for complex sources in lapack.
11 years ago
Hank Anderson
2416d9dbac
Fixed TRANSA defines for complex sources in driver/level2.
11 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.
11 years ago
Hank Anderson
1b7f427401
Added conj gemv objects for complex build.
11 years ago
Hank Anderson
fb5d5bb971
Added defines for complex trmv.
11 years ago
Hank Anderson
33c5e8db7f
Added a helper function for setting the L1 kernel defaults.
Added loop to build objects with different KERNEL defines.
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
e8c39138c6
Removed return value from GenerateNamedObjects.
It sets DBLAS_OBJS directly to save a bunch of list appending in the
CMakeLists.txt files.
11 years ago
Hank Anderson
2f59135eb6
Added gemv to level2 CMakeLists.txt.
11 years ago
Hank Anderson
6b5d26e07b
Added SMP sources to level2 CMakeLists.txt.
11 years ago
Hank Anderson
943fa2fb58
Fixed object names in level2.
11 years ago
Hank Anderson
0d7bad1f35
Changed GenerateObjects to append combination codes (e.g. dtrmm_TU).
11 years ago
Hank Anderson
5057a4b4df
Added openblas add_library call that uses DBLAS_OBJS ojbects.
11 years ago
Hank Anderson
a6cf8aafc0
Updated level3/CMakeLists with correct defines using all combos.
11 years ago
Hank Anderson
8c23965da3
prebuild.cmake now reads the output from getarch into CMake vars.
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
9a508abdc7
Added first pass at driver/level2 makefile conversion.
11 years ago