summaryrefslogtreecommitdiff
path: root/CBLAS
AgeCommit message (Collapse)AuthorFilesLines
2017-04-16Replace last occurrences of `include` install pathsDavid Seifert2-3/+4
* Distributions might need to change the header dir * Also change the template paths in the `.pc` files to the idiomatic CMake `GNUInstallDirs` full paths, which are always correct, regardless of whether the user specified relative or absolute paths. This makes the build system somewhat easier and more idiomatic.
2017-02-06Simplify the clean targetsKyle Guinn4-23/+29
cleanobj: Remove object files cleanlib: Remove libraries cleanexe: Remove test and example executables cleantest: Remove test output and core dumps clean: All of the above
2017-02-05Use $(MAKE) -C for recursionKyle Guinn1-7/+7
2017-02-05Fix missing or unnecessary prerequisitesKyle Guinn2-31/+16
2017-02-04Add libraries as prerequisitesKyle Guinn3-44/+44
Use the automatic variable $^ to refer to all prerequisites when linking or creating an archive.
2017-02-04Update commentsKyle Guinn2-20/+20
2017-02-03Version the CBLAS and LAPACKE librariesKyle Guinn1-0/+6
2017-02-03Use the BUILD_* option variables for BLAS and CBLASKyle Guinn1-4/+4
Removes duplication and allows error checking to be done in one spot. Moved most of the status printouts to where the options are defined.
2017-02-03Use appending to create lists of source filesKyle Guinn1-17/+7
Allows any combination of types/precisions to be built at once. Name the lists "SOURCES" instead of "ALLOBJ" since they contain lists of source files, not object files. Fix problems in BLAS: Was missing the ${CBLAS3} file set when building with BLAS_COMPLEX. Was adding ${BLASLIB} as if it were a source file.
2017-02-02Sanitize the installation directoriesKyle Guinn1-3/+3
Be consistent and use CMAKE_INSTALL_*DIR variables throughout, instead of a mix of CMAKE_INSTALL_PREFIX with appended text.
2017-02-02Fix overlinking CBLAS dependenciesKyle Guinn4-14/+14
2017-01-22Avoid rebuilding CBLAS library and examplesKyle Guinn3-17/+19
Use targets that are actual filenames so that make can determine if the target is already up-to-date. Since $(CBLASLIB) is a relative path, delete it from a Makefile at the right depth.
2017-01-20Update commentsKyle Guinn2-160/+63
Fix missing $(errhand) on the all3 Makefile target.
2016-12-06fix #3cmoha1-2/+2
2016-12-06bug: fixed compilation errorcmoha1-1/+1
2016-11-25merging: Various cleanups to makefiles #84Julie11-194/+136
Contribution by @turboencabulator Closing #84
2016-11-15bug: fixed compilation errorcmoha1-1/+1
2016-10-23Remove duplicate definitionsJulie1-2/+0
#67 by turboencabulator
2016-10-05Improve pkgconfig file generationKyle Guinn2-7/+7
The prefix and libdir lines at the top of the .pc files are variable declarations. Set these variables appropriately, reference them in the rest of the file, and prevent cmake from expanding ${}-style references. Switch back to @prefix@ and @libdir@ for compatibility with autoconf. Make the descriptions consistent and update the URLs.
2016-09-05Merge pull request #39 from antonio-rojas/masterlangou1-3/+3
Fix cblas and lapacke pkgconfig files
2016-09-01Update cblas.pc.inAntonio Rojas1-3/+3
2016-08-23Fix CBLAS testingJulien Schueller1-2/+2
2016-07-11Making FORTRAN compilers happy. Replacing STEMP by STEMP(1) in some subroutineJulien Langou2-4/+4
calls. Reported by Hans Johnson. Thanks Hans. Julien.
2016-07-11Merge branch 'FixInstalledPathingWithLib64' of ↵Julien Langou2-5/+5
https://github.com/hjmjohnson/lapack into hjmjohnson-FixInstalledPathingWithLib64
2016-07-10Remove CMake-language block-end command argumentsHans Johnson3-7/+7
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. NOTE: MUST USE GNU compliant version of sed Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \ | xargs -0 gsed -i -f convert.sed \ && rm convert.sed
2016-07-10STYLE: Convert CMake-language commands to lower caseHans Johnson3-15/+15
Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: NOTE: MUST USE GNU compliant version of sed cmake --help-command-list \ | grep -v "cmake version" \ | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \ | xargs -0 gsed -i -f convert.sed \ && rm convert.sed
2016-07-09STYLE: Remove trailing whitespace in Fortran filesHans Johnson11-182/+182
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier. =SCRIPT==================================================================== if which tempfile &>/dev/null; then TEMPMAKER=tempfile elif which mktemp &>/dev/null; then TEMPMAKER=mktemp else echo "Cannot find tempfile program." 2>&1 exit 1 fi MYTEMP=$($TEMPMAKER) trap 'rm -f $MYTEMP' SIGINT SIGTERM stripit() { echo "stripping $1" sed 's/[ \t]*$//' "$1" > $MYTEMP cp $MYTEMP "$1" } if [ $# -gt 0 ]; then while [ "$1" != "" ]; do stripit $1 shift done else while read -t 2; do stripit $REPLY done fi rm $MYTEMP =================================================
2016-07-09STYLE: Remove trailing whitespace in MISC filesHans Johnson7-50/+50
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier. =SCRIPT==================================================================== if which tempfile &>/dev/null; then TEMPMAKER=tempfile elif which mktemp &>/dev/null; then TEMPMAKER=mktemp else echo "Cannot find tempfile program." 2>&1 exit 1 fi MYTEMP=$($TEMPMAKER) trap 'rm -f $MYTEMP' SIGINT SIGTERM stripit() { echo "stripping $1" sed 's/[ \t]*$//' "$1" > $MYTEMP cp $MYTEMP "$1" } if [ $# -gt 0 ]; then while [ "$1" != "" ]; do stripit $1 shift done else while read -t 2; do stripit $REPLY done fi rm $MYTEMP =================================================
2016-07-09STYLE: Remove trailing whitespace in C filesHans Johnson168-1751/+1751
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier. =SCRIPT==================================================================== if which tempfile &>/dev/null; then TEMPMAKER=tempfile elif which mktemp &>/dev/null; then TEMPMAKER=mktemp else echo "Cannot find tempfile program." 2>&1 exit 1 fi MYTEMP=$($TEMPMAKER) trap 'rm -f $MYTEMP' SIGINT SIGTERM stripit() { echo "stripping $1" sed 's/[ \t]*$//' "$1" > $MYTEMP cp $MYTEMP "$1" } if [ $# -gt 0 ]; then while [ "$1" != "" ]; do stripit $1 shift done else while read -t 2; do stripit $REPLY done fi rm $MYTEMP =================================================
2016-07-09STYLE: Remove trailing whitespace in CMake filesHans Johnson3-24/+24
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier.
2016-07-09BUG: path failure for find_package config filesHans Johnson2-5/+5
CMake Error at src/lapack-install/lib64/cmake/lapacke-3.6.1/lapacke-config.cmake:13 (include): include could not find load file: src/lapack-install/lib64/cmake/lapacke-3.6.1/lapacke-targets.cmake Call Stack (most recent call first): CMakeLists.txt:26 (find_package) -- src/lapack-install/lib64/cmake/lapacke-3.6.1 -- Configuring incomplete, errors occurred! See also "src/lapackTest-bld/CMakeFiles/CMakeOutput.log". The file was installed in: src/lapack-install/lib/cmake/lapacke-3.6.1/lapacke-targets.cmake ^^ - Missing lib suffix of 64
2016-07-05Merge pull request #3 from hjmjohnson/FixFindPackgePathsjulielangou1-3/+3
BUG: Fix pathing to include files
2016-07-05COMP: Improve introspection and header configurationHans Johnson2-15/+11
Use CMake capabilities to test if the specified fortran and C compilers are compatible. Fail early if they are determined to be incompatible. Use CMake capabilities to generate platform specific header files, If CMake FortranCInterface_HEADER function fails to identify FortranCInterface_GLOBAL_FOUND or FortranCInterface_MODULE_FOUND, then fall back to the statically generated file that is used by Makefiles.
2016-07-05BUG: Fix pathing to include filesHans Johnson1-3/+3
During building of external packages, only the build tree or install tree files should be used (the source tree may not be available from the binary package). Set to use the build tree locations for the configuration files.
2016-07-04STYLE: Change source template files to .in extensionHans Johnson2-1/+1
The cblas_mangling_with_flags.h and lapacke_mangling_with_flags.h are template files that are not used directly. They need to be configured (i.e. copied) to lapacke_mangling.h and cblas_mangling.h header files that are used. These renamings make the intent of these files more clearly reported. The file LAPACKE/include/lapacke_mangling.h should not be stored in the repository because it should be generated (copied from above) at build time.
2016-06-04Fix empty cmake replaceJulien Schueller1-1/+0
2016-01-08Committing Sébastien Villemot patches (5) sent on Jan 6th 2016 to LAPACK ↵julie6-14/+18
Mailing list From Sébastien Villemot: I attach to this message 5 patches that are currently applied to the Debian package for LAPACK, and that I think could be usefully merged in the LAPACK SVN tree. The patches include fixes for old outstanding bugs in the CBLAS test programs, fixes for the build system, and fixes for various typos. Each patch file contains a more detailed description of its purpose.
2015-11-18Fix typojulie1-1/+1
2015-11-18Fix upper case issue in CMakeLists reported by Julien Shueller on Nov 17th ↵julie1-2/+2
to Julie In CBLAS/CMakeLists.txt: configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMAKE/cblas-config-version.cmake.in ${LAPACK_BINARY_DIR}/cblas-config-version.cmake @ONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMAKE/cblas-config-build.cmake.in ${LAPACK_BINARY_DIR}/cblas-config.cmake @ONLY) The /CMAKE subdirectory should be lowercase, I guess some work on OSX which (still!) has a case-insensitive file-system.
2015-11-15Updating version numberjulie2-2/+2
2015-01-10Applied Jakub's CBLAS patch sent on Jan 9thjulie15-22/+23
Netlib CBLAS can be put on top of BLAS with 64-bit integers. It can be accomplished using the flag "WeirdNEC" :) It basically redefines int to long, but at the same time, it had multiple bugs.
2014-10-08Fixing folder uppercase / lower case issue - Thank you Donjulie228-0/+54464